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

17 lines
647 B
HTML

<html>
<body>
Reports methods that have too many branch points.
<p>A branch point is one of the following:</p>
<ul>
<li>loop statement</li>
<li><code>if</code> statement</li>
<li>ternary expression</li>
<li><code>catch</code> section</li>
<li>expression with one or more <code>&&</code> or <code>||</code> operators inside</li>
<li><code>switch</code> block with non-default branches</li>
</ul>
<p>Methods with too high cyclomatic complexity may be confusing and hard to test.</p>
<!-- tooltip end -->
<p>Use the <b>Method complexity limit</b> field to specify the maximum allowed cyclomatic complexity for a method.<p>
</body>
</html>