CoChat

How Useful is Code Change Information for Fault Localization in Continuous Integration?

Chen, An Ran, Chen, Tse-Hsun (Peter), Chen, Junjie · 2022 · Proceedings of the 37th IEEE/ACM International Conference on Automated Software Engineering
Cited by 15

The DOI matches its Crossref record; 8 of the 8 references it cites were found in a registry or an index.

Abstract

Continuous integration (CI) is the process in which code changes are automatically integrated, built, and tested in a shared repository. In CI, developers frequently merge and test code under development, which helps isolate faults with finer-grained change information. To identify faulty code, prior research has widely studied and evaluated the performance of spectrum-based fault localization (SBFL) techniques. While the continuous nature of CI requires the code changes to be atomic and presents fine-grained information on what part of the system is being changed, traditional SBFL techniques do not benefit from it. To overcome the limitation, we propose to integrate the code and coverage change information in fault localization under CI settings. First, code changes show how faults are introduced into the system, and provide developers with better understanding on the root cause. Second, coverage changes show how the code coverage is impacted when faults are introduced. This change information can help limit the search space of code coverage, which offers more opportunities for improving fault localization techniques. Based on the above observations, we propose three new change-based fault localization techniques, and compare them with Ochiai, a commonly used SBFL technique. We evaluate these techniques on 192 real faults from seven software systems. Our results show that all three change-based techniques outperform Ochiai on the Defects4J dataset. In particular, the improvement varies from 7% to 23% and 17% to 24% for average MAP and MRR, respectively. Moreover, we find that our change-based fault localization techniques can be integrated with Ochiai, and boost its performance by up to 53% and 52% for average MAP and MRR, respectively.

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.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1145/3551349.3556931

Cites

8 of 8 references verified0 citation errors · 0 not checkable

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.

A few free checks a day · papers already verified open instantly · results are public

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

Show all 8 references

Research works printed but not linked: 56

  1. 2021. JaCoCo. https://www.eclemma.org/jacoco/. Last accessed May 5 2021.
  2. 2022. Deflaker. https://www.deflaker.org/. Last accessed February 28 2022.
  3. 2022. GZoltar. https://gzoltar.com/. Last accessed February 28 2022.
  4. Rui Abreu, Peter Zoeteweij, and Arjan J. C. van Gemund. 2009. Spectrum-Based Multiple Fault Localization. In Proceedings of the IEEE/ACM International Conference on Automated Software Engineering(ASE ’09). 88–99.
  5. 10.1016/j.jss.2009.06.035 · DOI · Paper page
  6. 10.1016/j.jss.2009.06.035 · DOI · Paper page
  7. 10.5555/1308173.1308264 · doi:10.5555/1308173.1308264
  8. Rui Abreu, Peter Zoeteweij, and Arjan J. C. van Gemund. 2007. On the Accuracy of Spectrum-based Fault Localization. In Proceedings of the Testing: Academic and Industrial Conference Practice and Research Techniques - MUTATION(TAICPART-MUTATION ’07). 89–98.
  9. 10.1109/ASE.2011.6100114 · DOI · Paper page
  10. Jonathan Bell, Owolabi Legunsen, Michael Hilton, Lamyaa Eloussi, Tifany Yung, and Darko Marinov. 2018. DeFlaker: Automatically detecting flaky tests. In 2018 IEEE/ACM 40th International Conference on Software Engineering (ICSE). IEEE, 433–444.
  11. 10.1109/MSR.2017.62 · DOI · Paper page
  12. 10.1145/2610384.2628058 · DOI · Paper page
  13. An Ran Chen, Tse-Hsun Peter Chen, and Shaowei Wang. 2021. Pathidea: Improving information retrieval-based bug localization by re-constructing execution paths using logs. IEEE Transactions on Software Engineering(2021).
  14. 10.1145/3338906.3338957 · DOI
  15. 10.1145/3324884.3416570 · DOI · Paper page
  16. 10.1109/ISSREW.2018.00005 · DOI
  17. Jackson Antonio do Prado Lima and Silvia Regina Vergilio. 2020. A multi-armed bandit approach for test case prioritization in continuous integration environments. IEEE Transactions on Software Engineering(2020).
  18. 10.1145/2635868.2635910 · DOI · Paper page
  19. 10.1109/TSE.2017.2755013 · DOI · Paper page
  20. 10.1145/3238147.3238183 · DOI
  21. [25] JavaParser.2019. https://javaparser.org/. Last accessed July 1 2020.
  22. 10.1109/ASE.2019.00054 · DOI · Paper page
  23. 10.1109/ICSE43902.2021.00069 · DOI · Paper page
  24. 10.1145/581396.581397 · DOI · Paper page
  25. 10.1145/2931037.2931051 · DOI · Paper page
  26. 10.1145/3106237.3106288 · doi:10.1145/3106237.3106288
  27. 10.1109/ICSM.2013.52 · DOI · Paper page
  28. 10.1109/ICSE43902.2021.00067 · DOI · Paper page
  29. 10.1145/3395363.3397351 · DOI · Paper page
  30. 10.1002/smr.1616 · DOI · Paper page
  31. 10.5555/1815297.1815299 · doi:10.5555/1815297.1815299
  32. 10.1145/1368088.1368114 · DOI · Paper page
  33. Manish Motwani and Yuriy Brun. 2020. Automatically repairing programs using both tests and bug reports. arXiv preprint arXiv:2011.08340(2020). · arXiv
  34. 10.1109/ICSE.2017.62 · DOI · Paper page
  35. 10.1145/3092703.3092717 · DOI · Paper page
  36. Xuezhi Song Yun Lin Siang Hwee Ng Ping Yu Xin Peng and Jin Song Dong. 2021. Constructing Regression Dataset from Code Evolution History. arXiv preprint arXiv:2109.12389(2021). · arXiv
  37. 10.1145/3001878.3001882 · doi:10.1145/3001878.3001882
  38. 10.1002/smr.1838 · DOI
  39. 10.1145/2786805.2786850 · DOI · Paper page
  40. 10.1145/2597008.2597148 · DOI · Paper page
  41. 10.1002/smr.1801 · DOI
  42. 10.1002/smr.1801 · DOI
  43. 10.1109/ICSE.2009.5070507 · DOI
  44. Ming Wen, Junjie Chen, Yongqiang Tian, Rongxin Wu, Dan Hao, Shi Han, and Shing-Chi Cheung. 2019. Historical spectrum based fault localization. IEEE Transactions on Software Engineering(2019).
  45. 10.1145/2970276.2970359 · DOI · Paper page
  46. 10.1145/3338906.3338962 · DOI · Paper page
  47. 10.1109/ICSME.2014.40 · DOI · Paper page
  48. 10.1016/j.jss.2009.09.037 · DOI · Paper page
  49. 10.1007/s10664-017-9567-4 · DOI
  50. 10.1145/2522920.2522924 · DOI · Paper page
  51. 10.1109/APSEC.2015.23 · DOI
  52. 10.1016/j.infsof.2020.106312 · DOI · Paper page
  53. 10.1145/3092703.3092731 · DOI · Paper page
  54. 10.1109/TSE.2019.2911283 · DOI · Paper page
  55. 10.5555/2337223.2337226 · doi:10.5555/2337223.2337226
  56. 10.1109/TSE.2019.2892102 · DOI · Paper page

Cited by

See all 15

Metadata

Authors
Chen, A. R., Chen, T.-H. (., & Chen, J.
Venue
Proceedings of the 37th IEEE/ACM International Conference on Automated Software Engineering
Publisher
ACM
Published
2022-10-10
Pages
1-12
Cited by
15
References
8
Funders
National Natural Science Foundation of China (62002256)

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

How to cite

Cite CoChat for the checks on this page, and the paper for its own findings.

This page
CoChat. (2026). Citation check: How Useful is Code Change Information for Fault Localization in Continuous Integration? https://app.cochat.ai/papers/10.1145/3551349.3556931
The paper
Chen, A. R., Chen, T.-H. (., & Chen, J. (2022). How Useful is Code Change Information for Fault Localization in Continuous Integration? Proceedings of the 37th IEEE/ACM International Conference on Automated Software Engineering. https://doi.org/10.1145/3551349.3556931

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.