Attention-based Method for Design Pattern DetectionArtifact Award CandidateResearch Paper
Design patterns are standard solutions to recurrent problems in software engineering. The use of design patterns helps developers improve software quality. However, when integrating design patterns into their systems, software developers usually do not document their use. To this end, the use of an automatic approach for their detection may accelerate program comprehension, assist developers in software refactoring, and reduce efforts during the maintenance task. In this paper, we propose an attention-based approach for design pattern detection. The proposed approach utilizes an automatic feature extraction step based on the transformer architecture with an attention mechanism. Based on an unsupervised approach, this step learns from source code to identify code attributes and then produces embedding vectors. These vectors represent syntactic and semantic information related to design pattern implementations and serve as input to train a classifier for the design pattern detection task. The attention mechanism is used to generate important features representing design pattern implementations and improve the accuracy of the classification model. The evaluation shows that our classifier detected GoF design patterns with an accuracy score of 86 %, precision of 87 %, recall of 86%, and F1-score of 86 %. The comparison of our findings with state-of-the-art methods shows an improvement in (i) precision of 25 %, (ii) recall of 6 %, and (iii) F1-score of 8 %
Wed 4 SepDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
16:00 - 17:30 | Technical Session 3: Architecture modeling and designTools & Demos / Research Papers / Industry Program at Hollenfels Chair(s): Everton Cavalcante Federal University of Rio Grande do Norte | ||
16:00 25mFull-paper | Integrating Data Quality in Industrial Big Data Architectures: an Action Design Research StudyIndustry Industry Program Ipek Ustunboyacioglu JADS/Tilburg University, Indika Kumara Tilburg University, Dario Di Nucci University of Salerno, Damian Andrew Tamburri TU/e, Willem-Jan van den Heuvel JADS/Tilburg University File Attached | ||
16:25 25mFull-paper | The Nature of Questions that Arise During Software ArchitectureResearch Paper Research Papers Neil Harrison Utah Valley University, Ademar Aguiar Faculty of Engineering, University of Porto & INESC TEC | ||
16:50 25mFull-paper | Attention-based Method for Design Pattern DetectionArtifact Award CandidateResearch Paper Research Papers Rania Mzid University of Tunis El Manar -Higher Institute of Computer Science, Ilyes Rezgui University of Tunis El Manar -Higher Institute of Computer Science, Tewfik Ziadi LIP6, Sorbonne Université | ||
17:15 5mPaper | OAS2Tree: Visual API-First DesignTools & Demos Tools & Demos souhaila serbout Software Institute @ USI, Cesare Pautasso Software Institute, Faculty of Informatics, USI Lugano |