Commit 56068368 authored by Ronan GUEGUEN's avatar Ronan GUEGUEN
Browse files

change from simple comment to documentation comment

parent 54b7d21a
......@@ -1959,7 +1959,7 @@ rule MesureTooManyStaticImports(class : java!CompilationUnit) {
----------------------------------------- UnusedLocalVariable ------------------------------------------------------
-- Creates a measure when a local variable is declared but not used
--- Creates a measure when a local variable is declared but not used
rule MeasureUnusedLocalVariable(var : java!VariableDeclarationFragment){
to
......
......@@ -145,6 +145,7 @@ helper def: switchDensity() : Set (smm!Measure) =
->collect(switchStatement | thisModule.MeasureSwitchDensity(switchCase))
);
--- Rule for metrics UnusedLocalVariable :
helper def: unusedLocalVariable(): Set(ssm!Measures) =
java!VariableDeclarationFragment.allInstances()
-> select(variable | variable.originalCompilationUnit.name = 'LocalVariable.java')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment