public enum PythonMetric extends Enum<PythonMetric>
| Enum Constant and Description |
|---|
CLASSES |
COMMENT_LINES |
COMPLEXITY |
FILES |
FUNCTIONS |
LINES_OF_CODE |
STATEMENTS |
| Modifier and Type | Method and Description |
|---|---|
static PythonMetric |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PythonMetric[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PythonMetric FILES
public static final PythonMetric LINES_OF_CODE
public static final PythonMetric STATEMENTS
public static final PythonMetric FUNCTIONS
public static final PythonMetric CLASSES
public static final PythonMetric COMPLEXITY
public static final PythonMetric COMMENT_LINES
public static PythonMetric[] values()
for (PythonMetric c : PythonMetric.values()) System.out.println(c);
public static PythonMetric valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2011–2018 SonarSource and Waleri Enns. All rights reserved.