A Dead Code Evaluation Method based on Complex Network

被引:0
|
作者
Liu, Xinwei [1 ]
Tao, Chuanqi [1 ,2 ]
机构
[1] Nanjing Univ Aeronaut & Astronaut, Coll Comp Sci & Technol, Nanjing, Peoples R China
[2] Nanjing Univ Aeronaut & Astronaut, Key Lab Minist Ind & Informat Technol Safety Crit, Nanjing, Peoples R China
关键词
dead code; complex network; Centrality measures; TOPSIS; INFLUENTIAL NODES; CENTRALITY; RANKING; TOPSIS;
D O I
10.1109/QRS-C57518.2022.00069
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Dead code is widespread in open-source and commercial software systems. While there is some work on dead code detection, there is no work on evaluating the risk of removing dead code. This paper introduces complex network into dead code evaluation and proposes a dead code evaluation method based on weighted technique for order preference by similarity to ideal solution(TOPSIS). We regard degree centrality, closeness centrality, betweeness centrality and the proportion of alive codes as the multi-attribute of weighted TOPSIS, which overcomes the shortage of using the same weight for each attribute in the original method. We evaluate dead code in two open-source Java projects. The results show that this method can well evaluate the risk of deleting dead code in nodes.
引用
收藏
页码:431 / 436
页数:6
相关论文
共 50 条
  • [41] Community detection in complex network based on APT method
    Chen, Qingfeng
    Qiao, YuLu
    Hu, Fang
    Li, Yongjie
    Tan, Kai
    Zhu, Mingrui
    Zhang, Chengqi
    PATTERN RECOGNITION LETTERS, 2020, 138 : 193 - 200
  • [42] Comparison method of product modularization based on complex network
    Institute of Contemporary Manufacturing Engineering, Zhejiang University, Hangzhou 310027, China
    不详
    Zhejiang Daxue Xuebao (Gongxue Ban), 2007, 11 (1881-1885):
  • [43] A Parallel Data Mining Method based on Complex Network
    He Yan-li
    OPTICAL, ELECTRONIC MATERIALS AND APPLICATIONS, PTS 1-2, 2011, 216 : 752 - 756
  • [44] Node importance ranking method in complex network based on gravity method
    Ruan Yi-Run
    Lao Song-Yang
    Jun, Tang
    Liang, Bai
    Guo Yan-Ming
    ACTA PHYSICA SINICA, 2022, 71 (17)
  • [45] Evaluation method of node importance in directed-weighted complex network based on multiple influence matrix
    Wang Yu
    Guo Jin-Li
    ACTA PHYSICA SINICA, 2017, 66 (05)
  • [46] A Method of Reliability Evaluation for Complex Medium-voltage Distribution System Based on Simplified Network Model and Network-equivalent
    Liu, Huijia
    Hu, Hanmei
    Huang, Jingguang
    2008 CHINA INTERNATIONAL CONFERENCE ON ELECTRICITY DISTRIBUTION, VOLS 1 AND 2, 2009, : 758 - 763
  • [47] Research on Importance Evaluation of Complex Product Parts Based on Multilayer Complex Network
    Yang, Weiming
    Li, Congdong
    Yu, Yinyun
    Zhong, Mingsheng
    DISCRETE DYNAMICS IN NATURE AND SOCIETY, 2021, 2021
  • [48] Road Network Traffic Congestion Evaluation Simulation Model based on Complex Network
    Luo, Chao
    PROCEEDINGS OF THE 2016 6TH INTERNATIONAL CONFERENCE ON MACHINERY, MATERIALS, ENVIRONMENT, BIOTECHNOLOGY AND COMPUTER (MMEBC), 2016, 88 : 2107 - 2112
  • [49] Urban Transit Network Properties Evaluation and Optimization Based on Complex Network Theory
    Jia, Guo-Ling
    Ma, Rong-Guo
    Hu, Zhi-Hua
    SUSTAINABILITY, 2019, 11 (07)
  • [50] Evaluation of vulnerability of MAV/UAV collaborative combat network based on complex network
    Yang, Shulan
    Hou, Zhiwei
    Chen, Hongbo
    CHAOS SOLITONS & FRACTALS, 2023, 172