Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Roxane MARECHAL
Source Code Analyzer
Commits
3c560f2d
Commit
3c560f2d
authored
Dec 20, 2019
by
Gerson Sunyé
Browse files
Two more commented rules
parent
39932b58
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/atl/analysis.atl
View file @
3c560f2d
...
...
@@ -100,8 +100,6 @@ helper def: allMeasures(project : java!Model): Set(smm!Measure) =
thisModule.emptySynchronizedBlock(),
thisModule.emptyTryBlock(),
thisModule.importFromSamePackage(),
thisModule.methodWithSameNameAsEnclosingClass(),
thisModule.dontUseFloatTypeForLoopIndices(),
thisModule.missingBreakInSwitch(),
thisModule.suspiciousEqualsMethodName(),
thisModule.UnconditionalIfStatement(),
...
...
@@ -132,6 +130,9 @@ helper def: allMeasures(project : java!Model): Set(smm!Measure) =
-- thisModule.stringToString(),
-- thisModule.dontCallThreadRun(),
-- thisModule.methodWithSameNameAsEnclosingClass(),
-- thisModule.dontUseFloatTypeForLoopIndices(),
-- thisModule.methodWithSameNameAsEnclosingClass(),
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment