[Paper Review] The Distribution of Program Sizes and Its Implications: An Eclipse Case Study
This study analyzes the Eclipse open-source ecosystem and finds that program sizes follow a lognormal distribution, while defect counts across programs follow a Weibull distribution when ranked by size. The results enable improved size estimation for large Java systems and reveal that a small number of large programs contribute disproportionately to defects, highlighting size distribution as a key factor in software quality prediction.
A large software system is often composed of many inter-related programs of different sizes. Using the public Eclipse dataset, we replicate our previous study on the distribution of program sizes. Our results confirm that the program sizes follow the lognormal distribution. We also investigate the implications of the program size distribution on size estimation and quality predication. We find that the nature of size distribution can be used to estimate the size of a large Java system. We also find that a small percentage of largest programs account for a large percentage of defects, and the number of defects across programs follows the Weibull distribution when the programs are ranked by their sizes. Our results show that the distribution of program sizes is an important property for understanding large and complex software systems.
Motivation & Objective
- To investigate the statistical distribution of program sizes in large software systems, using the Eclipse platform as a case study.
- To examine how program size distribution affects software quality prediction and defect distribution.
- To validate the applicability of lognormal and Weibull distributions to real-world software systems.
- To explore the implications of size distribution for software engineering practices such as effort estimation and defect prediction.
- To provide empirical evidence supporting the use of size-based models in large-scale software development.
Proposed method
- The authors analyze the public Eclipse software dataset to extract the size (e.g., lines of code) of individual programs.
- They apply statistical fitting techniques to test whether program sizes conform to a lognormal distribution.
- Programs are ranked by size, and defect counts are analyzed to assess distribution patterns, testing for a Weibull distribution.
- The study uses empirical data from Eclipse releases to validate size estimation and defect prediction models.
- Statistical hypothesis testing and goodness-of-fit measures (e.g., Kolmogorov-Smirnov) are used to confirm distribution assumptions.
- The analysis includes visual inspection of probability plots and quantitative comparison of distribution fits.
Experimental results
Research questions
- RQ1Do program sizes in large software systems like Eclipse follow a lognormal distribution?
- RQ2How does the distribution of defects relate to program size when programs are ranked by size?
- RQ3Can the lognormal distribution of program sizes be leveraged to estimate the size of large Java systems?
- RQ4To what extent do a small number of large programs account for a disproportionate share of defects?
- RQ5Is the Weibull distribution a suitable model for defect counts across programs when ordered by size?
Key findings
- Program sizes in the Eclipse ecosystem follow a lognormal distribution, confirming earlier findings with a larger and more diverse dataset.
- A small percentage of the largest programs account for a significant majority of defects, indicating high defect concentration in large components.
- Defect counts across programs, when ranked by size, follow a Weibull distribution, suggesting a non-linear defect growth pattern with size.
- The lognormal size distribution enables more accurate size estimation for large Java systems, supporting predictive modeling in software engineering.
- The study demonstrates that size distribution is a critical factor in understanding defect dynamics and system complexity.
- The results suggest that focusing on large programs can significantly improve defect prediction and resource allocation in software maintenance.
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.