Perceptions, Expectations, and Challenges in Defect Prediction
The DOI matches its Crossref record; 109 of the 109 references it cites were found in a registry or an index.
Abstract
Defect prediction has been an active research area for over four decades. Despite numerous studies on defect prediction, the potential value of defect prediction in practice remains unclear. To address this issue, we performed a mixed qualitative and quantitative study to investigate what practitioners think, behave and expect in contrast to research findings when it comes to defect prediction. We collected hypotheses from open-ended interviews and a literature review of defect prediction papers that were published at ICSE, ESEC/FSE, ASE, TSE and TOSEM in the last 6 years (2012-2017). We then conducted a validation survey where the hypotheses became statements or options of our survey questions. We received 395 responses from practitioners from over 33 countries across five continents. Some of our key findings include: 1) Over 90 percent of respondents are willing to adopt defect prediction techniques. 2) There exists a disconnect between practitioners' perceptions and well supported research evidence regarding defect density distribution and the relationship between file size and defectiveness. 3) 7.2 percent of the respondents reveal an inconsistency between their behavior and perception regarding defect prediction. 4) Defect prediction at the feature level is the most preferred level of granularity by practitioners. 5) During bug fixing, more than 40 percent of the respondents acknowledged that they would make a “work-around” fix rather than correct the actual error-causing code. Through a qualitative analysis of free-form text responses, we identified reasons why practitioners are reluctant to adopt defect prediction tools. We also noted features that practitioners expect defect prediction tools to deliver. Based on our findings, we highlight future research directions and provide recommendations for practitioners.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Rogers, E. M., Singhal, A., & Quinlan, M. M. (2019) · An Integrated Approach to Communication Theory and Research · doi:10.4324/9780203710753-35 · Cited by 37,322
How Many Interviews Are Enough?: An Experiment with Data Saturation and Variability
Guest, G., Bunce, A., & Johnson, L. (2006) · Field Methods · doi:10.1177/1525822x05279903 · Cited by 20,808
Classification and Regression by randomForest
Liaw, A. I., & Wiener, M. C. (2007) · Cited by 18,594
Measuring nominal scale agreement among many raters.
Fleiss, J. L. (1971) · Psychological Bulletin · doi:10.1037/h0031619 · Cited by 8,733 · cited 1×
“We then use the Fleiss Kappa measure [19] to examine the agreement between the two labelers.”
MethodOn the Interpretation of χ 2 from Contingency Tables, and the Calculation of P
Fisher, R. A. (1922) · Journal of the Royal Statistical Society · doi:10.2307/2340521 · Cited by 2,953
The cathedral and the bazaar: musings on Linux and open source by an accidental revolutionary
(2002) · Choice Reviews Online · doi:10.5860/choice.39-2841 · Cited by 2,251
Hertel, G., Niedner, S., & Herrmann, S. (2003) · Research Policy · doi:10.1016/s0048-7333(03)00047-7 · Cited by 1,262 · cited 1×
“Surveys have explored practitioners’ attitudes, such as work habits [47] and motivation [29] as well as behavior [41].”
BackgroundA Systematic Literature Review on Fault Prediction Performance in Software Engineering
Hall, T., Beecham, S., Bowes, D., Gray, D., & Counsell, S. (2012) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2011.103 · Cited by 1,154 · cited 1×
“…[71], [81], [82]) Granularity of defect prediction ([27], [37], [96]) Privacy ([63], [65]) Performance evaluation ([49], [56]) Literature review ([24]) For each defect prediction paper, we summarized the main hypotheses behind the proposed technique, e.g., proposed metrics in the prediction…”
BackgroundAn empirical study of speed and communication in globally distributed software development
Herbsleb, J. D., & Mockus, A. (2003) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2003.1205177 · Cited by 997 · cited 1×
“Researchers also found that these overheads can slow down development [28] and increase defects [11].”
BackgroundTop 10 list [software development]
Boehm, B., & Basili, V. R. (2001) · Computer · doi:10.1109/2.962984 · Cited by 814 · cited 1×
“Previous studies observed that the majority of defects in a software system are in a small number of software modules [7].”
Background
Cited by
Deep learning based software defect prediction
Qiao, L., Li, X., Umer, Q., & Guo, P. (2020) · Neurocomputing · doi:10.1016/j.neucom.2019.11.067 · Cited by 219
Predicting Defective Lines Using a Model-Agnostic Technique
Wattanakriengkrai, S., Thongtanunam, P., Tantithamthavorn, C., Hata, H., & Matsumoto, K. (2022) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2020.3023177 · Cited by 137
“However, developers could still waste an SQA effort on manually identifying the most risky lines, since the current prediction granularity is still perceived as coarse-grained [87].”
BackgroundMethodResultInfluential
Metadata
- Authors
- Wan, Z., Xia, X., Hassan, A. E., Lo, D., Yin, J., & Yang, X.
- Venue
- IEEE Transactions on Software Engineering
- Published
- 2020-11-01
- Volume
- 46
- Issue
- 11
- Pages
- 1241-1266
- ISSN
- 0098-5589 (ISSN-L)
- 1939-3520
- 2326-3881
- OpenAlex
- W2898124301
- Cited by
- 169
- References
- 109
- FWCI
- 25.71
- Type
- journal article
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.