Investigating the performance of personalized models for software defect prediction

Beyza Eken*, Ayse Tosun

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

12 Citations (Scopus)

Abstract

Software defect predictors exploring developer perspective reveal that code changes made by separate developers tend to have different defect patterns. Personalized defect prediction also contributes to this view and gives promising results. We aim to investigate the performance of personalized defect predictors compared to those of traditional models. We conduct an empirical study on six open-source projects for 222 developers. Personalized and traditional defect predictors are built utilizing two algorithms and cross-validation on the historical commit data, and assessed via seven performance measures and statistical tests. Our results show that personalized models (PMs) achieve an increase of up to 24% in recall for 83% of developers, while causing higher false alarm rates for 77% of developers. PMs are better for those developers who contribute to the modules with many prior contributors. Although size metrics contribute to the performance of the majority of the PMs, they significantly differ in terms of information gained from experience, diffusion and history metrics, respectively. The decision of whether a PM should be chosen over a traditional model depends on a set of factors, i.e., selected algorithm, model validation strategy or performance measures, and hence, PM performance significantly differs regarding these factors.

Original languageEnglish
Article number111038
JournalJournal of Systems and Software
Volume181
DOIs
Publication statusPublished - Nov 2021

Bibliographical note

Publisher Copyright:
© 2021 Elsevier Inc.

Keywords

  • Change-level
  • Defect prediction
  • Personalized
  • Software recommendation systems

Fingerprint

Dive into the research topics of 'Investigating the performance of personalized models for software defect prediction'. Together they form a unique fingerprint.

Cite this