Giter VIP home page Giter VIP logo

jmutops's Introduction

jMutOps

jMutOps is a Java tool that I developed during my computer science bachelor thesis at Saarland University in 2013. It has the capabilities to map detected source code changes between two different Java source code versions to 63 different mutation operators retrieved from research papers and existing mutation testing tools. The goal of my thesis was to contribute to the question whether mutation testing could be used to generate real-life bugs.

First, an abstract syntax tree (AST) is generated with help of the Eclipse JDT parser. Next, the research tool ChangeDistiller is used to calculate the syntactic difference between two versions of the same file based on an existing algorithm by Chawathe et al. for change detection in hierarchically structured information. The changes are remapped on the AST where one visitor pattern is applied for each mutation operator to recognize whether the detected changes are matched to the operator's distinct behavior. For my evaluation, I ran jMutOps on various bugfixes of AspectJ. I found that

  1. only a dozen of mutation operators were recognized,
  2. most of the described mutation operators could not be matched to the changes in the test set, and
  3. most of the changes were not matched to mutation operators.

For more details to the tool and results, please read my bachelor thesis "jMutOps: Mapping Changes to Mutation Operators".

Credits

Acknowledgement

See acknowledgement section in my thesis.

License

jMutOps is licensed under the MIT license.

jmutops's People

Contributors

lsubel avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.