You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some analysis tools have rules that detect desirable conditions in the code rather than defects. Results from such rules are marked with "kind": "pass", for example:
{ # A result object.
"ruleId": "CS1001",
"kind": "pass",
"message": {
...
}
}
But there is no way to declare such a rule in the rule metadata, because the reportingConfiguration object does not have a kind property:
So, for example, if a tool has a command line option to --dump-rules, there will be no way to identify in the output those rules that detect desirable conditions.
Consider adding a property reportingConfiguration.kind. reportingConfiguration's kind and level properties should have the same mutual defaulting behavior as they do in the result object (if level is any of "error", "warning", or "note", then kind defaults to "fail"; if kind is anything except "fail", then level defaults to "none").
The text was updated successfully, but these errors were encountered:
"Some analysis tools have rules that detect desirable conditions in the code rather than defects... But there is no way to declare such a rule in the rule metadata, because the reportingConfiguration object does not have a kind property"
Some analysis tools have rules that detect desirable conditions in the code rather than defects. Results from such rules are marked with
"kind": "pass"
, for example:But there is no way to declare such a rule in the rule metadata, because the
reportingConfiguration
object does not have akind
property:So, for example, if a tool has a command line option to
--dump-rules
, there will be no way to identify in the output those rules that detect desirable conditions.Consider adding a property
reportingConfiguration.kind
.reportingConfiguration
'skind
andlevel
properties should have the same mutual defaulting behavior as they do in theresult
object (iflevel
is any of"error"
,"warning"
, or"note"
, thenkind
defaults to"fail"
; ifkind
is anything except"fail"
, thenlevel
defaults to"none"
).The text was updated successfully, but these errors were encountered: