Towards Analyzing the Complexity Landscape of Solidity Based Ethereum Smart Contracts

Blockchain-based decentralized cryptocurrency platforms are currently one of the hottest topics in technology. Although most of the interest is generated by cryptocurrency related activities, it is becoming apparent that a much wider spectrum of applications can leverage the blockchain technology. T...

Teljes leírás

Elmentve itt :
Bibliográfiai részletek
Szerző: Hegedűs Péter
Dokumentumtípus: Cikk
Megjelent: 2019
Sorozat:TECHNOLOGIES 7 No. 1
doi:10.3390/technologies7010006

mtmt:30750129
Online Access:http://publicatio.bibl.u-szeged.hu/17449
Leíró adatok
Tartalmi kivonat:Blockchain-based decentralized cryptocurrency platforms are currently one of the hottest topics in technology. Although most of the interest is generated by cryptocurrency related activities, it is becoming apparent that a much wider spectrum of applications can leverage the blockchain technology. The primary concepts enabling such general use of the blockchain are the so-called smart contracts, which are special programs that run on the blockchain. One of the most popular blockchain platforms that supports smart contracts is Ethereum. As smart contracts typically handle money, ensuring their low number of faults and vulnerabilities are essential. To aid smart contract developers and help to mature the technology, we need analysis tools and studies for smart contracts. As an initiative for this, we propose the adoption of some well-known OO metrics for Solidity smart contracts. Furthermore, we analyze more than 40 thousand Solidity source files with our prototype tool. The results suggest that smart contract programs are short, neither overly complex nor coupled too much, do not rely heavily on inheritance, and either quite well-commented or not commented at all. Moreover, smart contracts could benefit from an external library and dependency management mechanism, as more than 85% of the defined libraries in Solidity files code the same functionalities.
Terjedelem/Fizikai jellemzők:Terjedelem: 16 p-Azonosító: 6
ISSN:2227-7080