Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: REM cost reform

...

Initialization cycles may lead to unexpected results.

Rule

Severity

Likelihood

Remediation Cost

Detectable

Repairable

Priority

Level

DCL00-J

Low

Unlikely

Medium

Yes

No

P2

L3

Automated Detection

ToolVersionCheckerDescription
CodeSonar

Include Page
CodeSonar_V
CodeSonar

4.2

FB.STYLE.IC_INIT_CIRCULARITY

Initialization circularityParasoft Jtest9.5GLOBAL.ACDImplemented

_V

JAVA.STRUCT.SE.ASSERT
JAVA.STRUCT.UA

JAVA.STRUCT.UA.DEFAULT
Assertion contains side effects
Useless assignment
Useless assignment to default
Parasoft Jtest
Include Page
Parasoft_V
Parasoft_V
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_V
SonarQube_V

S2390

Classes should not access their own subclasses during initialization

Related Guidelines

Bibliography

...


...