mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
17 lines
647 B
HTML
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> |