Saved in:
Bibliographic Details
Main Authors: Kumar, Amit, Hrishikesh, Ethari, Agarwal, Sonali
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2604.01132
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912995985063936
author Kumar, Amit
Hrishikesh, Ethari
Agarwal, Sonali
author_facet Kumar, Amit
Hrishikesh, Ethari
Agarwal, Sonali
contents File-level defect prediction models traditionally rely on product and process metrics. While process metrics effectively complement product metrics, they often overlook commit size the number of files changed per commit despite its strong association with software quality. Network centrality measures on dependency graphs have also proven to be valuable product level indicators. Motivated by this, we first redefine process metrics as commit size aware process metric vectors, transforming conventional scalar measures into 100 dimensional profiles that capture the distribution of changes across commit size strata. We then model change history as a hyper co change graph, where hyperedges naturally encode commit-size semantics. Vector centralities computed on these hypergraphs quantify size-aware node importance for source files. Experiments on nine long-lived Apache projects using five popular classifiers show that replacing scalar process metrics with the proposed commit size aware vectors, alongside product metrics, consistently improves predictive performance. These findings establish that commit size aware process metrics and hypergraph based vector centralities capture higher-order change semantics, leading to more discriminative, better calibrated, and statistically superior defect prediction models.
format Preprint
id arxiv_https___arxiv_org_abs_2604_01132
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Leveraging Commit Size Context and Hyper Co-Change Graph Centralities for Defect Prediction
Kumar, Amit
Hrishikesh, Ethari
Agarwal, Sonali
Software Engineering
File-level defect prediction models traditionally rely on product and process metrics. While process metrics effectively complement product metrics, they often overlook commit size the number of files changed per commit despite its strong association with software quality. Network centrality measures on dependency graphs have also proven to be valuable product level indicators. Motivated by this, we first redefine process metrics as commit size aware process metric vectors, transforming conventional scalar measures into 100 dimensional profiles that capture the distribution of changes across commit size strata. We then model change history as a hyper co change graph, where hyperedges naturally encode commit-size semantics. Vector centralities computed on these hypergraphs quantify size-aware node importance for source files. Experiments on nine long-lived Apache projects using five popular classifiers show that replacing scalar process metrics with the proposed commit size aware vectors, alongside product metrics, consistently improves predictive performance. These findings establish that commit size aware process metrics and hypergraph based vector centralities capture higher-order change semantics, leading to more discriminative, better calibrated, and statistically superior defect prediction models.
title Leveraging Commit Size Context and Hyper Co-Change Graph Centralities for Defect Prediction
topic Software Engineering
url https://arxiv.org/abs/2604.01132