resources.report.rules.spotbugs.RpC_REPEATED_CONDITIONAL_TEST.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sanity4j Show documentation
Show all versions of sanity4j Show documentation
Sanity4J was created to simplify running multiple static code
analysis tools on the Java projects. It provides a single entry
point to run all the selected tools and produce a consolidated
report, which presents all findings in an easily accessible
manner.
The newest version!
RpC_REPEATED_CONDITIONAL_TEST
RpC: Repeated conditional tests (RpC_REPEATED_CONDITIONAL_TEST)
The code contains a conditional test is performed twice, one right after the other
(e.g., x == 0 || x == 0
). Perhaps the second occurrence is intended to be something else
(e.g., x == 0 || y == 0
).