期刊文献+
共找到1篇文章
< 1 >
每页显示 20 50 100
Using BiLSTM with attention mechanism to automatically detect self-admitted technical debt
1
作者 Dongjin YU Lin WANG +1 位作者 Xin CHEN Jie CHEN 《Frontiers of Computer Science》 SCIE EI CSCD 2021年第4期49-60,共12页
Technical debt is a metaphor for seeking short-term gains at expense of long-term code quality.Previous studies have shown that self-admitted technical debt,which is introduced intentionally,has strong negative impact... Technical debt is a metaphor for seeking short-term gains at expense of long-term code quality.Previous studies have shown that self-admitted technical debt,which is introduced intentionally,has strong negative impacts on software development and incurs high maintenance overheads.To help developers identify self-admitted technical debt,researchers have proposed many state-of-the-art methods.However,there is still room for improvement about the effectiveness of the current methods,as self-admitted technical debt comments have the characteristics of length variability,low proportion and style diversity.Therefore,in this paper,we propose a novel approach based on the bidirectional long short-term memory(BiLSTM)networks with the attention mechanism to automatically detect self-admitted technical debt by leveraging source code comments.In BiLSTM,we utilize a balanced cross entropy loss function to overcome the class unbalance problem.We experimentally investigate the performance of our approach on a public dataset including 62,566 code comments from ten open source projects.Experimental results show that our approach achieves 81.75%in terms of precision,72.24%in terms of recall and 75.86%in terms of F1-score on average and outperforms the state-of-the-art text mining-based method by 8.14%,5.49%and 6.64%,respectively. 展开更多
关键词 technical debt self-admitted technical debt long short-term memory attention mechanism natural language processing
原文传递
上一页 1 下一页 到第
使用帮助 返回顶部