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 条
  • [21] Evaluation method of node centrality in complex directed network
    Zhou, Xuan
    Yang, Fan
    Zhang, Fengming
    Hui, Xiaobin
    2012 FOURTH INTERNATIONAL CONFERENCE ON MULTIMEDIA INFORMATION NETWORKING AND SECURITY (MINES 2012), 2012, : 212 - 215
  • [22] State evaluation method for complex task network models
    Liang, Xiaoling
    Bao, Dan
    Yang, Zeyuan
    INFORMATION SCIENCES, 2024, 653
  • [23] Evaluation method of node centrality in complex directed network
    Engineering College, Air Force Engineering University, Xi'an, China
    不详
    Proc. - Int. Conf. Multimedia Secur., MINES, (212-215):
  • [24] Code Search Method Based on Relational Graph Convolutional Network
    Zhou G.-Y.
    Xie Q.
    Yu X.
    Ruan Jian Xue Bao/Journal of Software, 2024, 35 (06): : 2863 - 2879
  • [25] Region-based partial dead code elimination on predicated code
    Cai, QO
    Gao, L
    Xue, JL
    COMPILER CONSTRUCTION, PROCEEDINGS, 2004, 2985 : 150 - 166
  • [26] Dead Code
    Romano, Simone
    PROCEEDINGS 2018 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2018, : 737 - 742
  • [27] Keyword extraction method based on complex network
    Yang, Zhen
    Gong, Huajian
    Ma, Weiyun
    Yin, Chunlin
    Li, Jie
    Liu, Siyang
    Zhu, Hua
    Zhao, Na
    International Journal of Information and Communication Technology, 2024, 25 (04) : 323 - 335
  • [28] Performance Evaluation of Fractal Dimension Method Based on Box-covering Algorithm in Complex Network
    Deng, Yufan
    Zheng, Wei
    Pan, Qian
    2016 IEEE 20th International Conference on Computer Supported Cooperative Work in Design (CSCWD), 2016, : 682 - 686
  • [29] DCCA-NSEn-Based Coupling Network Modeling and Evaluation Method for Complex Electromechanical Systems
    Feng L.
    Gao J.
    Gao Z.
    Xie J.
    Gao X.
    Zhendong Ceshi Yu Zhenduan/Journal of Vibration, Measurement and Diagnosis, 2019, 39 (05): : 1046 - 1052
  • [30] A Grid-Wide Comprehensive Evaluation Method of Power Quality Based on Complex Network Theory
    Xiang, Yang
    Lin, Yan
    Zhang, Yan
    Lan, Jinchen
    Hao, Meimei
    Wang, Lianhui
    Wang, Jiang
    Qin, Liang
    ENERGIES, 2024, 17 (13)