-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f603de8
commit 9c5b5a1
Showing
10 changed files
with
150 additions
and
148 deletions.
There are no files selected for viewing
29 changes: 15 additions & 14 deletions
29
...rc/main/resources/nl/ramsolutions/sw/sonar/l10n/magik/rules/ComparedTypeDoesNotMatch.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
{ | ||
"title": "Compared types do not match", | ||
"type": "BUG", | ||
"status": "ready", | ||
"remediation": { | ||
"func": "Constant\/Issue", | ||
"constantCost": "15min" | ||
}, | ||
"tags": [ | ||
"error" | ||
], | ||
"defaultSeverity": "Major", | ||
"ruleSpecification": "ComparedTypesDoNotMatch", | ||
"sqKey": "compared-types-do-not-match" | ||
} | ||
"title": "Compared types do not match", | ||
"type": "BUG", | ||
"status": "ready", | ||
"remediation": { | ||
"func": "Constant\/Issue", | ||
"constantCost": "15min" | ||
}, | ||
"tags": [ | ||
"error", | ||
"typing" | ||
], | ||
"defaultSeverity": "Major", | ||
"ruleSpecification": "ComparedTypesDoNotMatch", | ||
"sqKey": "compared-types-do-not-match" | ||
} |
29 changes: 15 additions & 14 deletions
29
...ain/resources/nl/ramsolutions/sw/sonar/l10n/magik/rules/ConditionalExpressionIsFalse.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
{ | ||
"title": "Conditional expression does not result in true/false", | ||
"type": "BUG", | ||
"status": "ready", | ||
"remediation": { | ||
"func": "Constant\/Issue", | ||
"constantCost": "15min" | ||
}, | ||
"tags": [ | ||
"error" | ||
], | ||
"defaultSeverity": "Major", | ||
"ruleSpecification": "ConditionalExpressionIsFalse", | ||
"sqKey": "conditional-expression-is-false" | ||
} | ||
"title": "Conditional expression does not result in true/false", | ||
"type": "BUG", | ||
"status": "ready", | ||
"remediation": { | ||
"func": "Constant\/Issue", | ||
"constantCost": "15min" | ||
}, | ||
"tags": [ | ||
"error", | ||
"typing" | ||
], | ||
"defaultSeverity": "Major", | ||
"ruleSpecification": "ConditionalExpressionIsFalse", | ||
"sqKey": "conditional-expression-is-false" | ||
} |
30 changes: 15 additions & 15 deletions
30
...ped-checks/src/main/resources/nl/ramsolutions/sw/sonar/l10n/magik/rules/GlobalExists.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{ | ||
"title": "Global exists", | ||
"type": "BUG", | ||
"status": "ready", | ||
"remediation": { | ||
"func": "Constant\/Issue", | ||
"constantCost": "5min" | ||
}, | ||
"tags": [ | ||
"bugrisk", | ||
"typing" | ||
], | ||
"defaultSeverity": "Major", | ||
"ruleSpecification": "GlobalExists", | ||
"sqKey": "global-exists" | ||
} | ||
"title": "Global exists", | ||
"type": "BUG", | ||
"status": "ready", | ||
"remediation": { | ||
"func": "Constant\/Issue", | ||
"constantCost": "5min" | ||
}, | ||
"tags": [ | ||
"bug", | ||
"typing" | ||
], | ||
"defaultSeverity": "Major", | ||
"ruleSpecification": "GlobalExists", | ||
"sqKey": "global-exists" | ||
} |
30 changes: 15 additions & 15 deletions
30
...s/nl/ramsolutions/sw/sonar/l10n/magik/rules/MethodArgumentCountMatchesParameterCount.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{ | ||
"title": "Method argument count matches parameter count", | ||
"type": "BUG", | ||
"status": "ready", | ||
"remediation": { | ||
"func": "Constant\/Issue", | ||
"constantCost": "30min" | ||
}, | ||
"tags": [ | ||
"bug", | ||
"typing" | ||
], | ||
"defaultSeverity": "Major", | ||
"ruleSpecification": "MethodArgumentCountMatchesParameterCount", | ||
"sqKey": "method-argument-count-matches-parameter-count" | ||
} | ||
"title": "Method argument count matches parameter count", | ||
"type": "BUG", | ||
"status": "ready", | ||
"remediation": { | ||
"func": "Constant\/Issue", | ||
"constantCost": "30min" | ||
}, | ||
"tags": [ | ||
"bug", | ||
"typing" | ||
], | ||
"defaultSeverity": "Major", | ||
"ruleSpecification": "MethodArgumentCountMatchesParameterCount", | ||
"sqKey": "method-argument-count-matches-parameter-count" | ||
} |
30 changes: 15 additions & 15 deletions
30
...ces/nl/ramsolutions/sw/sonar/l10n/magik/rules/MethodArgumentTypeMatchesParameterType.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{ | ||
"title": "Argument type does not match parameter type", | ||
"type": "BUG", | ||
"status": "ready", | ||
"remediation": { | ||
"func": "Constant\/Issue", | ||
"constantCost": "30min" | ||
}, | ||
"tags": [ | ||
"bug", | ||
"typing" | ||
], | ||
"defaultSeverity": "Major", | ||
"ruleSpecification": "MethodArgumentTypeMatchesParameterType", | ||
"sqKey": "method-argument-type-matches-parameter-type" | ||
} | ||
"title": "Argument type does not match parameter type", | ||
"type": "BUG", | ||
"status": "ready", | ||
"remediation": { | ||
"func": "Constant\/Issue", | ||
"constantCost": "30min" | ||
}, | ||
"tags": [ | ||
"bug", | ||
"typing" | ||
], | ||
"defaultSeverity": "Major", | ||
"ruleSpecification": "MethodArgumentTypeMatchesParameterType", | ||
"sqKey": "method-argument-type-matches-parameter-type" | ||
} |
30 changes: 15 additions & 15 deletions
30
...ped-checks/src/main/resources/nl/ramsolutions/sw/sonar/l10n/magik/rules/MethodExists.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{ | ||
"title": "Method Exists", | ||
"type": "BUG", | ||
"status": "ready", | ||
"remediation": { | ||
"func": "Constant\/Issue", | ||
"constantCost": "30min" | ||
}, | ||
"tags": [ | ||
"bug", | ||
"typing" | ||
], | ||
"defaultSeverity": "Major", | ||
"ruleSpecification": "MethodExists", | ||
"sqKey": "method-exists" | ||
} | ||
"title": "Method Exists", | ||
"type": "BUG", | ||
"status": "ready", | ||
"remediation": { | ||
"func": "Constant\/Issue", | ||
"constantCost": "30min" | ||
}, | ||
"tags": [ | ||
"bug", | ||
"typing" | ||
], | ||
"defaultSeverity": "Major", | ||
"ruleSpecification": "MethodExists", | ||
"sqKey": "method-exists" | ||
} |
30 changes: 15 additions & 15 deletions
30
...c/main/resources/nl/ramsolutions/sw/sonar/l10n/magik/rules/MethodReturnTypesMatchDoc.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{ | ||
"title": "Method return types match doc", | ||
"type": "BUG", | ||
"status": "ready", | ||
"remediation": { | ||
"func": "Constant\/Issue", | ||
"constantCost": "30min" | ||
}, | ||
"tags": [ | ||
"bug", | ||
"typing" | ||
], | ||
"defaultSeverity": "Major", | ||
"ruleSpecification": "MethodReturnTypesMatchDoc", | ||
"sqKey": "method-return-types-match-doc" | ||
} | ||
"title": "Method return types match doc", | ||
"type": "BUG", | ||
"status": "ready", | ||
"remediation": { | ||
"func": "Constant\/Issue", | ||
"constantCost": "30min" | ||
}, | ||
"tags": [ | ||
"bug", | ||
"typing" | ||
], | ||
"defaultSeverity": "Major", | ||
"ruleSpecification": "MethodReturnTypesMatchDoc", | ||
"sqKey": "method-return-types-match-doc" | ||
} |
30 changes: 15 additions & 15 deletions
30
...typed-checks/src/main/resources/nl/ramsolutions/sw/sonar/l10n/magik/rules/SlotExists.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{ | ||
"title": "Slot Exists", | ||
"type": "BUG", | ||
"status": "ready", | ||
"remediation": { | ||
"func": "Constant\/Issue", | ||
"constantCost": "30min" | ||
}, | ||
"tags": [ | ||
"bug", | ||
"typing" | ||
], | ||
"defaultSeverity": "Major", | ||
"ruleSpecification": "SlotExists", | ||
"sqKey": "slot-exists" | ||
} | ||
"title": "Slot Exists", | ||
"type": "BUG", | ||
"status": "ready", | ||
"remediation": { | ||
"func": "Constant\/Issue", | ||
"constantCost": "30min" | ||
}, | ||
"tags": [ | ||
"bug", | ||
"typing" | ||
], | ||
"defaultSeverity": "Major", | ||
"ruleSpecification": "SlotExists", | ||
"sqKey": "slot-exists" | ||
} |
30 changes: 15 additions & 15 deletions
30
...hecks/src/main/resources/nl/ramsolutions/sw/sonar/l10n/magik/rules/TypeDocTypeExists.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{ | ||
"title": "Type-doc Type Exists", | ||
"type": "BUG", | ||
"status": "ready", | ||
"remediation": { | ||
"func": "Constant\/Issue", | ||
"constantCost": "30min" | ||
}, | ||
"tags": [ | ||
"bug", | ||
"typing" | ||
], | ||
"defaultSeverity": "Major", | ||
"ruleSpecification": "TypeDocTypeExists", | ||
"sqKey": "type-doc-type-exists" | ||
} | ||
"title": "Type-doc Type Exists", | ||
"type": "BUG", | ||
"status": "ready", | ||
"remediation": { | ||
"func": "Constant\/Issue", | ||
"constantCost": "15min" | ||
}, | ||
"tags": [ | ||
"convention", | ||
"typing" | ||
], | ||
"defaultSeverity": "Minor", | ||
"ruleSpecification": "TypeDocTypeExists", | ||
"sqKey": "type-doc-type-exists" | ||
} |
30 changes: 15 additions & 15 deletions
30
...c/main/resources/nl/ramsolutions/sw/sonar/l10n/magik/rules/UndefinedMethodCallResult.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{ | ||
"title": "Undefined method call result", | ||
"type": "CODE_SMELL", | ||
"status": "ready", | ||
"remediation": { | ||
"func": "Constant\/Issue", | ||
"constantCost": "30min" | ||
}, | ||
"tags": [ | ||
"convention", | ||
"typing" | ||
], | ||
"defaultSeverity": "Minor", | ||
"ruleSpecification": "UndefinedMethodCallResult", | ||
"sqKey": "undefined-method-call-result" | ||
} | ||
"title": "Undefined method call result", | ||
"type": "CODE_SMELL", | ||
"status": "ready", | ||
"remediation": { | ||
"func": "Constant\/Issue", | ||
"constantCost": "30min" | ||
}, | ||
"tags": [ | ||
"convention", | ||
"typing" | ||
], | ||
"defaultSeverity": "Minor", | ||
"ruleSpecification": "UndefinedMethodCallResult", | ||
"sqKey": "undefined-method-call-result" | ||
} |