Deakin University
Browse

File(s) under permanent embargo

Exploiting gated graph neural network for detecting and explaining self-admitted technical debts

Version 2 2024-06-06, 09:52
Version 1 2022-01-14, 08:07
journal contribution
posted on 2024-06-06, 09:52 authored by J Yu, K Zhao, J Liu, Xiao LiuXiao Liu, Z Xu, X Wang
Self-admitted technical debt (SATD) refers to a specific type of technical debt that is introduced intentionally in the software development and maintenance processes. SATD enables practitioners to take some temporary solutions instead of making comprehensive decisions, which will lead to the high complexity of the software. However, most existing studies relied on manual methods for detecting SATDs. A recent study proposed a method HATD that used a hybrid attention-based method to automatically detect SATDs and it achieved the state-of-the-art performance. However, HATD mainly focused on the locality of the comment instances and lacked of the relationship between long-distance and discontinuous comment instances. To address such an issue, in this work, we propose a novel approach named GGSATD. Specifically, GGSATD first builds the graph for comment instances and then employs the gated graph neural network to iteratively update node representation. The global representation can be obtained by the soft attention mechanism and pooling operation. Experiments on 10 projects show that our GGSATD method obtains promising performance against five baseline methods in both within-project and cross-project scenarios. Extended experiments on seven real-world projects illustrate the effectiveness of our GGSATD method.

History

Journal

Journal of Systems and Software

Volume

187

Article number

111219

Pagination

1-12

Location

Amsterdam, The Netherlands

ISSN

0164-1212

Language

eng

Publication classification

C1 Refereed article in a scholarly journal

Publisher

Elsevier