iSCREAM: a suite for Smart Contract REAdability assessMent

被引:6
|
作者
Canfora, Gerardo [1 ]
Di Sorbo, Andrea [1 ]
Fredella, Michele [1 ]
Vacca, Anna [1 ]
Visaggio, Corrado A. [1 ]
机构
[1] Univ Sannio, Benevento, Italy
来源
2021 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2021) | 2021年
关键词
Blockchain; Smart Contracts; Code readability;
D O I
10.1109/ICSME52107.2021.00060
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Blockchain is increasingly revolutionizing a variety of sectors, from finance to healthcare. Indeed, the availability of public blockchain platforms, such as Ethereum, has stimulated the development of hundreds of decentralized apps (dApps) that combine smart contract(s) and a front-end user interface. Smart contracts are software, as well, and, as traditional software, they require to be developed and maintained or evolved. Among all the quality properties that must be assessed and guaranteed, readability is a key aspect of source code: a highly readable code facilitates its maintainability, portability, and reusability. This is especially true when considering smart contracts, where code reuse is widely adopted. Indeed, smart contract developers often integrate code portions from other smart contracts in their artifacts. To help developers and researchers more easily estimating and monitoring the code readability of smart contracts, in this demo, we present iSCREAM. iSCREAM automatically inspects Solidity smart contracts and computes a set of metrics that previous research demonstrated being related to code readability. We evaluated iSCREAM on 90 real-world smart contract functions, showing that our tool correctly computes all the aforementioned metrics. Demo webpage: https://github.com/mfredella/iSCREAM
引用
收藏
页码:579 / 583
页数:5
相关论文
共 50 条
  • [1] Smart Contract Risk Assessment How Secure is the Contract You Are Calling
    Li, Zexin
    Wang, Chao
    Zhang, Xucan
    Yu, Xiang
    Cui, Ting
    Yu, Yifan
    COMPUTATIONAL AND EXPERIMENTAL SIMULATIONS IN ENGINEERING, ICCES 2024-VOL 2, 2025, 173 : 526 - 534
  • [2] Smart Contract Locator (SCL) and Smart Contract Description Language (SCDL)
    Lamparelli, Andrea
    Falazi, Ghareeb
    Breitenbuecher, Uwe
    Daniel, Florian
    Leymann, Frank
    SERVICE-ORIENTED COMPUTING, ICSOC 2019, 2020, 12019 : 195 - 210
  • [3] Smart Contract Engineering
    Hu, Kai
    Zhu, Jian
    Ding, Yi
    Bai, Xiaomin
    Huang, Jiehua
    ELECTRONICS, 2020, 9 (12) : 1 - 26
  • [4] SMART WILL Converting the Legal Testament into a Smart Contract
    Sreehari, P.
    Nandakishore, M.
    Krishna, Goutham
    Jacob, Joshin
    Shibu, V. S.
    2017 INTERNATIONAL CONFERENCE ON NETWORKS & ADVANCES IN COMPUTATIONAL TECHNOLOGIES (NETACT), 2017, : 203 - 207
  • [5] Smart Contract as a Service: A Paradigm of Reusing Smart Contract in Web3 Ecosystem
    Sun, Jinghan
    El Saddik, Abdulmotaleb
    Cai, Wei
    IEEE CONSUMER ELECTRONICS MAGAZINE, 2025, 14 (01) : 46 - 55
  • [6] A Multidimensional Contract Design for Smart Contract-as-a-Service
    Sun, Jinghan
    Long, Hou-Wan
    Kang, Hong
    Fang, Zhixuan
    El Saddik, Abdulmotaleb
    Cai, Wei
    IEEE TRANSACTIONS ON COMPUTATIONAL SOCIAL SYSTEMS, 2025,
  • [7] SmartEdge: A Smart Contract for Edge Computing
    Wright, Kwame-Lante
    Martinez, Martin
    Chadha, Uday
    Krishnamachari, Bhaskar
    IEEE 2018 INTERNATIONAL CONGRESS ON CYBERMATICS / 2018 IEEE CONFERENCES ON INTERNET OF THINGS, GREEN COMPUTING AND COMMUNICATIONS, CYBER, PHYSICAL AND SOCIAL COMPUTING, SMART DATA, BLOCKCHAIN, COMPUTER AND INFORMATION TECHNOLOGY, 2018, : 1685 - 1690
  • [8] Smart Contracts for Sustainable Supply Chain Management: Conceptual Frameworks for Supply Chain Maturity Evaluation and Smart Contract Sustainability Assessment
    Groschopf, Wolfram
    Dobrovnik, Mario
    Herneth, Christian
    FRONTIERS IN BLOCKCHAIN, 2021, 4
  • [9] Taming Callbacks for Smart Contract Modularity
    Albert, Elvira
    Grossman, Shelly
    Rinetzky, Noam
    Rodriguez-Nunez, Clara
    Rubio, Albert
    Sagiv, Mooly
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2020, 4 (OOPSLA):
  • [10] Smart contract languages: A comparative analysis
    Bartoletti, Massimo
    Benetollo, Lorenzo
    Bugliesi, Michele
    Crafa, Silvia
    Dal Sasso, Giacomo
    Pettinau, Roberto
    Pinna, Andrea
    Piras, Mattia
    Rossi, Sabina
    Salis, Stefano
    Spano, Alvise
    Tkachenko, Viacheslav
    Tonelli, Roberto
    Zunino, Roberto
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2025, 164