WekaNose is a tool that allows to perform an experiment, that aims to study code smell detection through machine learning techniques. The experiment's purpose is to select rules, or obtain trained algorithms, that can classify an instance (method or class) as affected or not by a code smell. These rules have the main advantage that they are extracted through an example-based approach, rather then a heuristic-based one.

This experiment is divided in two main part:

  1. the first one concern the creation of the dataset
  2. the second one where the machine learning algorithms are trained
    and tested using the dataset created in the first part.


How to run

For run WekaNose you just need to type in the command line:

java -jar WekaNose.jar

N.B. Do NOT open the jar double-clicking on it, because the workspace's path (./WekaNose/result) will be compromised



For every further information, please check out:

Video Demo-Tutorial

Video tutorial of WekaNose is available on YouTube: