A Preliminary Analysis of Software Metrics in Decentralised Applications

被引:5
作者
Ibba, G. [1 ,3 ]
Khullar, S. [3 ]
Tesfai, E. [3 ]
Neykova, R. [3 ]
Aufiero, S. [2 ]
Ortu, M. [1 ]
Bartolucci, S. [2 ]
Destefanis, G. [3 ]
机构
[1] Univ Cagliari, Cagliari, Italy
[2] UCL, London, England
[3] Brunel Univ London, London, England
来源
PROCEEDINGS OF THE FIFTH ACM INTERNATIONAL WORKSHOP ON BLOCKCHAIN-ENABLED NETWORKED SENSOR SYSTEMS, BLOCKSYS 2023 | 2023年
关键词
Do; Not; Us; This; Code; Put; the; Correct; Terms; for; Your; Paper; VALIDATION;
D O I
10.1145/3628354.3629533
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This study examines software metrics in decentralized applications (dApps) to analyze their structural and behavioral characteristics as they grow in complexity. Sixty dApps were categorized into Small (3 to 29 contracts), Medium (30 to 46 contracts), and Large (47 to 206 contracts) based on their contract count. Initial analysis showed a non-normal data distribution, leading to the use of Spearman's correlation method. Findings revealed that Medium dApps have strong correlations between metrics like 'Average Local Variables' and 'Maximum Local Variables', while Large dApps show higher correlations between 'Number of Functions' and 'State Variable Count', indicating more complex contract structures. The higher Coupling Between Objects (CBO) in large dApps suggests increased interactions with other contracts or libraries, potentially elevating security risks. These insights are valuable for developers and stakeholders in the blockchain and IoT sectors, aiding in understanding how dApps evolve with increasing complexity and the implications on software metric relationships.
引用
收藏
页码:27 / 33
页数:7
相关论文
共 13 条
  • [1] A validation of object-oriented design metrics as quality indicators
    Basili, VR
    Briand, LC
    Melo, WL
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1996, 22 (10) : 751 - 761
  • [2] A METRICS SUITE FOR OBJECT-ORIENTED DESIGN
    CHIDAMBER, SR
    KEMERER, CF
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1994, 20 (06) : 476 - 493
  • [3] Concas G, 2013, LECT NOTES BUS INF P, V149, P210
  • [4] Destefanis G, 2016, INT WORKS EMERG TREN, P22, DOI 10.1109/WETSoM.2016.012
  • [5] Slither: A Static Analysis Framework For Smart Contracts
    Feist, Josselin
    Greico, Gustavo
    Groce, Alex
    [J]. 2019 IEEE/ACM 2ND INTERNATIONAL WORKSHOP ON EMERGING TRENDS IN SOFTWARE ENGINEERING FOR BLOCKCHAIN (WETSEB 2019), 2019, : 8 - 15
  • [6] Empirical validation of object-oriented metrics on open source software for fault prediction
    Gyimóthy, T
    Ferenc, R
    Siket, I
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2005, 31 (10) : 897 - 910
  • [7] Ibba G, 2023, Arxiv, DOI arXiv:2310.02408
  • [8] Ortu M, 2019, 2019 IEEE 2ND INTERNATIONAL WORKSHOP ON BLOCKCHAIN ORIENTED SOFTWARE ENGINEERING (IWBOSE), P32, DOI [10.1109/IWBOSE.2019.8666575, 10.1109/iwbose.2019.8666575]
  • [9] SabrinaAufiero Giacomo Ibba, 2023, Complex Networks, V2023
  • [10] Empirical analysis of CK metrics for object-oriented design complexity: Implications for software defects
    Subramanyam, R
    Krishnan, MS
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2003, 29 (04) : 297 - 310