2020-06-30 10:16:44 +02:00
|
|
|
Shared coding conventions allow teams to collaborate efficiently. This rule checks that all variable names match the provided regular expression.
|
|
|
|
|
|
|
|
== Noncompliant Code Example
|
|
|
|
|
2021-01-27 13:42:22 +01:00
|
|
|
With the default regular expression ``++[a-zA-Z]([a-zA-Z0-9_]*[a-zA-Z0-9])?++``:
|
2020-06-30 14:49:38 +02:00
|
|
|
|
2020-06-30 10:16:44 +02:00
|
|
|
----
|
|
|
|
DECLARE
|
|
|
|
goodVariable PLS_INTEGER; -- Compliant
|
|
|
|
badVariable_ PLS_INTEGER; -- Non-Compliant
|
|
|
|
BEGIN
|
|
|
|
NULL;
|
|
|
|
END;
|
|
|
|
/
|
|
|
|
----
|
2021-06-02 20:44:38 +02:00
|
|
|
|
2021-06-03 09:05:38 +02:00
|
|
|
ifdef::env-github,rspecator-view[]
|
2021-06-08 15:52:13 +02:00
|
|
|
'''
|
2021-06-02 20:44:38 +02:00
|
|
|
== Comments And Links
|
|
|
|
(visible only on this page)
|
|
|
|
|
|
|
|
include::../comments-and-links.adoc[]
|
2021-06-03 09:05:38 +02:00
|
|
|
endif::env-github,rspecator-view[]
|