Coder Social home page Coder Social logo

buglord's Introduction

Bug Location and Repair of Defects (BugLoRD) - Toolkit

Purpose

A tool collection for locating and repairing bugs, including tools or toolchains for

  • searching and running all JUnit tests from a Java project,
  • generating spectrum based fault localization (SBFL) rankings,
  • combining SBFL rankings with other rankings, generated from other sources,
  • checking changes between two project versions with the support of ChangeDistiller,
  • collecting and plotting data.

Additional functionality includes

  • a frontend to the Defects4J benchmark for easier, more central access,
  • an AST based language model builder, using the JavaParser project,
  • tools for syntactic and semantic tokenization of Java source files.

Installation

Prerequisites:

  • Java JDK/JRE 1.8
  • Maven (I am using v3.3.9)
  • the HUB-SE-framework (execute 'mvn install' to add the necessary jar-file to your local maven repository.)

Before you can install BugLoRD, you have to set the environment variables JRE_HOME and JAVA_HOME to an existing installation of Java 1.8. You can set them directly or you can add the following code to the settings.xml file that is located in your local mavan repository directory (.../.m2/settings.xml). If it doesn't exist, you may have to create it.

<profiles>
  <profile>
    <id>compiler</id>
    <properties>
      <JAVA_HOME>path\to\Java-1.8\Home\directory(JDK)</JAVA_HOME>
      <JRE_HOME>path\to\Java-1.8\Home\directory(JRE)</JRE_HOME>
    </properties>
  </profile>
</profiles>
  
<activeProfiles>
  <activeProfile>compiler</activeProfile>
</activeProfiles>

Compilation

To compile the tool, generate executable jar-files and JavaDocs, simply run 'mvn install' in the main project directory.

Bug reports

This project is under constant developement and is a research prototype. If you encounter any bugs, feel free to open an issue or write an e-mail with details of the bug and I will fix it as soon as possible.

buglord's People

Contributors

heidensi avatar sulilol avatar yerlikaya61 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.