Published December 22, 2019 | Version v1
Dataset Open

Mutation testing of smart contracts at scale

  • 1. Singapore University of Technology and Design, Delft University of Technology
  • 2. Singapore Management University

Description

Replication package for the paper Mutation testing of smart contracts at scale.

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 im- portant to ensure the quality and completeness of the tests. There are already several approaches that tackle this challenge with mutation test- ing, 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 in- jected 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

Mutation-at-scale-master.zip

Files (68.1 MB)

Name Size Download all
md5:81811f0410f374dc6279186f29a24656
68.1 MB Preview Download

Additional details

Related works

Is supplement to
Conference paper: arXiv:1909.12563 (arXiv)