首页 | 本学科首页   官方微博 | 高级检索  
     

基于决策树的代码异味优先级评估
引用本文:郭迪,吴海涛. 基于决策树的代码异味优先级评估[J]. 上海师范大学学报(自然科学版), 2022, 51(2): 210-216
作者姓名:郭迪  吴海涛
作者单位:上海师范大学信息与机电工程学院,上海201418
基金项目:国家自然科学基金(61672355);
摘    要:基于以开发人员驱动的代码异味优先级排序方法,结合优化决策树算法建立模型,对代码异味的重构优先级进行面向开发人员的排名,并在实证研究中评估了该模型,以模型可解释性方法对特征的重要性进行评估,给出了相关影响较高的特征.结果表明,该模型的F1值为89%,分别较基线值和最新研究成果高出25%和5%.

关 键 词:代码异味  决策树  特征选择  软件可维护性
收稿时间:2022-03-01

Decision tree based code smell prioritization evaluation
GUO Di,WU Haitao. Decision tree based code smell prioritization evaluation[J]. Journal of Shanghai Normal University(Natural Sciences), 2022, 51(2): 210-216
Authors:GUO Di  WU Haitao
Affiliation:College of Information, Mechanical and Electrical Engineering, Shanghai Normal University, Shanghai 201418, China
Abstract:Based on the prioritization method of developer-driven code smell, combining with the optimization decision tree algorithm, a model was built to rank the refactoring priority of code smell for developers, which was evaluated in the empirical study. The importance of features was evaluated by the interpretive methods and features with high correlation impact were provided. The experimental results showed that the F1 value of the model was 89%, which was 25% and 5% better than the benchmark value and the latest research result, respectively.
Keywords:code smell  decision tree  feature selection  software maintainability
本文献已被 万方数据 等数据库收录!
点击此处可从《上海师范大学学报(自然科学版)》浏览原始摘要信息
点击此处可从《上海师范大学学报(自然科学版)》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号