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

12 lines
538 B
HTML

<html>
<body>
Reports arithmetic expressions with the excessive number of terms. Such expressions might be hard to understand and might contain errors.
<p>Parameters, field references, and other primary expressions are counted as a term.</p>
<p><b>Example:</b>
<pre><code>int calc(int a, int b) {
return a + a + a + b + b + b + b; // The line contains 7 terms and will be reported.
}</code></pre>
<!-- tooltip end -->
<p>Use the field below to specify a number of terms allowed in arithmetic expressions.</p>
</body>
</html>