kirancodes.me
To Proof Maintenance & Beyond!

BugCache for inspections: hit or miss?

Foyzur Rahman, Daryl Posnett, Abram Hindle, Earl T. Barr, Premkumar T. Devanbu

Abstract

Inspection is a highly effective but costly technique for quality control. Most companies do not have the resources to inspect all the code; thus accurate defect prediction can help focus available inspection resources. BugCache is a simple, elegant, award-winning prediction scheme that "caches" files that are likely to contain defects [12]. In this paper, we evaluate the utility of BugCache as a tool for focusing inspection, we examine the assumptions underlying BugCache with the aim of improving it, and finally we compare it with a simple, standard bug-prediction technique. We find that BugCache is, in fact, useful for focusing inspection effort; but surprisingly, we find that its performance, when used for inspections, is not much better than a naive prediction model -- viz., a model that orders files in the system by their count of closed bugs and chooses enough files to capture 20% of the lines in the system.

BibTeX
@inproceedings{Rahman-al:FSE11,
  author    = {Foyzur Rahman and
               Daryl Posnett and
               Abram Hindle and
               Earl T. Barr and
               Premkumar T. Devanbu},
  title     = {{BugCache} for inspections: hit or miss?},
  booktitle = {FSE},
  pages     = {322--331},
  publisher = {{ACM}},
  year      = {2011},
}

Related papers