Files
openide/java/java-impl/resources/inspectionDescriptions/NonCommentSourceStatements.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
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>