rspec/rules/S1281/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

36 lines
704 B
Plaintext

== Why is this an issue?
A module (set of paragraphs called with PERFORM ... THRU ... statement) with too many lines of code should be split to smaller modules as they are very difficult to maintain.
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
=== Parameters
.maximumLinesOfCodeThreshold
****
----
150
----
Maximum authorized lines of code in a module
****
'''
== Comments And Links
(visible only on this page)
=== on 29 May 2015, 13:06:14 Ann Campbell wrote:
double-check me, [~pierre-yves.nicolas]
=== on 29 May 2015, 15:45:19 Pierre-Yves Nicolas wrote:
I changed the SQALE factor to 2min per line.
endif::env-github,rspecator-view[]