First project for Knowledge Analysis & Management (2019)
For the general documentation run:
python3 bad_smells.py
For details about each command and instruction on "how to run", run:
python3 bad_smells.py <command> -h/--help
All the files generated by the software can be found in folder res
(in project root).
By default the three available function use files tree.py
and project to analyze (e.g android-chess
)
in the lib
folder, although this folder is not uploaded to github. Therefore to use the function without
arguments you should create the lib
folder (in the project root) and move there the two files.
The following are some example of commands:
- Ontology creation
$ python3 bad_smells.py onto_creator -p <path>/tree.py
- Ontology population
$ python3 bad_smells.py individ_creator -s <path>/android-chess/app/src/main/java/jwtc/chess
- Detect bad smells
$ python3 bad_smells.py find_bad_smells