arrow
返回

Local and Global Explainability for Technical Debt Identification

delete2024-08-01
delete0
PRE
AI
D
Dimitrios Tsoukalas
N
Nikolaos Mittas
E
Elvira-Maria Arvanitou
A
Apostolos Ampatzoglou *
A
Alexander Chatzigeorgiou
D
Dionysios Kehagias
DOI:10.1109/TSE.2024.3422427delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
In recent years, we have witnessed an important increase in research focusing on how machine learning (ML) techniques can be used for software quality assessment and improvement. However, the derived methodologies and tools lack transparency, due to the black-box nature of the employed machine learning models, leading to decreased trust in their results. To address this shortcoming, in this paper we extend the state-of-the-art and -practice by building explainable AI models on top of machine learning ones, to interpret the factors (i.e. software metrics) that constitute a module as in risk of having high technical debt (HIGH TD), to obtain thresholds for metric scores that are alerting for poor maintainability, and finally, we dig further to achieve local interpretation that explains the specific problems of each module, pinpointing to specific opportunities for improvement during TD management. To achieve this goal, we have developed project-specific classifiers (characterizing modules as HIGH and NOT-HIGH TD) for 21 open-source projects, and we explain their rationale using the SHapley Additive exPlanation (SHAP) analysis. Based on our analysis, complexity, comments ratio, cohesion, nesting of control flow statements, coupling, refactoring activity, and code churn are the most important reasons for characterizing classes as in HIGH TD risk. The analysis is complemented with global and local means of interpretation, such as metric thresholds and case-by-case reasoning for characterizing a class as in-risk of having HIGH TD. The results of the study are compared against the state-of-the-art and are interpreted from the point of view of both researchers and practitioners.
Keyword:
Codes
Software
Software measurement
Complexity theory
Object oriented modeling
Informatics
Feature extraction
Technical debt
technical debt identification
software quality
software metrics
explainable AI
SHAP

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
2.8K
被引数:
1.1W

机构

U
University of Macedonia
学者数:
832
论文数: 920
被引数: 536
引用论文

引用论文

Estimating the Principal of an Application's Technical Debt
err2012-11-01
err77
PREAI
errCurtis, Bill; Sappidi, Jay; Szynkarski, Alexandra
err分享
err收藏
err分享
err收藏
The Impact of Feature Importance Methods on the Interpretation of Defect Classifiers
err2022-07-01
err62
errOAAI
errRajbahadur, Gopi Krishnan; Wang, Shaowei; Oliva, Gustavo A.; Kamei, Yasutaka; Hassan, Ahmed E.
err分享
err收藏
Color association values and response interference on variants of the Stroop test
err1967-01-01
err0
PREAI
errKarl E. Scheibe; Phillip R. Shaver; Samuel C. Carrier
err分享
err收藏
Experiment Research on Hot-Rolling Processing of Nonsmooth Pit Surface
err2016-01-01
err0
errOAAI
errYun-qing Gu; Tian-xing Fan; Jie-gang Mou; Wei-bo Yu; Gang Zhao; Evan Wang
err分享
err收藏
err分享
err收藏
学者 查看更多内容