Add back common rule S1606 and change the status to closed
This commit is contained in:
parent
45ddb8fdce
commit
e4779f834f
3
rules/S1606/abap/metadata.json
Normal file
3
rules/S1606/abap/metadata.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
|
||||
}
|
10
rules/S1606/abap/rule.adoc
Normal file
10
rules/S1606/abap/rule.adoc
Normal file
@ -0,0 +1,10 @@
|
||||
include::../rule.adoc[]
|
||||
ifdef::env-github,rspecator-view[]
|
||||
|
||||
'''
|
||||
== Implementation Specification
|
||||
(visible only on this page)
|
||||
|
||||
include::../message.adoc[]
|
||||
|
||||
endif::env-github,rspecator-view[]
|
3
rules/S1606/cfamily/metadata.json
Normal file
3
rules/S1606/cfamily/metadata.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
|
||||
}
|
10
rules/S1606/cfamily/rule.adoc
Normal file
10
rules/S1606/cfamily/rule.adoc
Normal file
@ -0,0 +1,10 @@
|
||||
include::../rule.adoc[]
|
||||
ifdef::env-github,rspecator-view[]
|
||||
|
||||
'''
|
||||
== Implementation Specification
|
||||
(visible only on this page)
|
||||
|
||||
include::../message.adoc[]
|
||||
|
||||
endif::env-github,rspecator-view[]
|
3
rules/S1606/cobol/metadata.json
Normal file
3
rules/S1606/cobol/metadata.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
|
||||
}
|
10
rules/S1606/cobol/rule.adoc
Normal file
10
rules/S1606/cobol/rule.adoc
Normal file
@ -0,0 +1,10 @@
|
||||
include::../rule.adoc[]
|
||||
ifdef::env-github,rspecator-view[]
|
||||
|
||||
'''
|
||||
== Implementation Specification
|
||||
(visible only on this page)
|
||||
|
||||
include::../message.adoc[]
|
||||
|
||||
endif::env-github,rspecator-view[]
|
3
rules/S1606/csharp/metadata.json
Normal file
3
rules/S1606/csharp/metadata.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
|
||||
}
|
10
rules/S1606/csharp/rule.adoc
Normal file
10
rules/S1606/csharp/rule.adoc
Normal file
@ -0,0 +1,10 @@
|
||||
include::../rule.adoc[]
|
||||
ifdef::env-github,rspecator-view[]
|
||||
|
||||
'''
|
||||
== Implementation Specification
|
||||
(visible only on this page)
|
||||
|
||||
include::../message.adoc[]
|
||||
|
||||
endif::env-github,rspecator-view[]
|
3
rules/S1606/flex/metadata.json
Normal file
3
rules/S1606/flex/metadata.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
|
||||
}
|
10
rules/S1606/flex/rule.adoc
Normal file
10
rules/S1606/flex/rule.adoc
Normal file
@ -0,0 +1,10 @@
|
||||
include::../rule.adoc[]
|
||||
ifdef::env-github,rspecator-view[]
|
||||
|
||||
'''
|
||||
== Implementation Specification
|
||||
(visible only on this page)
|
||||
|
||||
include::../message.adoc[]
|
||||
|
||||
endif::env-github,rspecator-view[]
|
3
rules/S1606/java/metadata.json
Normal file
3
rules/S1606/java/metadata.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
|
||||
}
|
10
rules/S1606/java/rule.adoc
Normal file
10
rules/S1606/java/rule.adoc
Normal file
@ -0,0 +1,10 @@
|
||||
include::../rule.adoc[]
|
||||
ifdef::env-github,rspecator-view[]
|
||||
|
||||
'''
|
||||
== Implementation Specification
|
||||
(visible only on this page)
|
||||
|
||||
include::../message.adoc[]
|
||||
|
||||
endif::env-github,rspecator-view[]
|
3
rules/S1606/javascript/metadata.json
Normal file
3
rules/S1606/javascript/metadata.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
|
||||
}
|
10
rules/S1606/javascript/rule.adoc
Normal file
10
rules/S1606/javascript/rule.adoc
Normal file
@ -0,0 +1,10 @@
|
||||
include::../rule.adoc[]
|
||||
ifdef::env-github,rspecator-view[]
|
||||
|
||||
'''
|
||||
== Implementation Specification
|
||||
(visible only on this page)
|
||||
|
||||
include::../message.adoc[]
|
||||
|
||||
endif::env-github,rspecator-view[]
|
4
rules/S1606/message.adoc
Normal file
4
rules/S1606/message.adoc
Normal file
@ -0,0 +1,4 @@
|
||||
=== Message
|
||||
|
||||
Fix failing unit tests on file "XXXXX"
|
||||
|
29
rules/S1606/metadata.json
Normal file
29
rules/S1606/metadata.json
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"title": "Failed unit tests should be fixed",
|
||||
"type": "CODE_SMELL",
|
||||
"status": "closed",
|
||||
"remediation": {
|
||||
"func": "Linear",
|
||||
"linearDesc": "per failed test",
|
||||
"linearFactor": "10min"
|
||||
},
|
||||
"tags": [
|
||||
"tests"
|
||||
],
|
||||
"extra": {
|
||||
"replacementRules": [
|
||||
|
||||
],
|
||||
"legacyKeys": [
|
||||
"FailedUnitTests"
|
||||
]
|
||||
},
|
||||
"defaultSeverity": "Blocker",
|
||||
"ruleSpecification": "RSPEC-1606",
|
||||
"sqKey": "S1606",
|
||||
"scope": "Tests",
|
||||
"defaultQualityProfiles": [
|
||||
|
||||
],
|
||||
"quickfix": "unknown"
|
||||
}
|
3
rules/S1606/php/metadata.json
Normal file
3
rules/S1606/php/metadata.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
|
||||
}
|
10
rules/S1606/php/rule.adoc
Normal file
10
rules/S1606/php/rule.adoc
Normal file
@ -0,0 +1,10 @@
|
||||
include::../rule.adoc[]
|
||||
ifdef::env-github,rspecator-view[]
|
||||
|
||||
'''
|
||||
== Implementation Specification
|
||||
(visible only on this page)
|
||||
|
||||
include::../message.adoc[]
|
||||
|
||||
endif::env-github,rspecator-view[]
|
3
rules/S1606/pli/metadata.json
Normal file
3
rules/S1606/pli/metadata.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
|
||||
}
|
10
rules/S1606/pli/rule.adoc
Normal file
10
rules/S1606/pli/rule.adoc
Normal file
@ -0,0 +1,10 @@
|
||||
include::../rule.adoc[]
|
||||
ifdef::env-github,rspecator-view[]
|
||||
|
||||
'''
|
||||
== Implementation Specification
|
||||
(visible only on this page)
|
||||
|
||||
include::../message.adoc[]
|
||||
|
||||
endif::env-github,rspecator-view[]
|
3
rules/S1606/plsql/metadata.json
Normal file
3
rules/S1606/plsql/metadata.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
|
||||
}
|
10
rules/S1606/plsql/rule.adoc
Normal file
10
rules/S1606/plsql/rule.adoc
Normal file
@ -0,0 +1,10 @@
|
||||
include::../rule.adoc[]
|
||||
ifdef::env-github,rspecator-view[]
|
||||
|
||||
'''
|
||||
== Implementation Specification
|
||||
(visible only on this page)
|
||||
|
||||
include::../message.adoc[]
|
||||
|
||||
endif::env-github,rspecator-view[]
|
3
rules/S1606/python/metadata.json
Normal file
3
rules/S1606/python/metadata.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
|
||||
}
|
10
rules/S1606/python/rule.adoc
Normal file
10
rules/S1606/python/rule.adoc
Normal file
@ -0,0 +1,10 @@
|
||||
include::../rule.adoc[]
|
||||
ifdef::env-github,rspecator-view[]
|
||||
|
||||
'''
|
||||
== Implementation Specification
|
||||
(visible only on this page)
|
||||
|
||||
include::../message.adoc[]
|
||||
|
||||
endif::env-github,rspecator-view[]
|
3
rules/S1606/rpg/metadata.json
Normal file
3
rules/S1606/rpg/metadata.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
|
||||
}
|
10
rules/S1606/rpg/rule.adoc
Normal file
10
rules/S1606/rpg/rule.adoc
Normal file
@ -0,0 +1,10 @@
|
||||
include::../rule.adoc[]
|
||||
ifdef::env-github,rspecator-view[]
|
||||
|
||||
'''
|
||||
== Implementation Specification
|
||||
(visible only on this page)
|
||||
|
||||
include::../message.adoc[]
|
||||
|
||||
endif::env-github,rspecator-view[]
|
2
rules/S1606/rule.adoc
Normal file
2
rules/S1606/rule.adoc
Normal file
@ -0,0 +1,2 @@
|
||||
Test failures or errors generally indicate that regressions have been introduced. Those tests should be handled as soon as possible to reduce the cost to fix the corresponding regressions.
|
||||
|
3
rules/S1606/swift/metadata.json
Normal file
3
rules/S1606/swift/metadata.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
|
||||
}
|
10
rules/S1606/swift/rule.adoc
Normal file
10
rules/S1606/swift/rule.adoc
Normal file
@ -0,0 +1,10 @@
|
||||
include::../rule.adoc[]
|
||||
ifdef::env-github,rspecator-view[]
|
||||
|
||||
'''
|
||||
== Implementation Specification
|
||||
(visible only on this page)
|
||||
|
||||
include::../message.adoc[]
|
||||
|
||||
endif::env-github,rspecator-view[]
|
3
rules/S1606/vb6/metadata.json
Normal file
3
rules/S1606/vb6/metadata.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
|
||||
}
|
10
rules/S1606/vb6/rule.adoc
Normal file
10
rules/S1606/vb6/rule.adoc
Normal file
@ -0,0 +1,10 @@
|
||||
include::../rule.adoc[]
|
||||
ifdef::env-github,rspecator-view[]
|
||||
|
||||
'''
|
||||
== Implementation Specification
|
||||
(visible only on this page)
|
||||
|
||||
include::../message.adoc[]
|
||||
|
||||
endif::env-github,rspecator-view[]
|
3
rules/S1606/vbnet/metadata.json
Normal file
3
rules/S1606/vbnet/metadata.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
|
||||
}
|
10
rules/S1606/vbnet/rule.adoc
Normal file
10
rules/S1606/vbnet/rule.adoc
Normal file
@ -0,0 +1,10 @@
|
||||
include::../rule.adoc[]
|
||||
ifdef::env-github,rspecator-view[]
|
||||
|
||||
'''
|
||||
== Implementation Specification
|
||||
(visible only on this page)
|
||||
|
||||
include::../message.adoc[]
|
||||
|
||||
endif::env-github,rspecator-view[]
|
Loading…
x
Reference in New Issue
Block a user