Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
0f11ee4c
Commit
0f11ee4c
authored
Dec 20, 2019
by
BRAULT Benjamin
Committed by
Gerson SUNYE
Dec 20, 2019
Browse files
Fixed issue
#723
AbstractClassWithoutAnyMethod
parent
9c5f0532
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
src/main/atl/analysis.atl
View file @
0f11ee4c
This diff is collapsed.
Click to expand it.
src/main/atl/design.atl
View file @
0f11ee4c
...
...
@@ -146,4 +146,4 @@ helper def: abstractClassWithoutAnyMethod() : Set(smm!Measure) =
-> select(i | i.bodyDeclarations -> select(r | r.oclIsTypeOf(java!MethodDeclaration)) -> size() = 0)
-> select(i | i.modifier <> OclUndefined)
-> select(i | i.modifier.inheritance -> toString() = 'abstract')
-> collect(i | thisModule.MeasureAbstractClassWithoutAnyMethod(i));
\ No newline at end of file
-> collect(i | thisModule.MeasureAbstractClassWithoutAnyMethod(i));
Write
Preview
Markdown
is supported
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