Skip to content

Commit

Permalink
Fixes to checks metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenLooman committed Feb 9, 2024
1 parent f603de8 commit 9c5b5a1
Show file tree
Hide file tree
Showing 10 changed files with 150 additions and 148 deletions.
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"
}
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"
}
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"
}
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"
}
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"
}
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"
}
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"
}
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"
}
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"
}
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"
}

0 comments on commit 9c5b5a1

Please sign in to comment.