Code smells refer to any symptom in the source code of a program that possibly indicates a deeper problem, hindering software maintenance and evolution. Detection of code smells is challenging for developers and their informal definition leads to the implementation of multiple detection techniques and tools. This paper evaluates and compares four code smell detection tools, namely inFusion, JDeodorant, PMD, and JSpIRIT. These tools were applied to different versions of the same software systems, namely MobileMedia and Health Watcher, to calculate the accuracy and agreement of code smell detection tools. We calculated the accuracy of each tool in the detection of three code smells: God Class, God Method, and Feature Envy. Agreement was calculated among tools and between pairs of tools. One of our main findings is that the evaluated tools present different levels of accuracy in different contexts. For MobileMedia, for instance, the average recall varies from 0 to 58% and the average precision from 0 to 100%, while for Health Watcher the variations are 0 to 100% and 0 to 85%, respectively. Regarding the agreement, we found that the overall agreement between tools varies from 83 to 98% among all tools and from 67 to 100% between pairs of tools. We also conducted a secondary study of the evolution of code smells in both target systems and found that, in general, code smells are present from the moment of creation of a class or method in 74.4% of the cases of MobileMedia and 87.5% of Health Watcher.
Solos expansivos são os solos coesivos que aumentam de volume quando umedecidos e se contraem quando ressecam, geralmente estes solos são não saturados, com grande presença de argilominerais expansivos, este fenômeno caso não seja previsto pode ser prejudicial para obras em geral, causando prejuízos financeiros e danos a estruturas. A identificação destes solos pode ser feita por ensaios físicos diretos e indiretos, onde seu comportamento pode ser mensurado, analisado e soluções corretivas aplicadas. Pensando nessa problemática, o presente trabalho visa propor uma relação entre a expansividade e os índices relacionados a contração, visto que expansão e contração são decorrentes do mesmo fenômeno, a alteração da umidade em argilas. Por ser mais simples e prático, o ensaio de contração sendo utilizado como indicativo de expansão pode otimizar análises em laboratório. Para realizar esta correlação, dados encontrados na literatura acadêmica e obtidos em laboratório foram analisados através da regressão linear múltipla. As correlações se mostraram promissoras indicando que o ensaio de contração pode ser uma boa estimativa para identificar um solo expansivo.
.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
customersupport@researchsolutions.com
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Copyright © 2024 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.