Learning code context information to predict comment locations

Y Huang, X Hu, N Jia, X Chen, Y Xiong… - IEEE Transactions on …, 2019 - ieeexplore.ieee.org
Code commenting is a common programming practice of practical importance to help
developers review and comprehend source code. In our developer survey, commenting has …

Guiding developers to make informative commenting decisions in source code

Y Huang, N Jia, Q Zhou, X Chen, Y Xiong… - Proceedings of the 40th …, 2018 - dl.acm.org
Code commenting is a common programming practice of practical importance to help
developers review and comprehend source code. However, there is a lack of thorough …

Does your code need comment?

Y Huang, N Jia, J Shu, X Hu, X Chen… - Software: Practice and …, 2020 - Wiley Online Library
Code comments convey information about the programmers' intention in a more explicit but
less rigorous manner than source code. This information can assist programmers in various …

CommtPst: Deep learning source code for commenting positions prediction

Y Huang, X Hu, N Jia, X Chen, Z Zheng… - Journal of Systems and …, 2020 - Elsevier
Existing techniques for automatic code commenting assume that the code snippet to be
commented has been identified, thus requiring users to provide the code snippet in …

CodeAttention: translating source code to comments by exploiting the code constructs

W Zheng, H Zhou, M Li, J Wu - Frontiers of Computer Science, 2019 - Springer
Appropriate comments of code snippets provide insight for code functionality, which are
helpful for program comprehension. However, due to the great cost of authoring with the …

Developer-intent driven code comment generation

F Mu, X Chen, L Shi, S Wang… - 2023 IEEE/ACM 45th …, 2023 - ieeexplore.ieee.org
Existing automatic code comment generators mainly focus on producing a general
description of functionality for a given code snippet without considering developer intentions …

Where should I comment my code? A dataset and model for predicting locations that need comments

A Louis, SK Dash, ET Barr, MD Ernst… - Proceedings of the ACM …, 2020 - dl.acm.org
Programmers should write code comments, but not on every line of code. We have created a
machine learning model that suggests locations where a programmer should write a code …

Automated evaluation of comments to aid software maintenance

S Majumdar, A Bansal, PP Das… - Journal of Software …, 2022 - Wiley Online Library
Approaches to evaluate comments based on whether they increase code comprehensibility
for software maintenance tasks are important, but largely missing. We propose Comment P …

APIContext2Com: Code Comment Generation by Incorporating Pre-Defined API Documentation

R Shahbazi, F Fard - 2023 IEEE/ACM 31st International …, 2023 - ieeexplore.ieee.org
Code comments are significantly helpful in comprehending software programs and also aid
developers to save a great deal of time in software maintenance. Code comment generation …

The secret life of commented-out source code

TMT Pham, J Yang - Proceedings of the 28th International Conference …, 2020 - dl.acm.org
Source code commenting is a common practice to improve code comprehension in software
development. While comments often consist of descriptive natural language, surprisingly …