25 lines
498 B
JSON
25 lines
498 B
JSON
{
|
|
"title": "Avoid resizing a vector to zero using `vec.resize(0, value)`",
|
|
"type": "BUG",
|
|
"status": "ready",
|
|
"remediation": {
|
|
"func": "Constant\/Issue",
|
|
"constantCost": "5min"
|
|
},
|
|
"tags": [
|
|
"clippy"
|
|
],
|
|
"defaultSeverity": "Major",
|
|
"ruleSpecification": "RSPEC-7200",
|
|
"sqKey": "S7200",
|
|
"scope": "All",
|
|
"defaultQualityProfiles": ["Sonar way"],
|
|
"quickfix": "unknown",
|
|
"code": {
|
|
"impacts": {
|
|
"MAINTAINABILITY": "LOW"
|
|
},
|
|
"attribute": "CLEAR"
|
|
}
|
|
}
|