Publication:

On the performance of method-level bug prediction: A negative result

Date

Date

Date
2020
Journal Article
Published version
cris.lastimport.scopus2025-06-07T03:40:09Z
cris.lastimport.wos2025-06-23T02:01:24Z
dc.contributor.institutionUniversity of Zurich
dc.date.accessioned2021-01-27T07:43:18Z
dc.date.available2021-01-27T07:43:18Z
dc.date.issued2020
dc.description.abstract

Bug prediction is aimed at identifying software artifacts that are more likely to be defective in the future. Most approaches defined so far target the prediction of bugs at class/file level. Nevertheless, past research has provided evidence that this granularity is too coarse-grained for its use in practice. As a consequence, researchers have started proposing defect prediction models targeting a finer granularity (particularly method-level granularity), providing promising evidence that it is possible to operate at this level. Particularly, models mixing product and process metrics provided the best results.

We present a study in which we first replicate previous research on method-level bug-prediction, by using different systems and timespans. Afterwards, based on the limitations of existing research, we (1) re-evaluate method-level bug prediction models more realistically and (2) analyze whether alternative features based on textual aspects, code smells, and developer-related factors can be exploited to improve method-level bug prediction abilities. Key results of our study include that (1) the performance of the previously proposed models, tested using the same strategy but on different systems/timespans, is confirmed; but, (2) when evaluated with a more practical strategy, all the models show a dramatic drop in performance, with results close to that of a random classifier. Finally, we find that (3) the contribution of alternative features within such models is limited and unable to improve the prediction capabilities significantly. As a consequence, our replication and negative results indicate that method-level bug prediction is still an open challenge.

dc.identifier.doi10.1016/j.jss.2019.110493
dc.identifier.issn0164-1212
dc.identifier.othermerlin-id:20248
dc.identifier.scopus2-s2.0-85076861613
dc.identifier.urihttps://www.zora.uzh.ch/handle/20.500.14742/178600
dc.identifier.wos000513985700012
dc.language.isoeng
dc.subject.ddc000 Computer science, knowledge & systems
dc.title

On the performance of method-level bug prediction: A negative result

dc.typearticle
dcterms.accessRightsinfo:eu-repo/semantics/openAccess
dcterms.bibliographicCitation.journaltitleJournal of Systems and Software
dcterms.bibliographicCitation.originalpublishernameElsevier
dcterms.bibliographicCitation.pagestart110493
dcterms.bibliographicCitation.volume161
dspace.entity.typePublicationen
uzh.contributor.affiliationDelft University of Technology
uzh.contributor.affiliationUniversity of Zurich
uzh.contributor.affiliationUniversity of Zurich
uzh.contributor.authorPascarella, Luca
uzh.contributor.authorPalomba, Fabio
uzh.contributor.authorBacchelli, Alberto
uzh.contributor.correspondenceYes
uzh.contributor.correspondenceNo
uzh.contributor.correspondenceNo
uzh.document.availabilitypostprint
uzh.eprint.datestamp2021-01-27 07:43:18
uzh.eprint.lastmod2025-06-23 02:06:54
uzh.eprint.statusChange2021-01-27 07:43:18
uzh.harvester.ethYes
uzh.harvester.nbNo
uzh.identifier.doi10.5167/uzh-197697
uzh.jdb.eprintsId37968
uzh.oastatus.unpaywallgreen
uzh.oastatus.zoraGreen
uzh.publication.citationPascarella, Luca; Palomba, Fabio; Bacchelli, Alberto (2020). On the performance of method-level bug prediction: A negative result. Journal of Systems and Software, 161:110493.
uzh.publication.originalworkoriginal
uzh.publication.publishedStatusfinal
uzh.publication.scopedisciplinebased
uzh.scopus.impact26
uzh.scopus.subjectsSoftware
uzh.scopus.subjectsInformation Systems
uzh.scopus.subjectsHardware and Architecture
uzh.workflow.chairSubjectEmpirical Software Engineering
uzh.workflow.chairSubjectifiZEST1
uzh.workflow.doajuzh.workflow.doaj.false
uzh.workflow.eprintid197697
uzh.workflow.fulltextStatuspublic
uzh.workflow.revisions54
uzh.workflow.rightsCheckkeininfo
uzh.workflow.statusarchive
uzh.wos.impact24
Files

Original bundle

Name:
Pascarella_JSS_2019.pdf
Size:
390.13 KB
Format:
Adobe Portable Document Format
Publication available in collections: