mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
17 lines
780 B
HTML
17 lines
780 B
HTML
<html>
|
|
<body>
|
|
Reports methods whose number of statements exceeds the specified maximum.
|
|
<p>Methods with too many statements may be confusing and are a good sign that refactoring is necessary.</p>
|
|
<p>The following statements are not counted:</p>
|
|
<ul>
|
|
<li>empty statements (semicolons)</li>
|
|
<li>block statements</li>
|
|
<li><code>for</code> loop initialization statements, that is, <code>int i = ...</code> within a <code>for(int i = ...;...)</code>
|
|
statement</li>
|
|
<li><code>for</code> loop update statements, that is, <code>i += 2</code> within a <code>for(int i = ...;...; i += 2)</code>
|
|
statement</li>
|
|
</ul>
|
|
<!-- tooltip end -->
|
|
<p>Use the <b>Maximum statements per method</b> field to specify the maximum allowed number of statements in a method.<p>
|
|
</body>
|
|
</html> |