中文
相关论文

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

200 篇论文

When done manually, refactoring legacy code in order to eliminate uses of deprecated APIs is an error-prone and time-consuming process. In this paper, we investigate to which degree refactorings for deprecated Java APIs can be automated,…

软件工程 · 计算机科学 2025-04-22 Cristina David , Pascal Kesseli , Daniel Kroening , Hanliang Zhang

Most software maintenance and evolution tasks require developers to understand the source code of their software systems. Software developers usually inspect class comments to gain knowledge about program behavior, regardless of the…

软件工程 · 计算机科学 2023-04-26 Pooja Rani , Sebastiano Panichella , Manuel Leuenberger , Andrea Di Sorbo , Oscar Nierstrasz

Source code documentation is an important artifact for efficient software development. Code documentation could greatly benefit from automation since manual documentation is often labouring, resource and time-intensive. In this paper, we…

软件工程 · 计算机科学 2022-09-07 Junaed Younus Khan , Gias Uddin

Documentation plays a crucial role in both external accountability and internal governance of AI systems. Although there are many proposals for documenting AI data, models, systems, and methods, the ways these practices enhance governance…

人机交互 · 计算机科学 2024-12-11 Amy A. Winecoff , Miranda Bogen

Code example is a crucial part of good documentation. It helps the developers to understand the documentation easily and use the corresponding code unit (e.g., method) properly. However, many official documentation still lacks (good) code…

软件工程 · 计算机科学 2023-03-28 Junaed Younus Khan , Gias Uddin

Modern software development relies heavily on Application Programming Interface (API) libraries. However, there are often certain constraints on using API elements in such libraries. Failing to follow such constraints (API misuse) could…

软件工程 · 计算机科学 2019-08-20 Tam The Nguyen , Phong Minh Vu , Tung Thanh Nguyen

Software programming requires both API reference (know-what) knowledge and programming task (know-how) knowledge. Lots of programming know-what and know-how knowledge is documented in text, for example, API reference documentation and…

软件工程 · 计算机科学 2023-08-08 Qing Huang , Zhiqiang Yuan , Zhenchang Xing , Zhengkang Zuo , Changjing Wang , Xin Xia

Developers often write low-quality code comments due to the lack of programming experience, which can reduce the efficiency of developers program comprehension. Therefore, developers hope that code comment generation tools can be developed…

软件工程 · 计算机科学 2021-07-09 Guang Yang , Xiang Chen , Jinxin Cao , Shuyuan Xu , Zhanqi Cui , Chi Yu , Ke Liu

Comments in software are critical for maintenance and reuse. But apart from prescriptive advice, there is little practical support or quantitative understanding of what makes a comment useful. In this paper, we introduce the task of…

软件工程 · 计算机科学 2018-06-13 Annie Louis , Santanu Kumar Dash , Earl T. Barr , Charles Sutton

Large Language Models (LLMs) increasingly automate software engineering tasks. While recent studies highlight the accelerated adoption of ``AI as a teammate'' in Open Source Software (OSS), developer interaction patterns remain…

软件工程 · 计算机科学 2026-01-21 Haoyu Gao , Peerachai Banyongrakkul , Hao Guan , Mansooreh Zahedi , Christoph Treude

Large language models (LLMs) struggle to consistently generate UI code that compiles and produces visually relevant designs. Existing approaches to improve generation rely on expensive human feedback or distilling a proprietary model. In…

计算与语言 · 计算机科学 2024-06-13 Jason Wu , Eldon Schoop , Alan Leung , Titus Barik , Jeffrey P. Bigham , Jeffrey Nichols

Project-specific code completion is a critical task that leverages context from a project to generate accurate code. State-of-the-art methods use retrieval-augmented generation (RAG) with large language models (LLMs) and project information…

软件工程 · 计算机科学 2025-07-29 Le Deng , Xiaoxue Ren , Chao Ni , Ming Liang , David Lo , Zhongxin Liu

Context: Due to the association of significant efforts, even a minor improvement in the effectiveness of Code Reviews(CR) can incur significant savings for a software development organization. Aim: This study aims to develop a finer grain…

软件工程 · 计算机科学 2023-06-21 Asif Kamal Turzo , Amiangshu Bosu

APIs (Application Programming Interfaces) are reusable software libraries and are building blocks for modern rapid software development. Previous research shows that programmers frequently share and search for reviews of APIs on the…

软件工程 · 计算机科学 2022-01-28 chengran Yang , Bowen Xu , Junaed younus Khan , Gias Uddin , Donggyun Han , Zhou Yang , David Lo

We propose a framework to automatically generate descriptive comments for source code blocks. While this problem has been studied by many researchers previously, their methods are mostly based on fixed template and achieves poor results.…

人工智能 · 计算机科学 2018-08-22 Yuding Liang , Kenny Q. Zhu

API misuse in code generated by large language models (LLMs) presents a serious and growing challenge in software development, as although LLMs demonstrate impressive code generation capabilities, their interactions with complex library…

软件工程 · 计算机科学 2025-12-19 Terry Yue Zhuo , Junda He , Jiamou Sun , Zhenchang Xing , David Lo , John Grundy , Xiaoning Du

A concern can be characterized as a developer's intent behind a piece of code, often not explicitly captured in it. We discuss a technique of recording concerns using source code annotations (concern annotations). Using two studies and two…

软件工程 · 计算机科学 2018-08-13 Matúš Sulír , Milan Nosáľ , Jaroslav Porubän

Issue reports have been recognized to contain rich information for retrieval-augmented code comment generation. However, how to minimize hallucinations in the generated comments remains significant challenges. In this paper, we propose…

软件工程 · 计算机科学 2025-06-18 Yanzhen Zou , Xianlin Zhao , Xinglu Pan , Bing Xie

User experience of mobile apps is an essential ingredient that can influence the audience volumes and app revenue. To ensure good user experience and assist app development, several prior studies resort to analysis of app reviews, a type of…

软件工程 · 计算机科学 2020-10-14 Cuiyun Gao , Wenjie Zhou , Xin Xia , David Lo , Qi Xie , Michael R. Lyu

Most of the web services are offered in the form of RESTful APIs. This has led to an active research interest in API testing to ensure the reliability of these services. While most of the testing techniques proposed in the past rely on the…

软件工程 · 计算机科学 2025-01-31 Devika Sondhi , Ananya Sharma , Diptikalyan Saha