[Paper Review] Metrics Dashboard: A Hosted Platform for Software Quality Metrics
The Metrics Dashboard is a hosted SaaS platform that analyzes open-source software projects on GitHub to provide team-level software quality metrics, including project size (KLOC), defect density, defect spoilage, and productivity. By enabling interactive, time-granular visualization of these metrics without requiring local tooling, it helps CSE teams monitor project health and improve development processes in a lightweight, integrated way.
There is an emerging consensus in the scientific software community that progress in scientific research is dependent on the "quality and accessibility of software at all levels" (wssspe.researchcomputing.org.uk/). This progress depends on embracing the best traditional---and emergent---practices in software engineering, especially agile practices that intersect with the more formal tradition of software engineering. As a first step in our larger exploratory project to study in-process quality metrics for software development projects in Computational Science and Engineering (CSE), we have developed the Metrics Dashboard, a platform for producing and observing metrics by mining open-source software repositories on GitHub. Unlike GitHub and similar systems that provide individual performance metrics (e.g. commits), the Metrics Dashboard focuses on metrics indicative of team progress and project health. The Metrics Dashboard allows the user to submit the URL of a hosted repository for batch analysis, whose results are then cached. Upon completion, the user can interactively study various metrics over time (at varying granularity), numerically and visually. The initial version of the system is up and running as a public cloud service (SaaS) and supports project size (KLOC), defect density, defect spoilage, and productivity. While our system is by no means the first to support software metrics, we believe it may be one of the first community-focused extensible resources that can be used by any hosted project.
Motivation & Objective
- To address the lack of community-focused, extensible tools for monitoring in-process software quality metrics in scientific computing and engineering (CSE) projects.
- To reduce resistance from small/medium development teams by integrating seamlessly into existing GitHub workflows without additional tooling or overhead.
- To support project health monitoring through actionable, team-oriented metrics rather than individual developer performance indicators.
- To enable scientific software teams to assess and improve software quality using data-driven insights from version control and issue tracking systems.
- To develop a scalable, publicly accessible platform that supports ongoing analysis and feedback for open-source CSE projects.
Proposed method
- The system ingests the URL of a GitHub-hosted repository for batch analysis using metadata from the GitHub API.
- It computes key in-process metrics: project size (KLOC), defect density (issues per KLOC), defect spoilage (time to fix issues), and productivity (commit/issue ratios).
- Results are cached and exposed through an interactive web interface with time-series visualizations at varying granularities (e.g., daily, weekly, monthly).
- The platform is architected to support multiple version control systems but is initially focused on GitHub due to its dominance in CSE open-source projects.
- It leverages public GitHub data, including issue open/close dates and commit history, to derive metrics without requiring local code analysis or agent installation.
- The system is hosted as a public cloud service (SaaS) at http://luc-metrics.herokuapp.com, allowing users to submit projects for analysis and track results over time.
Experimental results
Research questions
- RQ1How can in-process software quality metrics be effectively collected and visualized for scientific software projects hosted on GitHub without imposing additional tooling overhead?
- RQ2What types of metrics are most useful for assessing team progress and project health in CSE development workflows?
- RQ3How do metrics like defect spoilage and issue density correlate with actual project activity and issue resolution patterns in real-world open-source projects?
- RQ4Can a hosted, community-focused dashboard improve awareness of software quality and support proactive process improvements in agile CSE teams?
- RQ5To what extent can lightweight, non-intrusive metrics collection support long-term software sustainability and maintainability in scientific software?
Key findings
- The Metrics Dashboard successfully identified a significant anomaly in the Go project: 7,926 issues were closed in a single day (December 9, 2014), despite no issues being closed for over five years prior.
- Defect spoilage peaked at nearly 7.0 in late 2014, indicating prolonged issue resolution times, followed by a sustained decline, suggesting improved issue management after the anomaly.
- The dashboard’s ability to adjust visualization granularity to the weekly level enabled precise identification of the date when the issue resolution spike occurred.
- Defect density and spoilage metrics showed a clear inverse relationship, with spoilage decreasing as issue resolution became more consistent post-2014.
- The system demonstrated that metrics like cumulative open and closed issues can reveal long-standing project health issues, such as volunteer-driven maintenance bottlenecks.
- The platform is operational as a public SaaS service and has been used to analyze multiple CSE projects, with plans to expand support based on survey feedback.
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.