2020-06-30 12:47:33 +02:00
|
|
|
include::../description.adoc[]
|
|
|
|
|
|
|
|
== Noncompliant Code Example
|
|
|
|
|
|
|
|
With the default threshold of 3:
|
2020-06-30 14:49:38 +02:00
|
|
|
|
2020-06-30 12:47:33 +02:00
|
|
|
----
|
|
|
|
WRITE: / 'Firstname'.
|
|
|
|
*...
|
|
|
|
WRITE: / 'Firstname'.
|
|
|
|
*...
|
|
|
|
WRITE: / 'Firstname'.
|
|
|
|
----
|
|
|
|
|
|
|
|
== Compliant Solution
|
|
|
|
|
|
|
|
----
|
|
|
|
CONSTANTS: fname TYPE c LENGTH 9 VALUE 'Firstname',
|
|
|
|
|
|
|
|
WRITE: / fname.
|
|
|
|
*...
|
|
|
|
WRITE: / fname.
|
|
|
|
*...
|
|
|
|
WRITE: / fname.
|
|
|
|
----
|
|
|
|
|
|
|
|
include::../exceptions.adoc[]
|
2021-06-02 20:44:38 +02:00
|
|
|
|
|
|
|
ifdef::rspecator-view[]
|
|
|
|
== Comments And Links
|
|
|
|
(visible only on this page)
|
|
|
|
|
|
|
|
include::../comments-and-links.adoc[]
|
|
|
|
endif::rspecator-view[]
|