Back to search

Queen's University at Kingston

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

Abstract

dc:description.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.

Degree

thesis:*
Department dc:contributor.department
Computing
Grantor
Queen's University at Kingston
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Johnston, Liam
Advisor dc:contributor.supervisor
  • Zou, Ying

Subjects

dc:subject × 5

Rights

Language dc:language.iso
eng

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/1974/37125

Chain of custody

source
Harvested from
Queens University
Base URL
qspace.library.queensu.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Johnston, Liam. Automating Issue Report Labeling and Source Code Comment Generation using Large Language Models. Queen's University at Kingston, 2026. https://hdl.handle.net/1974/37125