diff --git a/rules/S1094/metadata.json b/rules/S1094/metadata.json
index c1685e09a0..3e95e40e94 100644
--- a/rules/S1094/metadata.json
+++ b/rules/S1094/metadata.json
@@ -2,6 +2,10 @@
"title": "Meta tags should not be used to refresh or redirect",
"type": "CODE_SMELL",
"status": "ready",
+ "remediation": {
+ "func": "Constant\/Issue",
+ "constantCost": "20min"
+ },
"tags": [
"user-experience"
],
diff --git a/rules/S1096/metadata.json b/rules/S1096/metadata.json
index edfc9313d3..5f8dd45dbb 100644
--- a/rules/S1096/metadata.json
+++ b/rules/S1096/metadata.json
@@ -2,6 +2,10 @@
"title": "\"
\" should be present in all pages",
"type": "BUG",
"status": "ready",
+ "remediation": {
+ "func": "Constant\/Issue",
+ "constantCost": "5min"
+ },
"tags": [
"user-experience"
],
diff --git a/rules/S1098/metadata.json b/rules/S1098/metadata.json
index cd21f1b7ce..2fafaeae35 100644
--- a/rules/S1098/metadata.json
+++ b/rules/S1098/metadata.json
@@ -2,6 +2,10 @@
"title": "Favicons should be used in all pages",
"type": "CODE_SMELL",
"status": "ready",
+ "remediation": {
+ "func": "Constant\/Issue",
+ "constantCost": "5min"
+ },
"tags": [
"user-experience"
],
diff --git a/rules/S1933/metadata.json b/rules/S1933/metadata.json
index a59a629080..c01a273b05 100644
--- a/rules/S1933/metadata.json
+++ b/rules/S1933/metadata.json
@@ -2,6 +2,10 @@
"title": "Track lack of required child elements",
"type": "CODE_SMELL",
"status": "ready",
+ "remediation": {
+ "func": "Constant\/Issue",
+ "constantCost": "5min"
+ },
"tags": [
],
diff --git a/rules/S5717/metadata.json b/rules/S5717/metadata.json
index 52135f4809..52cb957e78 100644
--- a/rules/S5717/metadata.json
+++ b/rules/S5717/metadata.json
@@ -2,6 +2,10 @@
"title": "Function parameters' default values should not be modified or assigned",
"type": "CODE_SMELL",
"status": "ready",
+ "remediation": {
+ "func": "Constant\/Issue",
+ "constantCost": "5min"
+ },
"tags": [
],
diff --git a/rules/S5719/metadata.json b/rules/S5719/metadata.json
index 47b5de649f..1ac81fc649 100644
--- a/rules/S5719/metadata.json
+++ b/rules/S5719/metadata.json
@@ -2,6 +2,10 @@
"title": "Instance and class methods should have at least one positional parameter",
"type": "BUG",
"status": "ready",
+ "remediation": {
+ "func": "Constant\/Issue",
+ "constantCost": "5min"
+ },
"tags": [
],
diff --git a/rules/S5779/metadata.json b/rules/S5779/metadata.json
index 5d4cb6f4cc..74d49886cd 100644
--- a/rules/S5779/metadata.json
+++ b/rules/S5779/metadata.json
@@ -2,6 +2,10 @@
"title": "Assertion methods should not be used within the try block of a try-catch catching an Error",
"type": "BUG",
"status": "ready",
+ "remediation": {
+ "func": "Constant\/Issue",
+ "constantCost": "5min"
+ },
"tags": [
"tests"
],
diff --git a/rules/S5783/metadata.json b/rules/S5783/metadata.json
index 0257204227..5caea97cfd 100644
--- a/rules/S5783/metadata.json
+++ b/rules/S5783/metadata.json
@@ -2,6 +2,10 @@
"title": "Only one method invocation is expected when testing checked exceptions",
"type": "BUG",
"status": "ready",
+ "remediation": {
+ "func": "Constant\/Issue",
+ "constantCost": "5min"
+ },
"tags": [
"tests"
],
diff --git a/rules/S5785/metadata.json b/rules/S5785/metadata.json
index dbfaf392f8..0d42a2f401 100644
--- a/rules/S5785/metadata.json
+++ b/rules/S5785/metadata.json
@@ -2,6 +2,10 @@
"title": "JUnit assertTrue\/assertFalse should be simplified to the corresponding dedicated assertion",
"type": "CODE_SMELL",
"status": "ready",
+ "remediation": {
+ "func": "Constant\/Issue",
+ "constantCost": "2min"
+ },
"tags": [
"tests"
],
diff --git a/rules/S5878/metadata.json b/rules/S5878/metadata.json
index d9b4ca569c..47deacd9ba 100644
--- a/rules/S5878/metadata.json
+++ b/rules/S5878/metadata.json
@@ -2,6 +2,10 @@
"title": "Functions, methods and lambdas should not have too many mandatory parameters",
"type": "CODE_SMELL",
"status": "ready",
+ "remediation": {
+ "func": "Constant\/Issue",
+ "constantCost": "20min"
+ },
"tags": [
"brain-overload",
"design"
diff --git a/rules/S6104/rule.adoc b/rules/S6104/rule.adoc
index 6c85dd48cb..156ba88de8 100644
--- a/rules/S6104/rule.adoc
+++ b/rules/S6104/rule.adoc
@@ -7,7 +7,7 @@ This rule raises an issue when ``++computeIfAbsent++`` or ``++computeIfPresent++
== Noncompliant Code Example
----
-map.computeIfAbsent(key, k -> null); // Noncompliant, te map will not contain an entry key->null.
+map.computeIfAbsent(key, k -> null); // Noncompliant, the map will not contain an entry key->null.
map.computeIfPresent(key, (k, oldValue) -> null); // Noncompliant
----
@@ -26,5 +26,5 @@ if (map.containsKey(key)) {
== See also
-* S3824 - "Map.get" and value test should be replaced with single method call
+* S3824 - "Map.get" and value test should be replaced with a single method call