Giter Site home page Giter Site logo

bug_db's Introduction

Datasets of Buggy examples for bug pattern

This repo contains datasets of buggy examples for java code. The datasets were created by mutating open source projects using the Major mutation framework. The mutated codes were tested using the test suites provided by the open source projects. We extracted the methods from each mutated code where the mutation occured, and we then grouped them by kind of bug behaviour that we got. We defined as "buggy methods" the ones on which we injected an error with regard of the test suite. We considered the original methods as "non-buggy", at least for that specific bug pattern.

The dataset were used for training machine learning models by the project https://github.com/Djack1010/GrapPa.

Contents of the repo

Bug Pattern Number of buggy methods Number of non-buggy methods
Null Pointer Exception 4848 1069
Array Index out of Bounds 3258 443
String Index out of Bounds 2517 251
Index out of Bounds 155 77

Authors

  • Giacomo Iadarola - main contributor - Djack1010

Cite this work by refering to the Master thesis (bibtex format):

@mastersthesis{iadarola2018graph,
  title={Graph-based classification for detecting instances of bug patterns},
  author={Iadarola, Giacomo},
  year={2018},
  school={University of Twente}
}

bug_db's People

Contributors

djack1010 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.