 
                            ...
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 | Repairable | Priority | Level | 
|---|---|---|---|
| MET10-J | Medium | Unlikely | No | 
| No | 
| P2 | L3 | 
Automated Detection
Automated detections of violations of this rule is infeasible in the general case.
| Tool | Version | Checker | Description | 
|---|---|---|---|
| Coverity | 7.5 | FB.RU_INVOKE_RUN | Implemented | 
Related Guidelines
| CWE-573, Improper Following of Specification by Caller | 
Bibliography
...
...