Adding code smell detection :
authorFlorian Deljarry <deljarry.florian@gmail.com>
Fri, 26 May 2017 18:39:47 +0000 (20:39 +0200)
committerFlorian Deljarry <deljarry.florian@gmail.com>
Tue, 6 Jun 2017 20:14:57 +0000 (22:14 +0200)
commit3686625c4c227c33ef31be97f07e991d9f14f66f
treec874d297599a063970b5b883c4a2d3cc0caadfee
parentf4571f3e659d6885bca8467b573c4664c47e7a7b
Adding code smell detection :

Long class
Long method parameter list
Long size method
Feature envy
Adding a visitor to analyse the contents of the methods

Signed-off-by: Florian Deljarry <deljarry.florian@gmail.com>
15 files changed:
src/metrics/codesmells_metrics.nit [new file with mode: 0644]
src/metrics/mclassdef_collect.nit [new file with mode: 0644]
src/metrics/method_analyze_metrics.nit [new file with mode: 0644]
src/nitsmells.nit [new file with mode: 0644]
tests/TestNitsmells/FeatureEnvy/featureenvy.nit [new file with mode: 0644]
tests/TestNitsmells/LargeClass/largeclass.nit [new file with mode: 0644]
tests/TestNitsmells/LongMethod/longmethod.nit [new file with mode: 0644]
tests/TestNitsmells/LongParameterList/longparameterlist.nit [new file with mode: 0644]
tests/TestNitsmells/platform/platform.nit [new file with mode: 0644]
tests/nitsmells.args [new file with mode: 0644]
tests/sav/nitsmells.res [new file with mode: 0644]
tests/sav/nitsmells_args1.res [new file with mode: 0644]
tests/sav/nitsmells_args2.res [new file with mode: 0644]
tests/sav/nitsmells_args3.res [new file with mode: 0644]
tests/sav/nitsmells_args4.res [new file with mode: 0644]