Student or educator? Sign up with your school email and get 6 months of Pro free.
Cited by 621

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

Deep code comment generation

Hu, Xing, Li, Ge, Xia, Xin, Lo, David, Jin, Zhi·2018·Proceedings of the 26th Conference on Program Comprehension

Abstract

During software maintenance, code comments help developers comprehend programs and reduce additional time spent on reading and navigating source code. Unfortunately, these comments are often mismatched, missing or outdated in the software projects. Developers have to infer the functionality from the source code. This paper proposes a new approach named DeepCom to automatically generate code comments for Java methods. The generated comments aim to help developers understand the functionality of Java methods. DeepCom applies Natural Language Processing (NLP) techniques to learn from a large code corpus and generates comments from learned features. We use a deep neural network that analyzes structural information of Java methods for better comments generation. We conduct experiments on a large-scale Java corpus built from 9,714 open source projects from GitHub. We evaluate the experimental results on a machine translation metric. Experimental results demonstrate that our method DeepCom outperforms the state-of-the-art by a substantial margin.

Overview

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

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

Integrity signals

Registry

Crossref · 10.1145/3196321.3196334

Cites

12 of 12 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.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

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 12 references

Research works printed but not linked: 36

  1. 10.1145/2635868.2635883 · DOI · Paper page
  2. 10.1145/2786805.2786849 · DOI · Paper page
  3. Miltiadis Allamanis, Hao Peng, and Charles Sutton. 2016. A convolutional attention network for extreme summarization of source code. In International Conference on Machine Learning. 2091--2100.
  4. 10.5555/3045118.3045344 · doi:10.5555/3045118.3045344
  5. Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. 2014. Neural Machine Translation by Jointly Learning to Align and Translate. Computer Science (2014).
  6. Manfred Broy, Florian Deißenböck, and Markus Pizka. 2005. A holistic approach to software quality at work. In Proc. 3rd World Congress for Software Quality (3WCSQ).
  7. Ciprian Chelba, Dan Bikel, Maria Shugrina, Patrick Nguyen, and Shankar Kumar. 2012. Large scale language modeling in automatic speech recognition. arXiv preprint arXiv:1210.8440 (2012). · arXiv
  8. Junyoung Chung, Caglar Gulcehre, KyungHyun Cho, and Yoshua Bengio. 2014. Empirical evaluation of gated recurrent neural networks on sequence modeling. arXiv preprint arXiv:1412.3555 (2014). · arXiv
  9. 10.1109/ICPC.2013.6613829 · DOI · Paper page
  10. 10.1145/2950290.2950334 · DOI · Paper page
  11. 10.5555/3172077.3172403 · doi:10.5555/3172077.3172403
  12. 10.1109/WCRE.2010.13 · DOI · Paper page
  13. 10.5555/2337223.2337322 · doi:10.5555/2337223.2337322 · Paper page
  14. Srinivasan Iyer Ioannis Konstas Alvin Cheung and Luke Zettlemoyer. 2016. Summarizing Source Code using a Neural Attention Model.. In ACL (1).
  15. 10.5555/3155562.3155583 · doi:10.5555/3155562.3155583
  16. Melvin Johnson Mike Schuster Quoc V Le Maxim Krikun Yonghui Wu Zhifeng Chen Nikhil Thorat Fernanda Viégas Martin Wattenberg Greg Corrado et al. 2016. Google's multilingual neural machine translation system: enabling zero-shot translation. arXiv preprint arXiv:1611.04558 (2016). · DOI · Paper page
  17. Guillaume Klein, Yoon Kim, Yuntian Deng, Jean Senellart, and Alexander M Rush. 2017. Opennmt: Open-source toolkit for neural machine translation. arXiv preprint arXiv:1701.02810 (2017). · arXiv
  18. 10.1145/2597008.2597149 · DOI
  19. 10.1109/ICPC.2013.6613830 · DOI · Paper page
  20. 10.5555/3015812.3016002 · doi:10.5555/3015812.3016002
  21. Lili Mou, Rui Men, Ge Li, Lu Zhang, and Zhi Jin. 2015. On end-to-end program generation from user intention by deep neural networks. arXiv preprint arXiv:1510.07211 (2015). · arXiv
  22. 10.1145/2491411.2491458 · DOI
  23. 10.1109/ASE.2015.36 · DOI
  24. 10.1145/2884781.2884848 · DOI · Paper page
  25. 10.1145/2775051.2677009 · DOI
  26. Alexander M Rush, Sumit Chopra, and Jason Weston. 2015. A neural attention model for abstractive sentence summarization. arXiv preprint arXiv:1509.00685 (2015). · arXiv
  27. 10.1145/1985793.1985808 · DOI
  28. Ilya Sutskever Oriol Vinyals and Quoc V Le. 2014. Sequence to sequence learning with neural networks. In Advances in neural information processing systems. 3104--3112. · doi:10.5555/2969033.2969173
  29. 10.1142/S0218194016400106 · DOI
  30. 10.1145/2884781.2884804 · DOI · Paper page
  31. 10.1145/2970276.2970326 · DOI · Paper page
  32. Edmund Wong, Taiyue Liu, and Lin Tan. 2015. Clocom: Mining existing source code for automatic comment generation. In Software Analysis, Evolution and Reengineering (SANER), 2015 IEEE 22nd International Conference on. IEEE, 380--389.
  33. 10.1109/ASE.2013.6693113 · DOI
  34. Yonghui Wu Mike Schuster Zhifeng Chen Quoc V Le Mohammad Norouzi Wolfgang Macherey Maxim Krikun Yuan Cao Qin Gao Klaus Macherey et al. 2016. Google's neural machine translation system: Bridging the gap between human and machine translation. arXiv preprint arXiv:1609.08144 (2016). · arXiv
  35. 10.5555/3060832.3061037 · doi:10.5555/3060832.3061037
  36. 10.1109/ASE.2011.6100145 · DOI

Cited by

Metadata

Authors
Hu, X., Li, G., Xia, X., Lo, D., & Jin, Z.
Venue
Proceedings of the 26th Conference on Program Comprehension
Publisher
ACM
Published
2018-05-28
Pages
200-210
OpenAlex
W2884276923
Cited by
621
References
12
FWCI
49.83
Type
conference paper
Language
en
Open access
closed
Funders
  • National Natural Science Foundation of China (61232015,61620106007)
  • National Basic Research Program of China (the 973 Program) (2015CB352201)

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.