Skip to main navigation Skip to search Skip to main content

Detecting multi-type self-admitted technical debt with generative adversarial network-based neural networks

  • Jiaojiao Yu
  • , Xu Zhou
  • , Xiao Liu
  • , Jin Liu*
  • , Zhiwen Xie
  • , Kunsong Zhao
  • *Corresponding author for this work
  • Wuhan United Imaging Med Technol Co LTD
  • Deakin Univ
  • Hong Kong Polytech Univ

Research output: Contribution to journal › Article › peer-review

9 Scopus citations

Abstract

["Context: Developers often introduce the self-admitted technical debt (SATD), i.e., a compromised solution to satisfy the delivery of the current goals, in code comments but do not eliminate them timely in the following software development and maintenance process. Automatically identifying the SATDs to reduce potential harm to software has attracted the attention of researchers. However, existing approaches only identified SATDs at a coarse-grained level, which impacts developers to locate and remove them.","Objective: This paper proposes a novel model named GCF, which is a deep learning method to enhance the performance of multi-type SATD classification based on generative adversarial network. Method: The GCF model employs the JSD Generative Adversarial Network to solve the imbalance problem, utilizes CodeBERT to fuse information of code snippets and natural language for initializing the instances as embedding vectors, and introduces the feature extraction module to extract the instance features more comprehensively.","Results: The experimental results show that, the GCF model obtains better performance compared with the state-of-the-art method. Moreover, experiments on the GCF model variants and others with different GAN models show the superiority of the GCF model.","Conclusion: Our proposed GCF model effectively solves the problem of imbalanced types of SATD, fuses the information of code snippets and natural language, and extracts key features to achieve outstanding performance in detecting multi-type SATD. Therefore, the GCF model is an effective method for detecting multi-type SATD."]
Original languageEnglish
Article number107190
Number of pages15
JournalInformation and Software Technology
Volume158
Early online dateMar 2023
DOIs
StatePublished - Jun 2023

Funding

This work was supported by the National Natural Science Founda-tion of China under Grants (No. 61972290) .

Keywords

  • Technical debt
  • SATD
  • Generative adversarial network
  • CodeBERT
  • Multi-head attention

Indexed by

  • Scopus
  • EI
  • SCIE

Fingerprint

Dive into the research topics of 'Detecting multi-type self-admitted technical debt with generative adversarial network-based neural networks'. Together they form a unique fingerprint.

Cite this