Skip to content

Commit

Permalink
Update impact or defaultSeverity to match each other (#4444)
Browse files Browse the repository at this point in the history
* Update impact or defaultSeverity to match each other

* Change S6776

* Update S6776
  • Loading branch information
martin-strecker-sonarsource authored Nov 11, 2024
1 parent 06c42fd commit 65c443e
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion rules/S6667/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
"MAINTAINABILITY": "MEDIUM"
"MAINTAINABILITY": "LOW"
},
"attribute": "COMPLETE"
},
Expand Down
2 changes: 1 addition & 1 deletion rules/S6668/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
"RELIABILITY": "MEDIUM"
"RELIABILITY": "LOW"
},
"attribute": "LOGICAL"
},
Expand Down
2 changes: 1 addition & 1 deletion rules/S6669/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
"MAINTAINABILITY": "MEDIUM"
"MAINTAINABILITY": "LOW"
},
"attribute": "CONVENTIONAL"
},
Expand Down
2 changes: 1 addition & 1 deletion rules/S6670/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
"RELIABILITY": "MEDIUM"
"RELIABILITY": "LOW"
},
"attribute": "LOGICAL"
},
Expand Down
2 changes: 1 addition & 1 deletion rules/S6672/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
"MAINTAINABILITY": "MEDIUM"
"MAINTAINABILITY": "LOW"
},
"attribute": "CONVENTIONAL"
},
Expand Down
2 changes: 1 addition & 1 deletion rules/S6674/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "BUG",
"code": {
"impacts": {
"RELIABILITY": "MEDIUM"
"RELIABILITY": "HIGH"
},
"attribute": "LOGICAL"
},
Expand Down
2 changes: 1 addition & 1 deletion rules/S6675/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
"MAINTAINABILITY": "MEDIUM"
"MAINTAINABILITY": "LOW"
},
"attribute": "LOGICAL"
},
Expand Down
2 changes: 1 addition & 1 deletion rules/S6776/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"tags": [
],
"defaultSeverity": "Major",
"defaultSeverity": "Minor",
"ruleSpecification": "RSPEC-6776",
"sqKey": "S6776",
"scope": "All",
Expand Down
2 changes: 1 addition & 1 deletion rules/S6798/csharp/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"quickfix": "infeasible",
"code": {
"impacts": {
"RELIABILITY": "HIGH"
"RELIABILITY": "MEDIUM"
},
"attribute": "LOGICAL"
}
Expand Down
2 changes: 1 addition & 1 deletion rules/S6800/csharp/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"quickfix": "infeasible",
"code": {
"impacts": {
"RELIABILITY": "HIGH"
"RELIABILITY": "MEDIUM"
},
"attribute": "LOGICAL"
}
Expand Down
2 changes: 1 addition & 1 deletion rules/S6930/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"quickfix": "targeted",
"code": {
"impacts": {
"RELIABILITY": "HIGH"
"RELIABILITY": "MEDIUM"
},
"attribute": "LOGICAL"
}
Expand Down
2 changes: 1 addition & 1 deletion rules/S6931/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"quickfix": "partial",
"code": {
"impacts": {
"MAINTAINABILITY": "HIGH"
"MAINTAINABILITY": "MEDIUM"
},
"attribute": "CLEAR"
}
Expand Down
2 changes: 1 addition & 1 deletion rules/S6932/csharp/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"quickfix": "infeasible",
"code": {
"impacts": {
"MAINTAINABILITY": "HIGH",
"MAINTAINABILITY": "MEDIUM",
"RELIABILITY": "MEDIUM",
"SECURITY": "MEDIUM"
},
Expand Down
2 changes: 1 addition & 1 deletion rules/S6934/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"quickfix": "partial",
"code": {
"impacts": {
"MAINTAINABILITY": "HIGH"
"MAINTAINABILITY": "MEDIUM"
},
"attribute": "CLEAR"
}
Expand Down
2 changes: 1 addition & 1 deletion rules/S6960/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"quickfix": "partial",
"code": {
"impacts": {
"MAINTAINABILITY": "HIGH"
"MAINTAINABILITY": "MEDIUM"
},
"attribute": "MODULAR"
}
Expand Down
2 changes: 1 addition & 1 deletion rules/S6964/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"quickfix": "targeted",
"code": {
"impacts": {
"RELIABILITY": "HIGH"
"RELIABILITY": "MEDIUM"
},
"attribute": "TRUSTWORTHY"
}
Expand Down
2 changes: 1 addition & 1 deletion rules/S6967/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"tags": [
"asp.net"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-6967",
"sqKey": "S6967",
"scope": "All",
Expand Down
2 changes: 1 addition & 1 deletion rules/S6968/csharp/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"quickfix": "partial",
"code": {
"impacts": {
"MAINTAINABILITY": "HIGH"
"MAINTAINABILITY": "MEDIUM"
},
"attribute": "CLEAR"
}
Expand Down

0 comments on commit 65c443e

Please sign in to comment.