一句话:提出基于图的框架计算 Solidity 智能合约设计度量,并初步分析 505 个 GitHub 合约。
区块链作为智能合约执行平台催生了新的编程语言。本文针对 Solidity 提出一个基于图的框架,用于计算软件设计度量;该框架将程序结构表示为图并据此提取面向对象等设计指标。作者用该框架对从 GitHub 挖掘的 505 个智能合约进行初步研究,发现多数合约从面向对象角度看较为直接,并指出需要开发智能合约特有的设计度量。
Used as a platform for executing smart contracts, Blockchain technology has yielded new programming languages. We propose a graph-based framework for computing software design metrics for the Solidity programming language, and use this framework in a preliminary study on 505 smart contracts mined from GitHub. The results show that most of the smart contracts are rather straightforward from an objected-oriented point of view and that new design metrics specific to smart contracts should be developed.
DOI 原文 ·
@inproceedings{paperbot5042,
title = {A graph-based framework for analysing the design of smart contracts},
author = {Bram Vandenbogaerde},
booktitle = {FSE},
year = {2019},
doi = {10.1145/3338906.3342495}
}