Skip to main content
QUICK REVIEW

[Paper Review] Quality of Open Source Systems from Product Metrics Perspective

Mamdouh Alenezi, Ibrahim Abunadi|arXiv (Cornell University)|Nov 10, 2015
Software Engineering ResearchComputer Science17 references3 citations
TL;DR

This study analyzes open source software quality using product metrics, focusing on defect density as a key indicator. It finds that larger open source systems exhibit lower defect density, and most metrics correlate positively with bug counts—except for cohesion-to-coupling ratios, which show a negative correlation, suggesting structural design influences defect proneness.

ABSTRACT

Software engineering and information systems practices seek ultimately to create the flawless product. One of the tools used to improve the quality of software development is the use of metrics. In this paper, metrics retrieved from open source software were analyzed for quality attributes. Defect density is considered a strong indication of the quality of software product. Few studies have taken into consideration the density of defects while looking into quality of software and proneness to defects. Analysis of this study has shown that defect density is relevant to different developers and different product sizes. Thus, open source project has shown to have low defect density and the larger the product the lower the defect density is. In addition, this study has shown that there are different metrics that correlate with each other indicating that some of these metrics have conceptual and practical relevance to each other. Another relationship was tested between the number of bugs and the metrics. Results indicated that most attributes had positive correlation with the number of bugs with exception to coupling between cohesion among methods of class.

Motivation & Objective

  • To evaluate the quality of open source software using product metrics, particularly focusing on defect density as a quality indicator.
  • To investigate how defect density varies with project size and developer contributions.
  • To identify relationships among software metrics and their relevance to defect proneness.
  • To assess the correlation between various code metrics and the number of reported bugs.

Proposed method

  • Collected product metrics from open source software projects, including complexity, coupling, cohesion, and size-related attributes.
  • Measured defect density as the number of defects per thousand lines of code (KLoC) to evaluate software quality.
  • Applied statistical analysis to examine correlations between defect density and various code metrics.
  • Tested relationships between the number of reported bugs and individual metrics, including coupling and cohesion.
  • Used bivariate correlation analysis to determine the strength and direction of associations between metrics and defect counts.
  • Focused on open source systems to ensure data availability and real-world applicability.

Experimental results

Research questions

  • RQ1How does defect density vary across open source systems of different sizes?
  • RQ2What is the relationship between software metrics such as coupling and cohesion and the number of reported bugs?
  • RQ3Which product metrics show significant correlation with defect density in open source projects?
  • RQ4How do developer-specific factors influence defect density in open source systems?
  • RQ5To what extent do structural code metrics predict defect proneness in open source software?

Key findings

  • Larger open source systems exhibit lower defect density, indicating improved quality with scale.
  • Defect density is significantly lower in open source projects compared to proprietary software, suggesting inherent quality advantages.
  • Most code metrics show a positive correlation with the number of bugs, indicating higher values are associated with more defects.
  • Cohesion-to-coupling ratio shows a negative correlation with bug count, implying better structural design reduces defect likelihood.
  • Several metrics, including complexity and coupling, demonstrate strong conceptual and practical relevance to each other.
  • The study confirms that defect density is a reliable indicator of software quality in open source systems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.