Publication in conference proceedings Q4
The influence of god class and long method in the occurrence of bugs in two open source software projects: an exploratory study
Aloísio Sampaio Cairo (Cairo, A. S.); Glauco Carneiro (Carneiro, G. DE F.); Antônio Maria Pereira de Resende (Resende, A. M. P.); Fernando Brito e Abreu (Brito e Abreu, F.);
Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE
Year (definitive publication)
2019
Language
English
Country
Portugal
More Information
Web of Science®

This publication is not indexed in Web of Science®

Scopus

Times Cited: 5

(Last checked: 2026-04-05 00:19)

View record in Scopus


: 1.5
Google Scholar

Times Cited: 5

(Last checked: 2026-04-12 08:39)

View record in Google Scholar

This publication is not indexed in Overton

Abstract
Context: Code smells are associated with poor design and programming style that often degrades code quality and hampers code comprehensibility and maintainability. Goal: In this paper, we investigated to which extent classes affected by the God Class and Long Method code smells were more susceptible to the occurrence of software bugs. Method: We conducted an exploratory study targeting two well known open source software projects, Apache Tomcat and Eclipse JDT Core Component. We applied correlation analysis in order to evaluate to which extent Long Method and God Class were related to the occurrence of bugs. Results: We have found a significant correlation of Long Method and Commits and, on the other hand, a poor correlation of God Class and Commits in the two analyzed projects. Therefore, we expected that the higher the number of occurrences of Long Method, the higher the chances of more commits in a class that contains this method, which could result in the increase of occurrence of bugs. Conclusion: Based on the results, we confirmed what other studies pointed out, regarding classes affected by Long Method being more bug-prone than others. In practice, we found evidence, from analyzed data, that the occurrence of Long Method implies more effort in maintenance tasks.
Acknowledgements
--
Keywords
Code smells,God class,Long method,Occurrence of bugs
  • Computer and Information Sciences - Natural Sciences
Funding Records
Funding Reference Funding Entity
UID/MULTI/0446/2013 Fundação para a Ciência e a Tecnologia