PILOT: Synergy between Text Processing and Neural Networks to Detect Self-Admitted Technical Debt

A. D. Salle, Alessandra Rota, Phuong T. Nguyen, D. D. Ruscio, F. Fontana, Irene Sala
{"title":"PILOT: Synergy between Text Processing and Neural Networks to Detect Self-Admitted Technical Debt","authors":"A. D. Salle, Alessandra Rota, Phuong T. Nguyen, D. D. Ruscio, F. Fontana, Irene Sala","doi":"10.1145/3524843.3528093","DOIUrl":null,"url":null,"abstract":"During the development phase, software programmers usually introduce code that contains issues intentionally left for additional treatment. To allow for future fixing, they mark such code using textual comments, resulting in Self-Admitted Technical Debt (SATD). Detecting SATD contained in source code has become crucial in the development cycle since it helps program-mers locate issues that need to be solved, thus improving code quality. We introduce PILOT, a technical debt detector built on top of a combination of different natural language processing (NLP) and machine learning (ML) techniques. First, the semantic among SATD comments is captured using feature extraction steps. Then, neural network algorithms are applied to classify comments, represented as vectors. We built a PILOT prototype with a feed-forward neural network and evaluated it using real-world datasets as proof of concept. The empirical evaluation shows that PILOT obtains an encouraging performance and outperforms a well-established baseline. We anticipate that our tool will come in handy, as once being embedded in the IDE, it can help developers recognize SATD manifested in their code, allowing them to conveniently identify and fix issues.","PeriodicalId":149335,"journal":{"name":"2022 IEEE/ACM International Conference on Technical Debt (TechDebt)","volume":"201 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE/ACM International Conference on Technical Debt (TechDebt)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3524843.3528093","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

During the development phase, software programmers usually introduce code that contains issues intentionally left for additional treatment. To allow for future fixing, they mark such code using textual comments, resulting in Self-Admitted Technical Debt (SATD). Detecting SATD contained in source code has become crucial in the development cycle since it helps program-mers locate issues that need to be solved, thus improving code quality. We introduce PILOT, a technical debt detector built on top of a combination of different natural language processing (NLP) and machine learning (ML) techniques. First, the semantic among SATD comments is captured using feature extraction steps. Then, neural network algorithms are applied to classify comments, represented as vectors. We built a PILOT prototype with a feed-forward neural network and evaluated it using real-world datasets as proof of concept. The empirical evaluation shows that PILOT obtains an encouraging performance and outperforms a well-established baseline. We anticipate that our tool will come in handy, as once being embedded in the IDE, it can help developers recognize SATD manifested in their code, allowing them to conveniently identify and fix issues.
试点:文本处理和神经网络之间的协同作用,以检测自我承认的技术债务
在开发阶段,软件程序员通常会引入包含问题的代码,这些问题有意留给额外的处理。为了允许将来的修复,他们使用文本注释标记这样的代码,从而导致自我承认的技术债务(SATD)。检测源代码中包含的SATD在开发周期中变得至关重要,因为它可以帮助程序员定位需要解决的问题,从而提高代码质量。我们介绍PILOT,一种基于不同自然语言处理(NLP)和机器学习(ML)技术组合的技术债务检测器。首先,使用特征提取步骤捕获SATD注释之间的语义。然后,应用神经网络算法对评论进行分类,并将其表示为向量。我们建立了一个带有前馈神经网络的PILOT原型,并使用现实世界的数据集对其进行评估,作为概念验证。实证评价表明,PILOT取得了令人鼓舞的绩效,并优于既定的基准。我们希望我们的工具能够派上用场,因为一旦嵌入到IDE中,它就可以帮助开发人员识别代码中显示的SATD,使他们能够方便地识别和修复问题。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信