CoChat

The flowing nature matters: feature learning from the control flow graph of source code for bug localization

Open access
Ma, Yi-Fan, Li, Ming · 2022 · Machine Learning

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

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.1007/s10994-021-06078-4

Cites

2 of 2 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

Research works printed but not linked: 33

  1. Allamanis, M., Brockschmidt, M., & Khademi, M. (2018). Learning to represent programs with graphs. In International Conference on Learning Representations.
  2. Alon, U., Zilberstein, M., Levy, O., & Yahav, E. (2019). Code2vec: Learning distributed representations of code Proc. ACM Program. Lang., 3. · DOI · Paper page
  3. Fischer, M., Pinzger, M., & Gall, H. (2003). Populating a release history database from version control and bug tracking systems. In International Conference on Software Maintenance, 2003. ICSM 2003. Proceedings., pp. 23–32. · DOI · Paper page
  4. Gay, G., Haiduc, S., Marcus, A., & Menzies, T. (2009). On the use of relevance feedback in ir-based concept location. In 2009 IEEE International Conference on Software Maintenance, pp. 351–360. · DOI · Paper page
  5. Grover, A., & Leskovec, J. (2016). Node2vec: Scalable feature learning for networks. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, page 855–864, San Francisco, California, USA. Association for Computing Machinery. · DOI · Paper page
  6. Huo, X., & Li, M. (2017). Enhancing the unified features to locate buggy files by exploiting the sequential nature of source code. In Proceedings of the 25th International Joint Conference on Artificial Intelligence, pp. 1909–1915, Melbourne, Australia. · DOI
  7. Huo, X., Li, M., & Zhou, Z.-H. (2016). Learning unified features from natural and programming languages for locating buggy source code. In Proceedings of the 25th International Joint Conference on Artificial Intelligence, pp. 1606–1612, New York, USA.
  8. Huo, X., Li, M., & Zhou, Z.-H. (2020). Control flow graph embedding based on multi-instance decomposition for bug localization. In Proceedings of the 34th AAAI Conference on Artificial Intelligence, volume 34, pp. 4223–4230, New York, USA. · DOI
  9. Huo, X., Thung, F., Li, M., Lo, D., & Shi, S.-T. (2019). Deep transfer bug localization. IEEE Transactions on Software Engineering.
  10. Kim, Y. (2014). Convolutional neural networks for sentence classification. In Proceedings of the Conference on Empirical Methods in Natural Lanugage Processing, pp. 1746–1751, Doha, Qatar. · DOI · Paper page
  11. Kingma, D. P. & Ba, J. (2014). Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980. · arXiv
  12. Kipf, T. N. & Welling, M. (2017). Semi-supervised classification with graph convolutional networks. In 5th International Conference on Learning Representations, Toulon, France, April 24-26, 2017, Conference Track Proceedings.
  13. Kochhar, P. S., Tian, Y., & Lo, D. (2014). Potential biases in bug localization: Do they matter? In Proceedings of the 29th ACM/IEEE International Conference on Automated Software Engineering, pp. 803–814, Vasteras, Sweden. · doi:10.1145/2642937.2642997
  14. Lam, A. N., Nguyen, A. T., Nguyen, H. A., & Nguyen, T. N. (2015). Combining deep learning with information retrieval to localize buggy files for bug reports (n). In 2015 30th IEEE/ACM International Conference on Automated Software Engineering, pp. 476–481. · DOI · Paper page
  15. Lam, A. N., Nguyen, A. T., Nguyen, H. A., & Nguyen, T. N. (2017). Bug localization with combination of deep learning and information retrieval. In 2017 IEEE/ACM 25th International Conference on Program Comprehension, pp. 218–229. · DOI · Paper page
  16. Li, Y., Wang, S.-H., & Nguyen, T. N. (2020). Dlfix: Context-based code transformation learning for automated program repair. In Proceedings of the ACM/IEEE 42nd International Conference on Software Engineering, ICSE ’20, page 602–614, New York, NY, USA. Association for Computing Machinery. · DOI · Paper page
  17. Li, Y., Wang, S.-H., Nguyen, T. N., & Van Nguyen, S. (2019). Improving bug detection via context-based code representation learning and attention-based neural networks Proc. ACM Program. Lang., 3. · DOI · Paper page
  18. Li, Y.-J., Tarlow, D., Brockschmidt, M., & Zemel, R. (2015). Gated graph sequence neural networks. arXiv preprint arXiv:1511.05493. · arXiv
  19. Lukins, S. K., Kraft, N. A., & Etzkorn, L. H. (2008). Source code retrieval for bug localization using latent dirichlet allocation. In 2008 15th Working Conference on Reverse Engineering, pp. 155–164. · DOI · Paper page
  20. Mou, L.-L., Li, G., Zhang, L., Wang, T., & Jin, Z. (2016). Convolutional neural networks over tree structures for programming language processing. Proceedings of the AAAI Conference on Artificial Intelligence, 30(1). · DOI · Paper page
  21. Niepert, M., Ahmed, M., & Kutzkov, K. (2016). Learning convolutional neural networks for graphs. In Proceedings of The 33rd International Conference on Machine Learning, volume 48 of Proceedings of Machine Learning Research, pp. 2014–2023. PMLR.
  22. Perozzi, B., Al-Rfou, R., & Skiena, S. (2014). Deepwalk: Online learning of social representations. In Proceedings of the 20th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 701–710, New York, NY, USA. · DOI · Paper page
  23. Poshyvanyk, D., Gueheneuc, Y.-G., Marcus, A., Antoniol, G., & Rajlich, V. (2007). Feature location using probabilistic ranking of methods based on execution scenarios and information retrieval. IEEE Transactions on Software Engineering, 33(6), 420–432. · DOI · Paper page
  24. Rahman, M. M. & Roy, C. K. (2018). Improving ir-based bug localization with context-aware query reformulation. In Proceedings of the 2018 26th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering, pp. 621–632, New York, NY, USA. · DOI · Paper page
  25. Shi, S.-T., Li, M., Lo, D., Thung, F., & Huo, X. (2019). Automatic code review by learning the revision of source code. Proceedings of the AAAI Conference on Artificial Intelligence, 33(01), 4910–4917. · DOI · Paper page
  26. Veličković, P., Cucurull, G., Casanova, A., Romero, A., Liò, P., & Bengio, Y. (2018). Graph attention networks. In International Conference on Learning Representations.
  27. Wei, H.-H., & Li, M. (2017). Supervised deep features for software functional clone detection by exploiting lexical and syntactical information in source code. In Proceedings of the 26th International Joint Conference on Artificial Intelligence, pp. 3034–3040. · DOI · Paper page
  28. White, M., Vendome, C., Linares-Vasquez, M., & Poshyvanyk, D. (2015). Toward deep learning software repositories. In 2015 IEEE/ACM 12th Working Conference on Mining Software Repositories, pp. 334–345. · DOI · Paper page
  29. Ye, X., Bunescu, R., & Liu, C. (2014). Learning to rank relevant files for bug reports using domain knowledge. In Proceedings of the 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering, pp. 689–699, New York, NY, USA. · DOI · Paper page
  30. Youm, K. C., Ahn, J., & Lee, E. (2017). Improved bug localization based on code change histories and bug reports. Information and Software Technology, 82, 177–192. · DOI
  31. Zhang, J.-L., Xie, R., Ye, W., Zhang, Y.-H., & Zhang, S.-K. (2020). Exploiting code knowledge graph for bug localization via bi-directional attention. In Proceedings of the 28th International Conference on Program Comprehension, pp. 219–229, New York, NY, USA. · DOI
  32. Zhang, Y.-Y., & Li, M. (2019). Find me if you can: Deep software clone detection by exploiting the contest between the plagiarist and the detector. Proceedings of the AAAI Conference on Artificial Intelligence, 33(01), 5813–5820. · DOI
  33. Zhou, Y.-Q., Liu, S.-Q., Siow, J., Du, X.-N., & Liu, Y. (2019). Devign: Effective vulnerability identification by learning comprehensive program semantics via graph neural networks. In Advances in Neural Information Processing Systems, 32, 10197–10207.

Cited by

See all 16

Metadata

Authors
Ma, Y.-F., & Li, M.
Affiliations
Nanjing University (CN)
Corresponding author
Li, Ming
Venue
Machine Learning
Published
2022-02-17
Volume
111
Issue
3
Pages
853-870
ISSN
  • 0885-6125 (ISSN-L)
  • 1573-0565
OpenAlex
W4283386367
Cited by
16
References
2
Citations by year
2026: 2 · 2025: 5 · 2024: 3 · 2023: 5 · 2022: 1
FWCI
3.40
Type
journal article
Language
en
Open access
Licence
Locations
Machine Learning (publishedVersion)
Funders
NSFC (61751306)
Topics
  • Physical Sciences › Computer Science › Information Systems › Software Engineering Research
  • Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
  • Physical Sciences › Computer Science › Software › Software Reliability and Analysis Research
Keywords
bug localization, control flow graph, representation learning, program structure, graph neural networks, software maintenance

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.