Code Monkey home page Code Monkey logo

stardust's Introduction

STARDUST

STARDUST is a framework for spectrum-based fault localization (SBFL). The framework was used to conduct experiments with SBFL during my bachelor thesis.

Installation

STARDUST uses maven as its build tool. The pom.xml file contains all dependencies you need in order to run the framework.

Theoretical Background

Spectrum-based fault localization (SBFL) can be used to locate faults in a very generic system model. In general, all systems that consist of multiple components and provide the ability to track the involvement of single components in passing or failing executions of the system, are capable of leveraging SBFL to diagnose a faulty component in case of an error. The input for SBFL is a set of executions with each execution being either classified as passing execution, i.e. no error occurred, or as a failing execution, i.e. an error occurred.

For each execution SBFL needs to know which components are involved or not involved in the specific execution. A single execution with its involvement data is generally referred to as a passing/failing trace and a set of traces is used as input for SBFL.

Framework Architecture

Brief description of the relevant Java namespaces:

  • traces: Contains classes to represent the program traces in an object-oriented manner.
  • provider: Loads actual traces from some storage. Currently, only Cobertura trace files are supported.
  • localizer: Implementation of different strategies to localize the faulty component.
  • evaluation: A set of classes that were used to run experiments on the iBugs bug data set.

Usage

A simplified usage of the framework looks as follows:

ISpectraProvider<String> provider = new CoberturaProvider();
IFaultLocalizer<String> tarantula = new Tarantula();
Ranking<String> ranking = tarantula.localize(provider.loadSpectra());
ranking.save("resulting-ranking.txt");

Contributing

STARDUST is an open source project released under the MIT license. If you'd like to contribute, please submit a pull request :-)

stardust's People

Contributors

fakleiser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

stardust's Issues

How to generate the the xml files match: "^[f|t]_.+" by using cobertura

Hello Keller:
Recently I learn SBFL and clone your program.I was impressed by your coding ability.However ,I was confused by your code in IbugsSpectraProvider.java in line 142.I donβ€˜ t know to generate the coverage xml files match "^[f|t]_.+" by using cobertura.
Can you teach me.thanks.

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.