Utilize este identificador para referenciar este registo:
http://hdl.handle.net/10071/25596
Registo completo
Campo DC | Valor | Idioma |
---|---|---|
dc.contributor.author | Reis, J. | - |
dc.contributor.author | Brito e Abreu, F. | - |
dc.contributor.author | Figueiredo Carneiro, G. | - |
dc.date.accessioned | 2022-06-03T14:22:28Z | - |
dc.date.issued | 2022 | - |
dc.identifier.issn | 1382-3256 | - |
dc.identifier.uri | http://hdl.handle.net/10071/25596 | - |
dc.description.abstract | Code smells are seen as a major source of technical debt and, as such, should be detected and removed. However, researchers argue that the subjectiveness of the code smells detection process is a major hindrance to mitigating the problem of smells-infected code. This paper presents the results of a validation experiment for the Crowdsmelling approach proposed earlier. The latter is based on supervised machine learning techniques, where the wisdom of the crowd (of software developers) is used to collectively calibrate code smells detection algorithms, thereby lessening the subjectivity issue. In the context of three consecutive years of a Software Engineering course, a total ``crowd'' of around a hundred teams, with an average of three members each, classified the presence of 3 code smells (Long Method, God Class, and Feature Envy) in Java source code. These classifications were the basis of the oracles used for training six machine learning algorithms. Over one hundred models were generated and evaluated to determine which machine learning algorithms had the best performance in detecting each of the aforementioned code smells. Good performances were obtained for God Class detection (ROC=0.896 for Naive Bayes) and Long Method detection (ROC=0.870 for AdaBoostM1), but much lower for Feature Envy (ROC=0.570 for Random Forrest). The results suggest that Crowdsmelling is a feasible approach for the detection of code smells. Further validation experiments based on dynamic learning are required to comprehensive coverage of code smells to increase external validity. | eng |
dc.language.iso | eng | - |
dc.publisher | Springer | - |
dc.relation | info:eu-repo/grantAgreement/FCT/6817 - DCRRNI ID/UIDP%2F04466%2F2020/PT | - |
dc.relation | info:eu-repo/grantAgreement/FCT/6817 - DCRRNI ID/UIDB%2F04466%2F2020/PT | - |
dc.rights | openAccess | - |
dc.subject | Crowdsmelling | eng |
dc.subject | Code smells | eng |
dc.subject | Code smells detection | eng |
dc.subject | Software quality | eng |
dc.subject | Software maintenance | eng |
dc.subject | Collective knowledge | eng |
dc.subject | Machine learning algorithms | eng |
dc.title | Crowdsmelling: A preliminary study on using collective knowledge in code smells detection | eng |
dc.type | article | - |
dc.peerreviewed | yes | - |
dc.journal | Empirical Software Engineering | - |
dc.volume | 27 | - |
dc.number | 3 | - |
degois.publication.issue | 3 | - |
degois.publication.title | Crowdsmelling: A preliminary study on using collective knowledge in code smells detection | eng |
dc.date.updated | 2022-06-03T15:20:54Z | - |
dc.description.version | info:eu-repo/semantics/acceptedVersion | - |
dc.identifier.doi | 10.1007/s10664-021-10110-5 | - |
dc.subject.fos | Domínio/Área Científica::Ciências Naturais::Ciências da Computação e da Informação | por |
dc.date.embargo | 2023-03-17 | - |
iscte.subject.ods | Educação de qualidade | por |
iscte.subject.ods | Indústria, inovação e infraestruturas | por |
iscte.identifier.ciencia | https://ciencia.iscte-iul.pt/id/ci-pub-84764 | - |
iscte.alternateIdentifiers.wos | WOS:WOS:000770339500010 | - |
iscte.alternateIdentifiers.scopus | 2-s2.0-85126535966 | - |
Aparece nas coleções: | ISTAR-RI - Artigos em revistas científicas internacionais com arbitragem científica |
Ficheiros deste registo:
Ficheiro | Descrição | Tamanho | Formato | |
---|---|---|---|---|
article_84764.pdf | Versão Aceite | 480,35 kB | Adobe PDF | Ver/Abrir |
Todos os registos no repositório estão protegidos por leis de copyright, com todos os direitos reservados.