Identifying the severity of technical debt issues based on semantic and structural information

被引:0
|
作者
Dongjin Yu
Sicheng Li
Xin Chen
Tian Sun
机构
[1] Hangzhou Dianzi University,School of Computer Science and Technology
[2] Hangzhou Dianzi University,HDU
来源
Software Quality Journal | 2023年 / 31卷
关键词
Technical debt; Technical debt issues; Severity identification; Semantic information; Structural information; Code analysis;
D O I
暂无
中图分类号
学科分类号
摘要
Technical debt (TD) refers to the phenomenon that developers choose a compromise solution from a short-term benefit perspective during design or architecture selection. TD-related issues, such as code smells, may have a critical impact on important non-functional requirements. Different severity levels of TD issues require different measures to be taken by developers in the future. Existing studies mainly focus on detecting TD in software projects through source code or comments, but usually ignore the severity degree of TD issues. As a matter of fact, it is very important to identify the severity of TD issues and clarify which TD should be prioritized. In this paper, we propose an approach that combines the semantic and structural information of the code snippets to identify their severity at method level. In the approach, we first transform each method affected by TD issues into an abstract syntax tree (AST) and use the paths in the AST to represent its semantic information. Then, we extract different code metrics to measure the size, coupling, and complexity of methods affected by TD issues to represent their structural information. Finally, we build a stacking ensemble model to identify the severity of TD issues by using Random Forest (RF) and eXtreme Gradient Boosting (XGBoost) for the base classifiers and Support Vector Machine (SVM) for the meta-classifier. The evaluation results on the real dataset show that our approach achieves 65.77% in terms of precision, 68.18% in terms of recall, and 65.84% in terms of F1-score on average. In addition, the experimental results also demonstrate that the strategy of combining the semantic and structural information of code snippets is effective in improving the effectiveness of our approach.
引用
收藏
页码:1499 / 1526
页数:27
相关论文
共 50 条
  • [21] Semantic and encyclopedic information in bilingual technical dictionaries
    Geeb, F
    SYMPOSIUM ON LEXICOGRAPHY VIII, 1998, 90 : 175 - 186
  • [22] Semantic and conceptual issues in geographic information systems
    Clementini, Eliseo
    Zimanyi, Esteban
    JOURNAL OF SPATIAL INFORMATION SCIENCE, 2013, (07): : 25 - 26
  • [23] Technical Debt-Related Information Asymmetry between Finance and IT
    Stablein, Thomas
    Berndt, Donald
    Mullarkey, Matthew
    2018 IEEE/ACM INTERNATIONAL CONFERENCE ON TECHNICAL DEBT (TECHDEBT), 2018, : 134 - 137
  • [24] Sustainable tourism: Technical issues and information needs
    Buckley, R
    ANNALS OF TOURISM RESEARCH, 1996, 23 (04) : 925 - 928
  • [25] Structural and Semantic Proximity in Information Networks
    Franzoni, Valentina
    Milani, Alfredo
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2017, PT I, 2017, 10404 : 651 - 666
  • [26] Probabilistic Enhancement to the LEAP Process for Identifying Technical Debt in Iterative System Development
    Kleinwaks, Howard
    Batchelor, Ann
    Bradley, Thomas H.
    IEEE ACCESS, 2023, 11 : 144030 - 144039
  • [27] Identifying Architectural Technical Debt in Android Applications through Automated Compliance Checking
    Verdecchia, Roberto
    2018 IEEE/ACM 5TH INTERNATIONAL CONFERENCE ON MOBILE SOFTWARE ENGINEERING AND SYSTEMS (MOBILESOFT), 2018, : 35 - 36
  • [28] Correction to: Wait for it: identifying “On-Hold” self-admitted technical debt
    Rungroj Maipradit
    Christoph Treude
    Hideaki Hata
    Kenichi Matsumoto
    Empirical Software Engineering, 2021, 26
  • [29] Identifying vehicle types from trajectory data based on spatial-semantic information
    Zhang, Yunfei
    Xie, Yajun
    Shi, Chaoyang
    Li, Qiuping
    Yang, Bisheng
    Hao, Wei
    GEO-SPATIAL INFORMATION SCIENCE, 2024,
  • [30] Cloud Migration: Identifying the Sources of Potential Technical Challenges and Issues
    Staevsky, Nevena
    Gaftandzhieva, Silvia
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2023, 14 (12) : 46 - 53