[Paper Review] Empirical study of software quality evolution in open source projects using agile practices
This empirical study analyzes the evolution of software quality in two open source Java projects—Eclipse and NetBeans—using agile practices. By modeling codebases as software graphs and applying Chidamber and Kemerer metrics, the authors correlate changes in code complexity with defect counts, finding that higher metric values predict increased defect rates over time.
We analyse the time evolution of two open source Java projects: Eclipse and Netbeans, both developed following agile practices, though to a different extent. Our study is centered on quality analysis of the systems, measured as defects absence, and its relation with software metrics evolution. The two projects are described through a software graph in which nodes are represented by Java files and edges describe the existing relation between nodes. We propose a metrics suite for Java files based on Chidamber and Kemerer suite, and use it to study software evolution and its relationship with bug count.
Motivation & Objective
- Understand how software quality evolves in open source projects using agile methodologies.
- Investigate the relationship between code metrics and defect density in long-term software development.
- Assess whether changes in software complexity correlate with defect introduction in real-world projects.
- Compare the impact of agile practices on code quality in two large-scale open source systems: Eclipse and NetBeans.
- Provide empirical evidence linking specific software metrics to defect occurrence over time.
Proposed method
- Model the software structure of Eclipse and NetBeans as a graph, where nodes represent Java files and edges represent dependencies.
- Apply the Chidamber and Kemerer (CK) suite of software metrics to analyze code complexity at the file level.
- Track the evolution of these metrics and defect counts over time using version control and issue tracking data.
- Correlate temporal changes in CK metrics with changes in reported defect counts to identify predictive patterns.
- Use statistical analysis to evaluate the strength and significance of relationships between metric trends and defect rates.
- Compare results between Eclipse and NetBeans to assess differences in agile practice impact on quality evolution.
Experimental results
Research questions
- RQ1How do key software metrics from the Chidamber and Kemerer suite evolve over time in agile-developed open source projects?
- RQ2To what extent do increases in code complexity metrics predict subsequent increases in defect counts?
- RQ3How do the relationships between code metrics and defect rates differ between Eclipse and NetBeans despite both using agile practices?
- RQ4Can software metrics serve as early indicators of declining software quality in long-lived open source projects?
- RQ5What is the temporal pattern of defect introduction relative to changes in code structure and complexity?
Key findings
- An increase in certain CK metrics—particularly data and method complexity—was significantly correlated with higher defect rates in both Eclipse and NetBeans.
- The study found that projects with higher average afferent and efferent coupling showed a greater number of defects over time.
- Eclipse exhibited a stronger correlation between metric changes and defect density compared to NetBeans, suggesting more sensitive feedback from agile practices.
- Defects tended to accumulate in files with high afferent and efferent interface counts, indicating that high coupling increases defect risk.
- Files with high afferent and efferent interface counts were more likely to be modified and introduced defects, especially when complexity metrics increased.
- The results support the use of CK metrics as early-warning indicators for potential quality degradation in agile-based open source development.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.