Skip to content

vikiru/CodeSmell

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

283 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeSmell

Project Description

A tool for detection and visualization of code smells for object-oriented languages.

Authors

  • Golan Hassin
  • Visakan Kirubakaran
  • Sabin Plaiasu
  • Martin Rivard
  • Kshitij Sawhney

Relevant Links

Prerequisites

Make sure that the following prerequisites are successfully installed on your machine:

dot, joern, python must be part of your system PATH variable to use this program.

Build and Run Instructions

Setup

Ensure the relevant environment variables are set properly:

  • export JAVA_HOME=/usr/lib/jvm/default-java/
  • MAVEN_HOME

Build Instructions

Run the following command to clean and package the project:

mvn clean package

Build the project files with Maven:

mvn install

Run Instructions

In order to execute the main program via the terminal, run the following:

mvn clean javafx:run

In order to run the program through the executable jar via the terminal, the following command can be used:

java -jar ./target/CodeSmell-1.0-SNAPSHOT-shaded.jar

To do this, the dependencies (JavaFX) must be copied into the ./target/dist/lib folder.

Usage

Testing Instructions

Run the following command to execute all of the tests:

mvn test

In order to skip invoking joern (which can take a sagnificant amount of time on older hardware), pass the command line argument to skip joern through maven like so

mvn -Dskip=true javafx:run

About

A tool for detection and visualization of code smells for object-oriented languages.

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •