rspec/rules/S1288/cobol/rule.adoc
Fred Tingaud 16f6c0aecf
Inline adoc when include has no additional value (#1940)
Inline adoc files when they are included exactly once.

Also fix language tags because this inlining gives us better information
on what language the code is written in.
2023-05-25 14:18:12 +02:00

40 lines
796 B
Plaintext

== Why is this an issue?
The cyclomatic complexity of a paragraph should not exceed a defined threshold. Complex code can perform poorly and will in any case be difficult to understand and therefore to maintain.
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
=== Parameters
.maximumParagraphComplexityThreshold
****
----
20
----
The maximum authorized complexity in a paragraph
****
'''
== Comments And Links
(visible only on this page)
=== relates to: S133
=== is related to: S1302
=== on 29 May 2015, 13:06:41 Ann Campbell wrote:
double-check me, [~pierre-yves.nicolas]
=== on 29 May 2015, 15:40:49 Pierre-Yves Nicolas wrote:
I changed the SQALE offset to make it consistent with RSPEC-1302.
endif::env-github,rspecator-view[]