MESIA: Understanding and Leveraging Supplementary Nature of Method-level Comments for Automatic Comment Generation

X Pan, C Liu, Y Zou, T Xie, B Xie - Proceedings of the 32nd IEEE/ACM …, 2024 - dl.acm.org
Code comments are important for developers in program comprehension. In scenarios of
comprehending and reusing a method, developers expect code comments to provide …

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 …

A comparative study on method comment and inline comment

Y Huang, H Guo, X Ding, J Shu, X Chen, X Luo… - ACM Transactions on …, 2023 - dl.acm.org
Code comments are one of the important documents to help developers review and
comprehend source code. In recent studies, researchers have proposed many deep …

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 …

Api2com: On the improvement of automatically generated code comments using api documentations

R Shahbazi, R Sharma, FH Fard - 2021 IEEE/ACM 29th …, 2021 - ieeexplore.ieee.org
Code comments can help in program comprehension and are considered as important
artifacts to help developers in software maintenance. However, the comments are mostly …

HatCUP: hybrid analysis and attention based just-in-time comment updating

H Zhu, X He, L Xu - Proceedings of the 30th IEEE/ACM International …, 2022 - dl.acm.org
When changing code, developers sometimes neglect updating the related comments,
bringing inconsistent or outdated comments. These comments increase the cost of program …

An Intra-Class Relation Guided Approach for Code Comment Generation

Z Wang, X Yu, Y Feng, D Zhao - Findings of the Association for …, 2023 - aclanthology.org
Code comments are critical for maintaining and comprehending software programs, but they
are often missing, mismatched, or outdated in practice. Code comment generation task aims …

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 …

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 …

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 …