Versions Compared

Key

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

...

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

NUM09-J

Low

Probable

Low

P6

L2

Automated Detection

Automated detection of floating-point loop counters is straightforward.

Do not use floating point variables as loop indices
ToolVersionCheckerDescription
CodeSonarParasoft Jtest
Include Page
CodeSonarParasoft_VCodeSonar
Parasoft_V
PMDCERT.BasicNUM09.DontUseFloatTypeForLoopIndices
FPLI
Do not use floating point variables as Don't use float type for loop indices
Parasoft JtestPVS-Studio

Include Page

Parasoft

PVS-Studio_V

Parasoft

PVS-Studio_V

PB-NUM-FPLIV6108

Related Guidelines

...