Back to search

University of Manitoba

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

Abstract

dc:description.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.

Degree

thesis:*
Level thesis:degree_level
Master of Science (M.Sc.)
Discipline thesis:degree_discipline
Computer Science
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Opu, Md Nahidul Islam
Advisor dc:contributor.supervisor
  • Chowdhury, Shaiful
Committee members dc:contributor.committeemember
  • Henry, Christopher (Computer Science)
  • Mohammed, Noman (Computer Science)

Subjects

dc:subject × 10

Rights

Language dc:language.iso
eng

Identifiers

dc:identifier.*
Handle dc:identifier.uri
http://hdl.handle.net/1993/40119

Chain of custody

source
Harvested from
University of Manitoba
Base URL
mspace.lib.umanitoba.ca/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Opu, Md Nahidul Islam. The limits and promise of software-metric-based prediction: from method-level bugs to app popularity. Master of Science (M.Sc.) thesis, 2026. http://hdl.handle.net/1993/40119