中文
相关论文

相关论文: API2Com: On the Improvement of Automatically Gener…

200 篇论文

Code comments are important for program comprehension, development, and maintenance tasks. Given the varying standards for code comments, and their unstructured or semi-structured nature, developers get easily confused (especially novice…

软件工程 · 计算机科学 2023-04-26 Pooja Rani , Mathias Birrer , Sebastiano Panichella , Mohammad Ghafari , Oscar Nierstrasz

Code comment generation techniques aim to generate natural language descriptions for source code. There are two orthogonal approaches for this task, i.e., information retrieval (IR) based and neural-based methods. Recent studies have…

软件工程 · 计算机科学 2021-07-28 Huang Yuchao , Wei Moshi , Wang Song , Wang Junjie , Wang Qing

Code comments provide important information for understanding the source code. They can help developers understand the overall purpose of a function or class, as well as identify bugs and technical debt. However, an overabundance of…

计算与语言 · 计算机科学 2024-08-12 Nam Le Hai , Nghi D. Q. Bui

This paper presents a novel approach to enhance the performance of binary code comment quality classification models through the application of Generative Artificial Intelligence (AI). By leveraging the OpenAI API, a dataset comprising 1239…

软件工程 · 计算机科学 2023-10-23 Seetharam Killivalavan , Durairaj Thenmozhi

Comments are very useful to the flow of code development. With the increasing commonality of code, novice coders have been creating a significant amount of codebases. Due to lack of commenting standards, their comments are often useless,…

Code comment generation which aims to automatically generate natural language descriptions for source code, is a crucial task in the field of automatic software development. Traditional comment generation methods use manually-crafted…

软件工程 · 计算机科学 2020-10-12 Bolin Wei , Yongmin Li , Ge Li , Xin Xia , Zhi Jin

As the amount of textual data in various fields, including software development, continues to grow, there is a pressing demand for efficient and effective extraction and presentation of meaningful insights. This paper presents a unique…

软件工程 · 计算机科学 2023-08-21 AmirHossein Naghshzan , Sylvie Ratte

Modern code review is a process in which an incremental code contribution made by a code author is reviewed by one or more peers before it is committed to the version control system. An important element of modern code review is verifying…

In code review, generating structured and relevant comments is crucial for identifying code issues and facilitating accurate code changes that ensure an efficient code review process. Well-crafted comments not only streamline the code…

软件工程 · 计算机科学 2025-02-06 Oussama Ben Sghaier , Martin Weyssow , Houari Sahraoui

Comments are an integral part of software development; they are natural language descriptions associated with source code elements. Understanding explicit associations can be useful in improving code comprehensibility and maintaining the…

计算与语言 · 计算机科学 2019-12-17 Sheena Panthaplackel , Milos Gligoric , Raymond J. Mooney , Junyi Jessy Li

API documentation is crucial for developers to learn and use APIs. However, it is known that many official API documents are obsolete and incomplete. To address this challenge, we propose a new approach called AutoDoc that generates API…

软件工程 · 计算机科学 2026-01-14 Bonan Kou , Zijie Zhou , Muhao Chen , Tianyi Zhang

Although peer code review is widely adopted in both commercial and open source development, existing studies suggest that such code reviews often contain a significant amount of non-useful review comments. Unfortunately, to date, no tools…

软件工程 · 计算机科学 2018-07-13 Mohammad Masudur Rahman , Chanchal K. Roy , Raula G. Kula

Software development is a collaborative process that involves various interactions among individuals and teams. TODO comments in source code play a critical role in managing and coordinating diverse tasks during this process. However, this…

软件工程 · 计算机科学 2025-03-20 Haoye Wang , Zhipeng Gao , Tingting Bi , John Grundy , Xinyu Wang , Minghui Wu , Xiaohu Yang

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 comments, many code projects do not contain adequate comments.…

人工智能 · 计算机科学 2017-11-28 Wenhao Zheng , Hong-Yu Zhou , Ming Li , Jianxin Wu

The advent of large language models (LLMs) has ushered in a new era in automated code translation across programming languages. Since most code-specific LLMs are pretrained on well-commented code from large repositories like GitHub, it is…

软件工程 · 计算机科学 2026-01-26 Monika Gupta , Ajay Meena , Anamitra Roy Choudhury , Vijay Arya , Srikanta Bedathur

Deliberation is a common and natural behavior in human daily life. For example, when writing papers or articles, we usually first write drafts, and then iteratively polish them until satisfied. In light of such a human cognitive process, we…

软件工程 · 计算机科学 2022-09-15 Fangwen Mu , Xiao Chen , Lin Shi , Song Wang , Qing Wang

Motivation: Code understandability is crucial in software development, as developers spend 58% to 70% of their time reading source code. Improving it can improve productivity and reduce maintenance costs. Problem: Experimental studies often…

Existing automatic code comment generators mainly focus on producing a general description of functionality for a given code snippet without considering developer intentions. However, in real-world practice, comments are complicated, which…

软件工程 · 计算机科学 2023-02-15 Fangwen Mu , Xiao Chen , Lin Shi , Song Wang , Qing Wang

Based on developer needs and usage scenarios, API (Application Programming Interface) recommendation is the process of assisting developers in finding the required API among numerous candidate APIs. Previous studies mainly modeled API…

软件工程 · 计算机科学 2023-09-14 Yafeng Gu , Yiheng Shen , Xiang Chen , Shaoyu Yang , Yiling Huang , Zhixiang Cao

Code comments are the primary means to document implementation and facilitate program comprehension. Thus, their quality should be a primary concern to improve program maintenance. While much effort has been dedicated to detecting bad…

软件工程 · 计算机科学 2021-08-26 Arianna Blasi , Nataliia Stulova , Alessandra Gorla , Oscar Nierstrasz