Versioned Analysis of Software Quality Indicators and Self-admitted Technical Debt in Ethereum Smart Contracts with Ethstractor

  • Khalid Hassan
  • , Saeed Moradi
  • , Shaiful Chowdhury
  • , Sara Rouhani

Research output: Contribution to Book/Report typesContribution to conference proceedingspeer-review

Abstract

The rise of decentralized applications (dApps) has made smart contracts imperative components of blockchain technology. As many smart contracts process financial transactions, their security is paramount. Moreover, the immutability of blockchains makes vulnerabilities in smart contracts particularly challenging because it requires deploying a new version of the contract at a different address, incurring substantial fees paid in Ether. This paper proposes Ethstractor, the first smart contract collection tool for gathering a dataset of versioned smart contracts. The collected dataset is then used to evaluate the reliability of code metrics as indicators of vulnerabilities in smart contracts. Our findings indicate that code metrics are ineffective in signalling the presence of vulnerabilities. Furthermore, we investigate whether vulnerabilities in newer versions of smart contracts are mitigated and identify that the number of vulner-abilities remains consistent over time. Finally, we examine the removal of self-admitted technical debt in contracts and uncover that most of the introduced debt has never been subsequently removed.

Original languageEnglish
Title of host publicationProceedings - 2024 IEEE International Conference on Blockchain, Blockchain 2024
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages512-519
Number of pages8
ISBN (Electronic)9798350351590
DOIs
Publication statusPublished - 2024
Externally publishedYes
Event7th IEEE International Conference on Blockchain, Blockchain 2024 - Copenhagen, Denmark
Duration: 19 Aug 202422 Aug 2024

Publication series

NameProceedings - 2024 IEEE International Conference on Blockchain, Blockchain 2024

Conference

Conference7th IEEE International Conference on Blockchain, Blockchain 2024
Country/TerritoryDenmark
CityCopenhagen
Period19/08/2422/08/24

!!!Keywords

  • blockchain
  • code metrics
  • ethereum
  • maintenance
  • self-admitted technical debt
  • smart contracts
  • versioned smart contracts

Fingerprint

Dive into the research topics of 'Versioned Analysis of Software Quality Indicators and Self-admitted Technical Debt in Ethereum Smart Contracts with Ethstractor'. These topics are generated from the title and abstract of the publication. Together, they form a unique fingerprint.

Cite this