The influence of god class and long method in the occurrence of bugs in two open source software projects: An exploratory study

5Citations
Citations of this article
11Readers
Mendeley users who have this article in their library.

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.

References Powered by Scopus

DECOR: A method for the specification and detection of code and design smells

622Citations
N/AReaders
Get full text

Laws of software evolution revisited

346Citations
N/AReaders
Get full text

Leveraging legacy system dollars for e-business

270Citations
N/AReaders
Get full text

Cited by Powered by Scopus

Automatic detection of Long Method and God Class code smells through neural source code embeddings

37Citations
N/AReaders
Get full text

Empirical evaluation of code smells in open-source software (OSS) using Best Worst Method (BWM) and TOPSIS approach

9Citations
N/AReaders
Get full text

Tuning Code Smell Prediction Models: A Replication Study

2Citations
N/AReaders
Get full text

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

Cairo, A. S., De Figueiredo Carneiro, G., De Resende, A. M. P., & Brito E Abreu, F. (2019). The influence of god class and long method in the occurrence of bugs in two open source software projects: An exploratory study. In Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE (Vol. 2019-July, pp. 199–204). Knowledge Systems Institute Graduate School. https://doi.org/10.18293/SEKE2019-084

Readers' Seniority

Tooltip

PhD / Post grad / Masters / Doc 4

50%

Professor / Associate Prof. 3

38%

Researcher 1

13%

Readers' Discipline

Tooltip

Computer Science 7

88%

Immunology and Microbiology 1

13%

Save time finding and organizing research with Mendeley

Sign up for free