Open this publication in new window or tab >>2017 (English)In: ECSA '17 Proceedings of the 11th European Conference on Software Architecture: Companion Proceedings, Association for Computing Machinery (ACM), 2017, p. 138-144Conference paper, Published paper (Refereed)
Abstract [en]
Context: Several studies suggest that there is a relation between code smells and architecture degradation. They claim that classes, which have degraded architecture-wise, can be detected on the basis of code smells, at least if these are manually identiÿed in the source code.
Objective: To evaluate the suitability of contemporary code smell detection tools by combining different smell categories for ÿnding classes that show symptoms of architecture degradation.
Method: A case study is performed in which architectural in-consistencies in an open source system are detected via reflexion modeling and code smell metrics are collected through several tools. Using data mining techniques, we investigate if it is possible to auto-matically and accurately classify classes connected to architectural inconsistencies based on the gathered code smell data.
Results: Results suggest that existing code smell detection techniques, as implemented in contemporary tools, are not sufficiently accurate for classifying whether a class contains architectural in-consistencies, even when combining categories of code smells.
Conclusion: It seems that current automated code smell detection techniques require ÿne-tuning for a speciÿc system if they are to be used for ÿnding classes with architectural inconsistencies. More research on architecture violation causes is needed to build more accurate detection techniques that work out-of-the-box.
Place, publisher, year, edition, pages
Association for Computing Machinery (ACM), 2017
Keywords
architecture erosion, code smells, data mining, case study
National Category
Software Engineering
Research subject
Computer Science
Identifiers
urn:nbn:se:kau:diva-63784 (URN)10.1145/3129790.3129808 (DOI)000426556400032 ()978-1-4503-5217-8 (ISBN)
Conference
4th Workshop on Software Architecture Erosion and Architectural Consistency (SAEroCon 2017) co-located with the 11th European Conference on Software Architecture (ECSA 2017)
2017-09-182017-09-182018-11-16Bibliographically approved