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 条
  • [11] The evaluation of urban road network based on complex network
    Xu, Dongwei
    Wang, Yongdong
    Peng, Peng
    Lin, Lei
    Liu, Yi
    IEEE INTELLIGENT TRANSPORTATION SYSTEMS MAGAZINE, 2022, 14 (03) : 200 - 211
  • [12] Trust Evaluation Method Based on the Degree of Code Obfuscation
    Chen, Lu
    Dai, Zaojian
    Li, Nige
    Li, Yong
    SMART COMPUTING AND COMMUNICATION, 2022, 13202 : 164 - 174
  • [13] A Network Reliability Analysis Method for Complex Systems based on Complex Network Theory
    Zang, Yu
    Fiondella, Lance
    2022 68TH ANNUAL RELIABILITY AND MAINTAINABILITY SYMPOSIUM (RAMS 2022), 2022,
  • [14] Robustness evaluation method for unmanned aerial vehicle swarms based on complex network theory
    Xiaohong WANG
    Yuan ZHANG
    Lizhi WANG
    Dawei LU
    Guoqi ZENG
    Chinese Journal of Aeronautics , 2020, (01) : 352 - 364
  • [15] Reliability Risk Evaluation Method for Complex Mechanical System Based on Optimal Bayesian Network
    黄开启
    古莹奎
    梁玲强
    Journal of Donghua University(English Edition), 2016, 33 (02) : 177 - 182
  • [16] Robustness evaluation method for unmanned aerial vehicle swarms based on complex network theory
    Wang, Xiaohong
    Zhang, Yuan
    Wang, Lizhi
    Lu, Dawei
    Zeng, Guoqi
    CHINESE JOURNAL OF AERONAUTICS, 2020, 33 (01) : 352 - 364
  • [17] Robustness evaluation method for unmanned aerial vehicle swarms based on complex network theory
    Xiaohong WANG
    Yuan ZHANG
    Lizhi WANG
    Dawei LU
    Guoqi ZENG
    Chinese Journal of Aeronautics, 2020, 33 (01) : 352 - 364
  • [18] Importance evaluation method of complex network nodes based on information entropy and iteration factor
    Wang, Ting-Ting
    Liang, Zong-Wen
    Zhang, Ruo-Xi
    ACTA PHYSICA SINICA, 2023, 72 (04)
  • [19] Complex Network Based Comprehensive Evaluation Method of Topology for Electro-Thermal Microgrid
    Gong S.
    Huang W.
    Tai N.
    Deng J.
    Ma Z.
    Zhang Y.
    Dianli Xitong Zidonghua/Automation of Electric Power Systems, 2019, 43 (23): : 173 - 184
  • [20] Comprehensive Evaluation Method of Digital Economy Development Level Based on Complex Network Model
    Shi, Xingjun
    COMPUTATIONAL INTELLIGENCE AND NEUROSCIENCE, 2022, 2022