A Preliminary Analysis of Software Metrics in Decentralised Applications

5Citations
Citations of this article
6Readers
Mendeley users who have this article in their library.
Get full text

Abstract

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.

Cite

CITATION STYLE

APA

Ibba, G., Khullar, S., Tesfai, E., Neykova, R., Aufiero, S., Ortu, M., … Destefanis, G. (2023). A Preliminary Analysis of Software Metrics in Decentralised Applications. In BlockSys 2023 - Proceedings of the 5th ACM International Workshop on Blockchain-enabled Networked Sensor Systems (pp. 27–33). Association for Computing Machinery, Inc. https://doi.org/10.1145/3628354.3629533

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free