Work

Automating Issue Report Labeling and Source Code Comment Generation using Large Language Models

Year: 2026
Type: dissertation
Abstract: Software maintenance is defined as the modification of a software product after delivery to correct faults, improve performance or other attributes, or adapt the product to a modified environment. Studies estimate that software maintenance activities consume up to 80% of software development resources. A key challenge in software maintenance is enabling developers to effectively understand their software and identify the components that require correction, improvement, or adaptation. To support these activities, developers rely on artifacts that capture information about the software, including issue reports that describe desired changes and source code comments that document the purpose and behaviour of software components. However, similar to the software they describe, these artifacts also require maintenance, which can involve substantial manual effort. Consequently, the maintenance of these artifacts is not always consistently performed in practice, which can hinder developers' ability to effectively maintain their software. As a result, in this thesis, we propose LLM-based automated approaches for automating two software artifact maintenance tasks. The first is for assigning labels to issue reports, which are short descriptive tags that categorize issue reports into functional and technical dimensions (e.g., feature request, user experience, bug, performance, security). The second is for generating source code comments. We empirically evaluate our proposed approaches against existing approaches for their respective tasks and find that our approaches outperform the existing approaches across various evaluation metrics. Our proposed approaches can be leveraged by software developers to alleviate the manual effort involved with labeling issue reports and commenting source code, allowing them to devote more time to other development and maintenance tasks.
Institution: Queen's University
Language: English
Open Access status: green
OpenAlex ID: W7225025352
Cites: 100
Cited by:
Related to: 10