The fractal dimension of software networks as a global quality metric

被引:16
|
作者
Turnu, I. [1 ]
Concas, G. [1 ]
Marchesi, M. [1 ]
Tonelli, R. [1 ]
机构
[1] Univ Cagliari, Dept Elect & Elect Engn, Cagliari, Italy
关键词
Fractal dimension; Software quality; Software metrics; Object-oriented languages; Software engineering; STRUCTURAL QUALITY; SELF-SIMILARITY; EDGE;
D O I
10.1016/j.ins.2013.05.014
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We analyzed the source code of various releases of two large Object Oriented Open Source Java software systems, Eclipse and Netbeans, investigating the complexity of the whole release and of its subprojects. We show that when the classes in the source code and the dependencies between them are considered, such systems can be viewed as complex software networks, and emerging structures, characteristic of fractals, appear at different length scales - on the entire systems and on subprojects of any size. We were able to find in all examined cases a scaling region where it is possible to compute a self-similar coefficient, the fractal dimension, using "the box counting method". Such a coefficient is a single metric related to the system's complexity. More importantly, we were able to show that this measure looks fairly related to software quality, acting as a global quality software metric. In particular, we computed the defects of each software system, and we found a clear correlation among the number of defects in the system, or in a subproject, and its fractal dimension. This correlation exists across all the subprojects and also along the time evolution of the software systems, as new releases are delivered. (C) 2013 Elsevier Inc. All rights reserved.
引用
收藏
页码:290 / 303
页数:14
相关论文
共 50 条
  • [1] Fractal dimension in software networks
    Concas, G.
    Locci, M. F.
    Marchesi, M.
    Pinna, S.
    Turnu, I.
    [J]. EUROPHYSICS LETTERS, 2006, 76 (06): : 1221 - 1227
  • [2] Redefining fractal cubic networks and determining their metric dimension and fault-tolerant metric dimension
    Arulperumjothi, M.
    Klavzar, Sandi
    Prabhu, S.
    [J]. APPLIED MATHEMATICS AND COMPUTATION, 2023, 452
  • [3] FRACTAL DIMENSION AND METRIC ENTROPY IN EXTENDED SYSTEMS
    CILIBERTO, S
    [J]. EUROPHYSICS LETTERS, 1987, 4 (06): : 685 - 690
  • [4] Computing the Fractal Dimension of Software Netwoks
    Locci, Mario
    Concas, Giulio
    Turnu, Ivana
    [J]. ACS'09: PROCEEDINGS OF THE 9TH WSEAS INTERNATIONAL CONFERENCE ON APPLIED COMPUTER SCIENCE, 2009, : 146 - 151
  • [5] Graph fractal dimension and the structure of fractal networks
    Skums, Pavel
    Bunimovich, Leonid
    [J]. JOURNAL OF COMPLEX NETWORKS, 2020, 8 (04)
  • [6] ON THE FRACTAL DIMENSION OF STREAM NETWORKS
    LABARBERA, P
    ROSSO, R
    [J]. WATER RESOURCES RESEARCH, 1989, 25 (04) : 735 - 741
  • [7] FRACTAL DIMENSION OF NEURAL NETWORKS
    MATSUBA, I
    [J]. IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 1992, E75D (03) : 363 - 365
  • [8] ESTIMATION OF FRACTAL DIMENSION OF GLOBAL RELIEF
    IVANOV, SS
    [J]. OKEANOLOGIYA, 1994, 34 (01): : 102 - 106
  • [9] Fractal dimension of retinal vasculature as an image quality metric for automated fundus image analysis systems
    Lyu, Xingzheng
    Jajal, Purvish
    Tahir, Muhammad Zeeshan
    Zhang, Sanyuan
    [J]. SCIENTIFIC REPORTS, 2022, 12 (01)
  • [10] Fractal dimension of retinal vasculature as an image quality metric for automated fundus image analysis systems
    Xingzheng Lyu
    Purvish Jajal
    Muhammad Zeeshan Tahir
    Sanyuan Zhang
    [J]. Scientific Reports, 12