Published March 25, 2020 | Version V1.0
Dataset Open

Replication package for "Mutation testing of smart contracts at scale"

Description

Replication package for TAP2020 paper "Mutation testing of smart contracts at scale"

Abstract: It is crucial that smart contracts are tested thoroughly due to their immutable nature. Even small bugs in smart contracts can lead to huge monetary losses. However, testing is not enough; it is also important to ensure the quality and completeness of the tests. There are already several approaches that tackle this challenge with mutation testing, but their effectiveness is questionable since they only considered small contract samples. Hence, we evaluate the quality of smart contract mutation testing at scale. We choose the most promising of the existing (smart contract specific) mutation operators, analyse their effectiveness in terms of killability and highlight severe vulnerabilities that can be injected with the mutations. Moreover, we improve the existing mutation methods by introducing a novel killing condition that is able to detect a deviation in the gas consumption, i.e., in the monetary value that is required to perform transactions.

Notes

This work was supported in part by the National Research Foundation (NRF), Prime Minister's Office, Singapore, under its National Cybersecurity R&D Programme (Award No. NRF2016NCR-NCR002-028) and administered by the National Cybersecurity R&D Directorate.

Files

pieterhartel/Mutation-at-scale-V1.0.zip

Files (68.1 MB)

Name Size Download all
md5:1b2cc5267a639640fc53afc7023426dd
68.1 MB Preview Download

Additional details