Publication Type

Conference Proceeding Article

Version

publishedVersion

Publication Date

6-2017

Abstract

Bugs severely hurt blockchain system dependability. A thorough understanding of blockchain bug characteristics is required to design effective tools for preventing, detecting and mitigating bugs. We perform an empirical study on bug characteristics in eight representative open source blockchain systems. First, we manually examine 1,108 bug reports to understand the nature of the reported bugs. Second, we leverage card sorting to label the bug reports, and obtain ten bug categories in blockchain systems. We further investigate the frequency distribution of bug categories across projects and programming languages. Finally, we study the relationship between bug categories and bug fixing time. The findings include: (1) semantic bugs are the dominant runtime bug category, (2) frequency distributions of bug types show similar trends across different projects and programming languages, (3) security bugs take the longest median time to be fixed, (4) 35.71% performance bugs are fixed in more than one year, performance bugs take the longest average time to be fixed.

Keywords

blockchain, Bug characteristics, Empirical study

Discipline

Programming Languages and Compilers | Software Engineering

Research Areas

Cybersecurity

Publication

14th IEEE International Working Conference on Mining Software Repositories: MSR 2017, Buenos Aires, Argentina, 2017 May 20-21

Identifier

10.1109/MSR.2017.59

City or Country

Buenos Aires, Argentina

Additional URL

http://doi.org./10.1109/MSR.2017.59

Share

COinS