Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Initialization cycles may lead to unexpected results.

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

DCL00-J

Low

Unlikely

Medium

P2

L3

Automated Detection

ToolVersionCheckerDescription
CodeSonar
Include Page
CodeSonar_V
CodeSonar_V

FB.STYLE.IC_INIT_CIRCULARITY

Initialization circularity
Parasoft Jtest
Include Page
java:
Parasoft_V
java:
Parasoft_V
GLOBAL.ACDImplemented
SonarQube Java Plugin
Include Page
SonarQube Java Plugin_V
SonarQube Java Plugin_V

S2390

 

- Classes should not access their own subclasses during initialization


Related Guidelines

Bibliography

...


...