File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
cpp/ql/src/Metrics/Internal Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ predicate hasDuplicateFunctionEntryPointLocation(Function func) {
14
14
15
15
predicate hasDuplicateFunctionEntryPoint ( Function func ) { count ( func .getEntryPoint ( ) ) > 1 }
16
16
17
- predicate hasNonUniqueDeclarationEntry ( DeclStmt stmt , int i ) {
17
+ predicate hasDuplicateDeclarationEntry ( DeclStmt stmt , int i ) {
18
18
strictcount ( stmt .getDeclarationEntry ( i ) ) > 1
19
19
}
20
20
21
21
select count ( Function f | hasDuplicateFunctionEntryPoint ( f ) ) as duplicateFunctionEntryPoint ,
22
22
count ( Function f | hasDuplicateFunctionEntryPointLocation ( f ) ) as duplicateFunctionEntryPointLocation ,
23
- count ( DeclStmt stmt , int i | hasNonUniqueDeclarationEntry ( stmt , i ) ) as nonUniqueDeclarationEntry
23
+ count ( DeclStmt stmt , int i | hasDuplicateDeclarationEntry ( stmt , i ) ) as duplicateDeclarationEntry
You can’t perform that action at this time.
0 commit comments