Code smells detection and visualization: A systematic literature review

dc.contributor.authorPereira dos Reis, J.
dc.contributor.authorBrito e Abreu, F.
dc.contributor.authorCarneiro, G.
dc.contributor.authorAnslow, C.
dc.date.accessioned2021-11-04T15:52:17Z
dc.date.issued2022
dc.date.updated2022-04-06T15:37:26Z
dc.description.abstractContext: Code smells (CS) tend to compromise software quality and also demand more effort by developers to maintain and evolve the application throughout its life-cycle. They have long been cataloged with corresponding mitigating solutions called refactoring operations. Objective: This SLR has a twofold goal: the first is to identify the main code smells detection techniques and tools discussed in the literature, and the second is to analyze to which extent visual techniques have been applied to support the former. Method: Over 83 primary studies indexed in major scientific repositories were identified by our search string in this SLR. Then, following existing best practices for secondary studies, we applied inclusion/exclusion criteria to select the most relevant works, extract their features and classify them. Results: We found that the most commonly used approaches to code smells detection are search-based (30.1%), and metric-based (24.1%). Most of the studies (83.1%) use open-source software, with the Java language occupying the first position (77.1%). In terms of code smells, God Class (51.8%), Feature Envy (33.7%), and Long Method (26.5%) are the most covered ones. Machine learning techniques are used in 35% of the studies. Around 80% of the studies only detect code smells, without providing visualization techniques. In visualization-based approaches, several methods are used, such as city metaphors, 3D visualization techniques. Conclusions: We confirm that the detection of CS is a non-trivial task, and there is still a lot of work to be done in terms of: reducing the subjectivity associated with the definition and detection of CS; increasing the diversity of detected CS and of supported programming languages; constructing and sharing oracles and datasets to facilitate the replication of CS detection and visualization techniques validation experiments.eng
dc.description.versioninfo:eu-repo/semantics/acceptedVersion
dc.identifier.doi10.1007/s11831-021-09566-x
dc.identifier.issn1134-3060
dc.identifier.urihttp://hdl.handle.net/10071/23475
dc.journalArchives of Computational Methods in Engineering
dc.language.isoeng
dc.pagination47 - 94
dc.peerreviewedyes
dc.publisherSpringer
dc.relationinfo:eu-repo/grantAgreement/FCT/6817 - DCRRNI ID/UIDP%2F04466%2F2020/PT
dc.relationinfo:eu-repo/grantAgreement/FCT/6817 - DCRRNI ID/UIDB%2F04466%2F2020/PT
dc.rightsopen access
dc.subjectSystematic literature revieweng
dc.subjectCode smellseng
dc.subjectCode smells detectioneng
dc.subjectCode smells visualizationeng
dc.subjectSoftware qualityeng
dc.subjectSoftware maintenanceeng
dc.subject.fosDomínio/Área Científica::Ciências Naturais::Ciências da Computação e da Informaçãopor
dc.titleCode smells detection and visualization: A systematic literature revieweng
dc.typearticle
dc.volume29
degois.publication.firstPage47
degois.publication.lastPage94
degois.publication.titleCode smells detection and visualization: A systematic literature revieweng
dspace.entity.typePublicationen
iscte.alternateIdentifiers.scopus2-s2.0-85102476867
iscte.alternateIdentifiers.wosWOS:000627226000001
iscte.identifier.cienciahttps://ciencia.iscte-iul.pt/id/ci-pub-78026
iscte.subject.odsEducação de qualidadepor
iscte.subject.odsIndústria, inovação e infraestruturaspor

Ficheiros

Pacote original

A mostrar 1 - 1 de 1
A carregar...
Nome:
article_78026.pdf
Tamanho:
620.2 KB
Formato:
Adobe Portable Document Format
Descrição:
Versão Aceite