Software Self-admitted Technical Debt Identification with Bidirectional Gate Recurrent Unit and Attention Mechanism
Software self-admitted technical debt(SATD) is written into the source code comments of the project by developers who leave a note admitting incurring intentionally for short-term benefits,and a large amount of SATD will be dangerous to software maintenance.In recent years,more scholars focus on the...
Main Author: | |
---|---|
Format: | Article |
Language: | zho |
Published: |
Editorial office of Computer Science
2022-07-01
|
Series: | Jisuanji kexue |
Subjects: | |
Online Access: | https://www.jsjkx.com/fileup/1002-137X/PDF/1002-137X-2022-49-7-212.pdf |
_version_ | 1797845144132648960 |
---|---|
author | XIONG Luo-geng, ZHENG Shang, ZOU Hai-tao, YU Hua-long, GAO Shang |
author_facet | XIONG Luo-geng, ZHENG Shang, ZOU Hai-tao, YU Hua-long, GAO Shang |
author_sort | XIONG Luo-geng, ZHENG Shang, ZOU Hai-tao, YU Hua-long, GAO Shang |
collection | DOAJ |
description | Software self-admitted technical debt(SATD) is written into the source code comments of the project by developers who leave a note admitting incurring intentionally for short-term benefits,and a large amount of SATD will be dangerous to software maintenance.In recent years,more scholars focus on the research of software SATD recognition and propose different identification approaches,such as SATD detection based on natural language processing or text mining.However,the identification results of most previous studies are not very well due to the existing thesaurus or manually extracted features,which not only consumes a lot of time,but also increases computational complexity.Therefore,a software SATD identification approach based on bidirectional gated recurrent unit(GRU) and attention mechanism is proposed.The word vector is obtained first through the Skip-gram model,and the bidirectional GRU network is constructed to obtain the high-level features.Finally,the attention mechanism is used to automatically discover words that play a key role in SATD identification,and the most important semantic information can be captured.Experimental results show that the proposed approach has excellent performance in precision,recall and F1-score.It can effectively identify software SATD and avoid complex feature engineering in traditional tasks. |
first_indexed | 2024-04-09T17:35:08Z |
format | Article |
id | doaj.art-91fc26dabd884fd99386f844c8f0ab7c |
institution | Directory Open Access Journal |
issn | 1002-137X |
language | zho |
last_indexed | 2024-04-09T17:35:08Z |
publishDate | 2022-07-01 |
publisher | Editorial office of Computer Science |
record_format | Article |
series | Jisuanji kexue |
spelling | doaj.art-91fc26dabd884fd99386f844c8f0ab7c2023-04-18T02:32:12ZzhoEditorial office of Computer ScienceJisuanji kexue1002-137X2022-07-0149721221910.11896/jsjkx.210500075Software Self-admitted Technical Debt Identification with Bidirectional Gate Recurrent Unit and Attention MechanismXIONG Luo-geng, ZHENG Shang, ZOU Hai-tao, YU Hua-long, GAO Shang0School of Computer,Jiangsu University of Science and Technology,Zhenjiang,Jiangsu 212100,ChinaSoftware self-admitted technical debt(SATD) is written into the source code comments of the project by developers who leave a note admitting incurring intentionally for short-term benefits,and a large amount of SATD will be dangerous to software maintenance.In recent years,more scholars focus on the research of software SATD recognition and propose different identification approaches,such as SATD detection based on natural language processing or text mining.However,the identification results of most previous studies are not very well due to the existing thesaurus or manually extracted features,which not only consumes a lot of time,but also increases computational complexity.Therefore,a software SATD identification approach based on bidirectional gated recurrent unit(GRU) and attention mechanism is proposed.The word vector is obtained first through the Skip-gram model,and the bidirectional GRU network is constructed to obtain the high-level features.Finally,the attention mechanism is used to automatically discover words that play a key role in SATD identification,and the most important semantic information can be captured.Experimental results show that the proposed approach has excellent performance in precision,recall and F1-score.It can effectively identify software SATD and avoid complex feature engineering in traditional tasks.https://www.jsjkx.com/fileup/1002-137X/PDF/1002-137X-2022-49-7-212.pdfsoftware maintenance|satd|word2vec|attention mechanism|gru |
spellingShingle | XIONG Luo-geng, ZHENG Shang, ZOU Hai-tao, YU Hua-long, GAO Shang Software Self-admitted Technical Debt Identification with Bidirectional Gate Recurrent Unit and Attention Mechanism Jisuanji kexue software maintenance|satd|word2vec|attention mechanism|gru |
title | Software Self-admitted Technical Debt Identification with Bidirectional Gate Recurrent Unit and Attention Mechanism |
title_full | Software Self-admitted Technical Debt Identification with Bidirectional Gate Recurrent Unit and Attention Mechanism |
title_fullStr | Software Self-admitted Technical Debt Identification with Bidirectional Gate Recurrent Unit and Attention Mechanism |
title_full_unstemmed | Software Self-admitted Technical Debt Identification with Bidirectional Gate Recurrent Unit and Attention Mechanism |
title_short | Software Self-admitted Technical Debt Identification with Bidirectional Gate Recurrent Unit and Attention Mechanism |
title_sort | software self admitted technical debt identification with bidirectional gate recurrent unit and attention mechanism |
topic | software maintenance|satd|word2vec|attention mechanism|gru |
url | https://www.jsjkx.com/fileup/1002-137X/PDF/1002-137X-2022-49-7-212.pdf |
work_keys_str_mv | AT xiongluogengzhengshangzouhaitaoyuhualonggaoshang softwareselfadmittedtechnicaldebtidentificationwithbidirectionalgaterecurrentunitandattentionmechanism |