Skip to content

Hishamk2/tech-debt-satd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Usage Instructions

To use this tool, follow these steps:

  1. Clone the Repository (if you haven't already):

    git clone https://github.com/Hishamk2/tech-debt-satd.git
  2. Navigate to the Project Directory:

    cd tech-debt-satd/Bug-prediction/
  3. Build the project using Maven

    mvn clean install assembly:single
  4. Run the Complexity Analyzer Tool:

    Execute the following command from within the Bug-prediction directory to run the tool:

    java -Xmx10240m -jar target/complexityAnalyzer-1.0-SNAPSHOT-jar-with-dependencies.jar -projectsInfo ../settings-selected-project.txt {source_methods_dir} -resultDir ../results/ -filterOutTestMethods true

    Replace {source_methods_dir} with the directory that contains the source code methods for analysis.

Command Parameters

  • -projectsInfo: Path to the project settings file (../settings-selected-project.txt). This file contains the list of projects to be analyzed. Righto now, there are and should be 49 projects
  • {source_methods_dir}: Directory containing source method files to analyze. Replace with your specific directory path. (Not incuded in this repo as the folder is really large)
  • -resultDir: Directory to store analysis results. In this case, results will be stored in ../results/.
  • -filterOutTestMethods true: Boolean flag to exclude test methods from the analysis.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages