diff --git a/docs/config_metrics.html b/docs/config_metrics.html index 05db9aebc..6a457274f 100644 --- a/docs/config_metrics.html +++ b/docs/config_metrics.html @@ -24,9 +24,6 @@ @@ -98,78 +95,6 @@ considered good, 5-7 ok, 8-10 consider re-factoring, and 11+ re-factor now! TreeWalker

- -

ExecutableStatementCount

-

Description

- -

- Restricts the number of executable statements to a specified limit. -

- - -

Properties

- - - - - - - - - - - - - - - - - - - - - - -
namedescriptiontypedefault value
maxthe maximum threshold allowedinteger30
tokensmembers to checksubset of tokens CTOR_DEF, - METHOD_DEF, - INSTANCE_INIT, - STATIC_INIT - all tokens
- -

Examples

-

- To configure the check: -

-
-<module name="ExecutableStatementCount"/>
-      
-

- To configure the check with a threshold of 20 for constructor and - method definitions: -

-
-<module name="ExecutableStatementCount">
-    <property name="max" value="20"/>
-    <property name="tokens" value="CTOR_DEF,METHOD_DEF"/>
-</module>
-      
-      
- -

Package

-

- com.puppycrawl.tools.checkstyle.checks.metrics -

- -

Parent Module

-

- TreeWalker -

- - diff --git a/docs/config_sizes.html b/docs/config_sizes.html index 0501cd5b3..fddfada67 100644 --- a/docs/config_sizes.html +++ b/docs/config_sizes.html @@ -22,6 +22,9 @@