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 条
  • [31] Evaluating Quality Issues in BPMN Models by Extending a Technical Debt Software Platform
    Giraldo, Faber D.
    Osorio, Fabian D.
    ADVANCES IN CONCEPTUAL MODELING, ER 2017, 2017, 10651 : 205 - 215
  • [32] Assessing IDEA Diagrams for Supporting Analysis of Capabilities and Issues in Technical Debt Management
    Freire, Savio
    Rocha, Verusca
    Mendonca, Manoel
    Izurieta, Clemente
    Seaman, Carolyn
    Spinola, Rodrigo
    PRODUCT-FOCUSED SOFTWARE PROCESS IMPROVEMENT, PROFES 2023, PT I, 2024, 14483 : 243 - 258
  • [33] A dynamic graph structural framework for implicit sentiment identification based on complementary semantic and structural information
    Zhao, Yuxia
    Mamat, Mahpirat
    Aysa, Alimjan
    Ubul, Kurban
    SCIENTIFIC REPORTS, 2024, 14 (01):
  • [34] Preface: semantic and conceptual issues in geographic information systems
    Zimanyi, Esteban
    GEOINFORMATICA, 2010, 14 (03) : 277 - 278
  • [35] Preface: semantic and conceptual issues in geographic information systems
    Esteban Zimányi
    GeoInformatica, 2010, 14 : 277 - 278
  • [36] How latent semantic analysis (LSA) represents essay semantic content: Technical issues and analyses
    Schreiner, ME
    Rehder, B
    Landauer, TK
    Laham, D
    PROCEEDINGS OF THE NINETEENTH ANNUAL CONFERENCE OF THE COGNITIVE SCIENCE SOCIETY, 1997, : 1041 - 1041
  • [37] Attention-Based Character-Word Hybrid Neural Networks With Semantic and Structural Information for Identifying of Urgent Posts in MOOC Discussion Forums
    Guo, Shou Xi
    Sun, Xia
    Wang, Shi Xiong
    Gao, Yi
    Feng, Jun
    IEEE ACCESS, 2019, 7 : 120522 - 120532
  • [38] Importance of Semantic Information Based on Semantic Value
    Gao, Shang
    Qin, Xiaoqi
    Chen, Li
    Chen, Yunfei
    Han, Kaifeng
    Zhang, Ping
    IEEE TRANSACTIONS ON COMMUNICATIONS, 2024, 72 (09) : 5443 - 5457
  • [39] Joint rumour and stance identification based on semantic and structural information in social networks
    Nanhang Luo
    Dongdong Xie
    Yiwen Mo
    Fei Li
    Chong Teng
    Donghong Ji
    Applied Intelligence, 2024, 54 : 264 - 282
  • [40] Joint rumour and stance identification based on semantic and structural information in social networks
    Luo, Nanhang
    Xie, Dongdong
    Mo, Yiwen
    Li, Fei
    Teng, Chong
    Ji, Donghong
    APPLIED INTELLIGENCE, 2024, 54 (01) : 264 - 282