Skip to content

saltlab/BugAID

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BugAID

A tool for learning bug patterns. Currently supports JavaScript.

Installation

BugAID is a Maven project.

  • Clone BugAID.
  • Build and install the project (mvn install).

Optional: Create the Eclipse project files (mvn eclipse:eclipse).

Data Set Construction

Build a database of commits with BugAID:

mvn exec:java -Dexec.mainClass="ca.ubc.ece.salt.pangor.js.learn.LearningAnalysisMain" -Dexec.args="--repositories ./input/javascript_repositories.txt --regex \"fix\"  --dataset ./output/dataset.csv"

Cluster Construction

Cluster change types with BugAID:

mvn exec:java -Dexec.mainClass="ca.ubc.ece.salt.pangor.learn.LearningDataSetMain" -Dexec.args="--dataset ./output/dataset.csv --complexity 6 --epsilon 0.3 --complexityWeight 0.2 --minClusterSize 5"

About

A tool for learning bug patterns.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published