rules.BooleanExpressionComplexity.md Maven / Gradle / Ivy
Restrict the number of number of &&, ||, &, | and ^ in an expression to 2.
Valid:
````
if (a || (b && c)) {}
````
Invalid:
````
if (a > b || b > c || c == a || d > a) {}
````
© 2015 - 2024 Weber Informatics LLC | Privacy Policy