rspec/rules/S1550/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
695 B
Plaintext

== Why is this an issue?
Because they are very difficult to maintain, programs with too many lines of code should be split into smaller programs or subprograms.
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
=== Parameters
.maximumLinesOfCodeThreshold
****
----
1500
----
The maximum number of lines of code above which a program should be split
****
'''
== Comments And Links
(visible only on this page)
=== on 29 May 2015, 13:05:39 Ann Campbell wrote:
double-check me, [~pierre-yves.nicolas]
=== on 29 May 2015, 15:15:29 Pierre-Yves Nicolas wrote:
I changed the SQALE factor to 2min per line.
endif::env-github,rspecator-view[]