Work

The limits and promise of software-metric-based prediction: from method-level bugs to app popularity

Year: 2026
Type: article
Abstract: Software metrics have long been used to build predictive models of software quality, yet their effectiveness remains debated across prediction tasks. This thesis examines both the promise and the limits of software-metric-based prediction through three complementary studies spanning method-level bug prediction and mobile app popularity prediction. The first study addresses a fundamental source of noise in bug prediction datasets by introducing a Large Language Model (LLM)-based approach for detecting tangled code changes at the method level. By combining commit messages with method-level code diffs, the approach produces cleaner bug labels. Using these datasets, the second study revisits method-level bug prediction across 100 open-source projects, integrating traditional software metrics with source-code embeddings and evaluating realistic inception and evolution scenarios. Although cleaner labels and richer representations improve validation performance, limited cross-project generalization and severe class imbalance constrain test performance, highlighting persistent challenges in fine-grained bug prediction. The third study investigates whether internal source-code metrics can predict Android app popularity before release. While metrics cannot accurately predict continuous popularity measures, they support meaningful binary classification. Collectively, these studies demonstrate that software metrics are valuable when paired with high-quality data, appropriate representations, and well-defined prediction objectives, but remain limited for fine-grained and exact-value prediction tasks.
Language: English
Open Access status: green
OpenAlex ID: W7213567649
FWCI:
Cites: 239
Cited by:
Related to: 10