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 条
  • [1] A Clone Code Detection Method Based on Software Complex Network
    Guo, Haoran
    Ai, Jun
    Shi, Tao
    2019 IEEE 30TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS (ISSREW 2019), 2019, : 120 - 121
  • [2] Dead Code Detection Method Based on Program Slicing
    Wang, Xing
    Zhang, Yingzhou
    Zhao, Lian
    Chen, Xinghao
    2017 INTERNATIONAL CONFERENCE ON CYBER-ENABLED DISTRIBUTED COMPUTING AND KNOWLEDGE DISCOVERY (CYBERC), 2017, : 155 - 158
  • [3] Robust evaluation method of communication network based on the combination of complex network and big data
    Chengshun Huang
    Li Zhu
    Neural Computing and Applications, 2021, 33 : 887 - 896
  • [4] Robust evaluation method of communication network based on the combination of complex network and big data
    Huang, Chengshun
    Zhu, Li
    NEURAL COMPUTING & APPLICATIONS, 2021, 33 (03): : 887 - 896
  • [5] An Evaluation Method of Community Supply Support and Resilience Based on Complex Network
    Huang H.
    Wang J.
    Wang C.
    Xie Y.
    Zhang W.
    Journal of Geo-Information Science, 2023, 25 (12) : 2303 - 2314
  • [6] Reliability Evaluation Method of Complex Software Based on Weighted Network Model
    Wei, Jing
    Guo, Baolong
    2018 IEEE 3RD INTERNATIONAL CONFERENCE ON SIGNAL AND IMAGE PROCESSING (ICSIP), 2018, : 567 - 571
  • [7] Node importance evaluation method of complex network based on the fusion gravity model
    Guo, Haoming
    Wang, Shuangling
    Yan, Xuefeng
    Zhang, Kecheng
    CHAOS SOLITONS & FRACTALS, 2024, 183
  • [8] The Research of Computer complex network reliability evaluation method based on GABP algorithm
    Chen Hai-Yan
    MECHATRONICS ENGINEERING, COMPUTING AND INFORMATION TECHNOLOGY, 2014, 556-562 : 6207 - 6210
  • [9] A credibility evaluation method for complex simulation systems based on interactive network analysis
    Li, Ni
    Dong, Liwei
    Zhao, Luming
    Gong, Guanghong
    Zhang, Xuen
    SIMULATION MODELLING PRACTICE AND THEORY, 2021, 110
  • [10] A novel transmission line vulnerability evaluation method based on complex network theory
    Du Zhi
    Wang Gang
    You Dahai
    Chen Weihua
    Wang Ke
    Zou Yang
    CURRENT DEVELOPMENT OF MECHANICAL ENGINEERING AND ENERGY, PTS 1 AND 2, 2014, 494-495 : 1866 - +