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
JAVA.STRUCT.UA
JAVA.STRUCT.UA.DEFAULT
Useless Assignment (Java)
Useless Assignment to Default (Java)
Parasoft Jtest
Include Page
java:
Parasoft_V
java:
Parasoft_V
GLOBAL.ACDImplementedSonarQube Java Plugin
CERT.DCL00.ACDEnsure that files do not contain cyclical dependencies
PVS-Studio

Include Page
PVS-Studio_V
PVS-Studio_V

V6050
SonarQube
Include Page
SonarQube
Java Plugin
_V
SonarQube
Java Plugin
_V

S2390

 
Classes should not access their own subclasses during initialization

Related Guidelines

Bibliography

...


...