SCQAP
Smart Contracts Quality Analysis Platform
SCQAP was created to facilitate the analysis of Smart Contracts from a Software Quality and Gas efficiency perspective. We have implemented a public repository of Solidity SC metrics accessible via a public REST API along with a web based client, where researchers can easily examine a massive number of smart contracts metrics with various charts and correlation diagrams..
The development of the platform was driven by the following key issues:
- The platform should be easy to use. To this end we opted for a Web based platform enabling users to analyze random SC datasets by a single click.
- Large variety of charts to easily examine software quality and complexity metrics against Gas values for randomly chosen datasets of SCs
- Fined-grained analysis of Smart Contracts code via links to Etherscan.io
- Any software system has several facets, so do SCs. Therefore, we offer multiple views concerning sizet-related metrics, complexity metrics and object-oriented metrics.
- All software metrics can be easily copied or extracted from UI options
- Empirical studies very often focus on the investigation of relations among variables. To satisfy this need we offer on demand correlation analysis between any two monitored variables. (for this reason the x-axis is common on all diagrams and represents software versions)
For the complete API documentation visit: http://195.251.210.147:8065/Documentation/
SCQAP REST service example:
---
http://195.251.210.147:8065/rest/{service_path}
Get Smart Contract Metrics
URI: /loadContracts.php?adr=scAdr
Parameters: scAdr:Smart Contract Address
Description: Returns the metrics of the sc with the given address
If adr=0 returns all SC metrics (complete dataset)
---
The platform offers a variety of charts to examine software quality and complexity metrics against Gas values for randomly chosen datasets of Smart Contracts. For every Smart Contract there is the option for fine-grained analysis via their address that points to the SC code through the Etherscan platfrom.
All dataset metrics can be easily copied or exported via the user interface options of the platform in multiple formats. Through a REST API, extensively documented on the SCQAP website, researchers can easily collect specific metrics based on multiple filters for further studies.
You can checkout SCQAP at: http://195.251.210.147:8065/