Code ownership in open-source software
Matthieu Foucault, Jean‐Rémy Falleri, Xavier Blanc · International Conference on Evaluation and Assessment in Software Engineering (EASE) · 2014
Context: Ownership metrics measure how the workload of software modules is shared among their developers. They have been shown to be accurate indicators of software quality. Objective: Since ownership metrics studies were done only on industrial software projects, we replicated such a study on Java free/libre and open source software (FLOSS) projects. Our goal was to generalize an "ownership law" that stated that minor developers should be avoided. Method: We explored the relationship between ownership metrics and fault-proneness on seven FLOSS projects, using publicly available corpora to retrieve the fault-related information. Results: In our corpus, the relationship between ownership metrics and module faults is weak. At best, less than half of projects exhibit a significant correlation, and at worst, no projects at all. Moreover, fault-proneness seems to be much more influenced by module size than by ownership. Conclusion: The results of ownership studies done on closed-source projects do not generalize to FLOSS projects. To understand the reasons for that, we performed an in-depth analysis and found that the lack of correlation between ownership metrics and module faults is due to the distributions of contributions among developers and the presence of "heroes" in FLOSS projects.
Cited by 38 works. doi:10.1145/2601248.2601283
Authors
References
- The Advanced Theory of Statistics.
- A metrics suite for object oriented design
- Two case studies of open source software development
- Predicting Defects for Eclipse
- A comparative analysis of the efficiency of change metrics and static code attributes for defect prediction
- The PROMISE Repository of Empirical Software Engineering Data
- Predicting faults using the complexity of code changes
- The confounding effect of class size on the validity of object-oriented metrics
- Fair and balanced?
- Evaluating defect prediction approaches: a benchmark and an extensive comparison