Files
openide/java/java-impl/resources/inspectionDescriptions/OverlyComplexBooleanExpression.html
Leonid Shalupov 40795fe787 IJI-2422: community/java: move resources under resources root
GitOrigin-RevId: 8b2b63fc6db476ca0c2cfe5cadd84db6c4236d0f
2025-02-05 04:43:28 +00:00

15 lines
583 B
HTML

<html>
<body>
Reports boolean expressions with too many terms. Such expressions may be confusing and bug-prone.
<p>Example:</p>
<pre><code>
cond(x1) &amp;&amp; cond(x2) ^ cond(x3) &amp;&amp; cond(x4);
</code></pre>
<!-- tooltip end -->
<p>Configure the inspection:</p>
<ul>
<li>Use the <b>Maximum number of terms</b> field to specify the maximum number of terms allowed in a boolean expression.</li>
<li>Use the <b>Ignore pure conjunctions and disjunctions</b> option to ignore boolean expressions which use only a single boolean operator repeatedly.</li>
</ul>
</body>
</html>