HUMAN VERSUS AUTOMATED ANALYSIS WITH SONARQUBE: COMPARING THE ABILITY TO IDENTIFY SOFTWARE QUALITY PROBLEMS
Abstract
This article compares human analysis and automated analysis with SonarQube regarding the ability to identify software quality problems, treating Artificial Intelligence as context and as an auxiliary tool. It is a mixed, exploratory study, with a literature review and a proof of concept. A small academic Java system, generated with the help of Claude and containing intentional flaws, was analyzed by an evaluator with intermediate knowledge and by SonarQube Community Build 26.8.0. The results indicate that each approach found problems the other did not, and that some of the known defects went unnoticed by both, which suggests that they complement each other. The limitations are the small system, the single evaluator, and a defect catalog built after the code was generated.
Author Biographies
Undergraduate student in Information Systems at the University of Araraquara (UNIARA), Araraquara-SP.
Master's degree in Computer Science (UFSCar), bachelor's degree in Information Systems, coordinator and professor of the Computer Engineering and Information Systems programs at the University of Araraquara (UNIARA), Araraquara-SP.
References
ALLAMANIS, M.; BARR, E. T.; DEVANBU, P.; SUTTON, C. A Survey of Machine Learning for Big Code and Naturalness. ACM Computing Surveys, v. 51, n. 4, art. 81, 2018 DOI: https://doi.org/10.1145/3212695 DOI: https://doi.org/10.1145/3212695
ANTHROPIC. Claude Code. [S. l.]: Anthropic, 2026. Disponível em: https://docs.claude.com/en/docs/claude-code/overview . Acesso em: 13 set. 2026.
BATARSEH, F. A.; MOHOD, R.; KUMAR, A.; BUI, J. The application of artificial intelligence in software engineering: a review challenging conventional wisdom. In: Data Democracy: At the Nexus of Artificial Intelligence, Software Development, and Knowledge Engineering. [S.l.]: Elsevier, 2020. cap. 10, p. 179-232 DOI: https://doi.org/10.1016/B978-0-12-818366-3.00010-1 DOI: https://doi.org/10.1016/B978-0-12-818366-3.00010-1
CHEN, M.; TWOREK, J.; JUN, H.; YUAN, Q. et al. Evaluating Large Language Models Trained on Code. arXiv preprint arXiv:2107.03374, 2021.
HALL, T.; BEECHAM, S.; BOWES, D.; GRAY, D.; COUNSELL, S. A Systematic Literature Review on Fault Prediction Performance in Software Engineering. IEEE Transactions on Software Engineering, v. 38, n. 6, p. 1276-1304, 2012 DOI: https://doi.org/10.1109/TSE.2011.103 DOI: https://doi.org/10.1109/TSE.2011.103
HARMAN, M.; MANSOURI, S. A.; ZHANG, Y. Search-Based Software Engineering: Trends, Techniques and Applications. ACM Computing Surveys, v. 45, n. 1, art. 11, 2012 DOI: https://doi.org/10.1145/2379776.2379787 DOI: https://doi.org/10.1145/2379776.2379787
HELLENDOORN, V. J.; DEVANBU, P. Are Deep Neural Networks the Best Choice for Modeling Source Code? In: PROCEEDINGS OF THE 2017 11TH JOINT MEETING ON FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE 2017), Paderborn, 2017. p. 763-773. DOI: https://doi.org/10.1145/3106237.3106290
MALHOTRA, R. A Systematic Review of Machine Learning Techniques for Software Fault Prediction. Applied Soft Computing, v. 27, p. 504-518, 2015 DOI: https://doi.org/10.1016/j.asoc.2014.11.023 DOI: https://doi.org/10.1016/j.asoc.2014.11.023
MENZIES, T.; ZIMMERMANN, T. Software Analytics: So What? IEEE Software, v. 30, n. 4, p. 31-37, 2013 DOI: https://doi.org/10.1109/MS.2013.86 DOI: https://doi.org/10.1109/MS.2013.86
PRESSMAN, R. S.; MAXIM, B. R. Engenharia de Software: uma abordagem profissional. 8. ed. Porto Alegre: AMGH, 2016.
RUSSELL, S.; NORVIG, P. Artificial Intelligence: a modern approach. 4. ed. Hoboken: Pearson, 2021.
SOMMERVILLE, I. Engenharia de software. 10. ed. São Paulo: Pearson, 2019.
SONARSOURCE. SonarQube documentation. 2024. Disponível em: https://docs.sonarsource.com/sonarqube/latest/ Acesso em: 29 ago. 2026.
