Versions Compared

Key

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

...

Violating the general contract when implementing the compareTo() method can cause unexpected results, possibly leading to invalid comparisons and information disclosure.

Rule

Severity

Likelihood

Detectable

RepairableRemediation Cost

Priority

Level

MET10-J

Medium

Unlikely

No

MediumNo

P4P2

L3

Automated Detection

Automated detections of violations of this rule is infeasible in the general case.

Missing Call to super (Java)
Tool
Version
Checker
Description
CodeSonar
Include Page
CodeSonar_VCodeSonar_V

JAVA.CLASS.MCS

Coverity7.5FB.RU_INVOKE_RUNImplemented

Related Guidelines

...