org.sonar.api.measures
Class CoreMetrics
java.lang.Object
org.sonar.api.measures.CoreMetrics
public final class CoreMetrics
- extends Object
- Since:
- 1.10
Field Summary |
static Metric<Double> |
ABSTRACTNESS
Deprecated. since 3.7.1 |
static String |
ABSTRACTNESS_KEY
Deprecated. since 3.7.1 |
static Metric<Integer> |
ACCESSORS
|
static String |
ACCESSORS_KEY
|
static Metric<Integer> |
ACTIVE_REVIEWS
Deprecated. in 3.6. This measure is not fed anymore since introduction of issues. |
static String |
ACTIVE_REVIEWS_KEY
Deprecated. in 3.6. This measure is not fed anymore since introduction of issues. |
static Metric<Integer> |
AFFERENT_COUPLINGS
Deprecated. since 3.7.1 |
static String |
AFFERENT_COUPLINGS_KEY
Deprecated. since 3.7.1 |
static Metric<Metric.Level> |
ALERT_STATUS
|
static String |
ALERT_STATUS_KEY
|
static Metric<Integer> |
BLOCKER_VIOLATIONS
|
static String |
BLOCKER_VIOLATIONS_KEY
|
static Metric<Double> |
BRANCH_COVERAGE
|
static String |
BRANCH_COVERAGE_KEY
|
static Metric<Double> |
CLASS_COMPLEXITY
Information about the cyclomatic complexity per class, calculated by divided the complexity in classes by the number of classes. |
static Metric<String> |
CLASS_COMPLEXITY_DISTRIBUTION
Deprecated. in 3.0 - see SONAR-3289 |
static String |
CLASS_COMPLEXITY_DISTRIBUTION_KEY
Deprecated. in 3.0 - see SONAR-3289 |
static String |
CLASS_COMPLEXITY_KEY
|
static Metric<Integer> |
CLASSES
|
static String |
CLASSES_KEY
|
static Metric<Integer> |
COMMENT_BLANK_LINES
Deprecated. since 3.3 - see SONAR-3768 |
static String |
COMMENT_BLANK_LINES_KEY
Deprecated. since 3.3 - see SONAR-3768 |
static Metric<Integer> |
COMMENT_LINES
|
static Metric<String> |
COMMENT_LINES_DATA
Information about comments in file. |
static String |
COMMENT_LINES_DATA_KEY
|
static Metric<Double> |
COMMENT_LINES_DENSITY
|
static String |
COMMENT_LINES_DENSITY_KEY
|
static String |
COMMENT_LINES_KEY
|
static Metric<Integer> |
COMMENTED_OUT_CODE_LINES
Deprecated. since 4.2 - see SONAR-4990 |
static String |
COMMENTED_OUT_CODE_LINES_KEY
Deprecated. since 4.2 - see SONAR-4990 |
static Metric<Integer> |
COMPLEXITY
|
static Metric<Integer> |
COMPLEXITY_IN_CLASSES
|
static String |
COMPLEXITY_IN_CLASSES_KEY
|
static Metric<Integer> |
COMPLEXITY_IN_FUNCTIONS
|
static String |
COMPLEXITY_IN_FUNCTIONS_KEY
|
static String |
COMPLEXITY_KEY
|
static Metric<String> |
CONDITIONS_BY_LINE
Use CoverageMeasuresBuilder to build measure for this metric. |
static String |
CONDITIONS_BY_LINE_KEY
|
static Metric<Integer> |
CONDITIONS_TO_COVER
Use CoverageMeasuresBuilder to build measure for this metric. |
static String |
CONDITIONS_TO_COVER_KEY
|
static Metric<Integer> |
CONFIRMED_ISSUES
|
static String |
CONFIRMED_ISSUES_KEY
|
static Metric<Double> |
COVERAGE
|
static String |
COVERAGE_KEY
|
static Metric<String> |
COVERAGE_LINE_HITS_DATA
Key-value pairs, where key - is a number of line, and value - is a number of hits for this line. |
static String |
COVERAGE_LINE_HITS_DATA_KEY
|
static Metric<String> |
COVERED_CONDITIONS_BY_LINE
Use CoverageMeasuresBuilder to build measure for this metric. |
static String |
COVERED_CONDITIONS_BY_LINE_KEY
|
static Metric<Integer> |
CRITICAL_VIOLATIONS
|
static String |
CRITICAL_VIOLATIONS_KEY
|
static Metric<String> |
DEPENDENCY_MATRIX
|
static String |
DEPENDENCY_MATRIX_KEY
|
static Metric<Integer> |
DEPTH_IN_TREE
Deprecated. since 4.0. See SONAR-4643 |
static String |
DEPTH_IN_TREE_KEY
Deprecated. since 4.0. See SONAR-4643 |
static Metric<String> |
DEVELOPMENT_COST
|
static String |
DEVELOPMENT_COST_KEY
|
static Metric<Integer> |
DIRECTORIES
|
static String |
DIRECTORIES_KEY
|
static Metric<Double> |
DISTANCE
Deprecated. since 3.7.1 |
static String |
DISTANCE_KEY
Deprecated. since 3.7.1 |
static String |
DOMAIN_COMPLEXITY
|
static String |
DOMAIN_DESIGN
|
static String |
DOMAIN_DOCUMENTATION
|
static String |
DOMAIN_DUPLICATION
|
static String |
DOMAIN_GENERAL
|
static String |
DOMAIN_INTEGRATION_TESTS
|
static String |
DOMAIN_ISSUES
|
static String |
DOMAIN_OVERALL_TESTS
|
static String |
DOMAIN_REVIEWS
Deprecated. in 3.6. Replaced by concept of issues. |
static String |
DOMAIN_SCM
|
static String |
DOMAIN_SIZE
|
static String |
DOMAIN_TECHNICAL_DEBT
|
static String |
DOMAIN_TESTS
|
static Metric<Integer> |
DUPLICATED_BLOCKS
|
static String |
DUPLICATED_BLOCKS_KEY
|
static Metric<Integer> |
DUPLICATED_FILES
For files: if it contains duplicates, then 1, otherwise 0. |
static String |
DUPLICATED_FILES_KEY
|
static Metric<Integer> |
DUPLICATED_LINES
|
static Metric<Double> |
DUPLICATED_LINES_DENSITY
|
static String |
DUPLICATED_LINES_DENSITY_KEY
|
static String |
DUPLICATED_LINES_KEY
|
static Metric<String> |
DUPLICATION_LINES_DATA
Information about duplication in file. |
static String |
DUPLICATION_LINES_DATA_KEY
|
static Metric<String> |
DUPLICATIONS_DATA
Deprecated. since 4.5. Internal storage of duplication is not an API. No more available on batch side. |
static String |
DUPLICATIONS_DATA_KEY
Deprecated. since 4.5. Internal storage of duplication is not an API. No more available on batch side. |
static Metric<Integer> |
EFFERENT_COUPLINGS
Deprecated. since 3.7.1 |
static String |
EFFERENT_COUPLINGS_KEY
Deprecated. since 3.7.1 |
static Metric<Integer> |
FALSE_POSITIVE_ISSUES
|
static String |
FALSE_POSITIVE_ISSUES_KEY
|
static Metric<Integer> |
FALSE_POSITIVE_REVIEWS
Deprecated. in 3.6. This measure is replaced by FALSE_POSITIVE_ISSUES . |
static String |
FALSE_POSITIVE_REVIEWS_KEY
Deprecated. in 3.6. This measure is replaced by FALSE_POSITIVE_ISSUES_KEY . |
static Metric<Double> |
FILE_COMPLEXITY
|
static Metric<String> |
FILE_COMPLEXITY_DISTRIBUTION
|
static String |
FILE_COMPLEXITY_DISTRIBUTION_KEY
|
static String |
FILE_COMPLEXITY_KEY
|
static Metric<Integer> |
FILE_CYCLES
|
static String |
FILE_CYCLES_KEY
|
static Metric<Integer> |
FILE_EDGES_WEIGHT
|
static String |
FILE_EDGES_WEIGHT_KEY
|
static Metric<Integer> |
FILE_FEEDBACK_EDGES
|
static String |
FILE_FEEDBACK_EDGES_KEY
|
static Metric<Double> |
FILE_TANGLE_INDEX
|
static String |
FILE_TANGLE_INDEX_KEY
|
static Metric<Integer> |
FILE_TANGLES
|
static String |
FILE_TANGLES_KEY
|
static Metric<Integer> |
FILES
|
static String |
FILES_KEY
|
static Metric<Double> |
FUNCTION_COMPLEXITY
Information about the cyclomatic complexity per function, calculated by divided the complexity in functions by the number of functions. |
static Metric<String> |
FUNCTION_COMPLEXITY_DISTRIBUTION
|
static String |
FUNCTION_COMPLEXITY_DISTRIBUTION_KEY
|
static String |
FUNCTION_COMPLEXITY_KEY
|
static Metric<Integer> |
FUNCTIONS
|
static String |
FUNCTIONS_KEY
|
static Metric<Integer> |
GENERATED_LINES
|
static String |
GENERATED_LINES_KEY
|
static Metric<Integer> |
GENERATED_NCLOC
|
static String |
GENERATED_NCLOC_KEY
|
static Metric<Integer> |
INFO_VIOLATIONS
|
static String |
INFO_VIOLATIONS_KEY
|
static Metric<Double> |
INSTABILITY
Deprecated. since 3.7.1 |
static String |
INSTABILITY_KEY
Deprecated. since 3.7.1 |
static Metric<Double> |
IT_BRANCH_COVERAGE
|
static String |
IT_BRANCH_COVERAGE_KEY
|
static Metric<String> |
IT_CONDITIONS_BY_LINE
|
static String |
IT_CONDITIONS_BY_LINE_KEY
|
static Metric<Integer> |
IT_CONDITIONS_TO_COVER
|
static String |
IT_CONDITIONS_TO_COVER_KEY
|
static Metric<Double> |
IT_COVERAGE
|
static String |
IT_COVERAGE_KEY
|
static Metric<String> |
IT_COVERAGE_LINE_HITS_DATA
|
static String |
IT_COVERAGE_LINE_HITS_DATA_KEY
|
static Metric<String> |
IT_COVERED_CONDITIONS_BY_LINE
|
static String |
IT_COVERED_CONDITIONS_BY_LINE_KEY
|
static Metric<Double> |
IT_LINE_COVERAGE
|
static String |
IT_LINE_COVERAGE_KEY
|
static Metric<Integer> |
IT_LINES_TO_COVER
|
static String |
IT_LINES_TO_COVER_KEY
|
static Metric<Integer> |
IT_UNCOVERED_CONDITIONS
|
static String |
IT_UNCOVERED_CONDITIONS_KEY
|
static Metric<Integer> |
IT_UNCOVERED_LINES
|
static String |
IT_UNCOVERED_LINES_KEY
|
static Metric<Double> |
LCOM4
Deprecated. in 4.1. See http://jira.codehaus.org/browse/SONAR-4853 |
static Metric<String> |
LCOM4_BLOCKS
Deprecated. in 4.1. See http://jira.codehaus.org/browse/SONAR-4853 |
static String |
LCOM4_BLOCKS_KEY
Deprecated. in 4.1. See http://jira.codehaus.org/browse/SONAR-4853 |
static Metric<String> |
LCOM4_DISTRIBUTION
Deprecated. in 4.1. See http://jira.codehaus.org/browse/SONAR-4853 |
static String |
LCOM4_DISTRIBUTION_KEY
Deprecated. in 4.1. See http://jira.codehaus.org/browse/SONAR-4853 |
static String |
LCOM4_KEY
Deprecated. in 4.1. See http://jira.codehaus.org/browse/SONAR-4853 |
static Metric<Double> |
LINE_COVERAGE
|
static String |
LINE_COVERAGE_KEY
|
static Metric<Integer> |
LINES
|
static String |
LINES_KEY
|
static Metric<Integer> |
LINES_TO_COVER
Use CoverageMeasuresBuilder to build measure for this metric. |
static String |
LINES_TO_COVER_KEY
|
static Metric<Integer> |
MAJOR_VIOLATIONS
|
static String |
MAJOR_VIOLATIONS_KEY
|
static Metric<Integer> |
MINOR_VIOLATIONS
|
static String |
MINOR_VIOLATIONS_KEY
|
static Metric<Integer> |
NCLOC
|
static Metric<String> |
NCLOC_DATA
Information about lines of code in file. |
static String |
NCLOC_DATA_KEY
|
static String |
NCLOC_KEY
|
static Metric<String> |
NCLOC_LANGUAGE_DISTRIBUTION
|
static String |
NCLOC_LANGUAGE_DISTRIBUTION_KEY
|
static Metric<Integer> |
NEW_BLOCKER_VIOLATIONS
|
static String |
NEW_BLOCKER_VIOLATIONS_KEY
|
static Metric<Double> |
NEW_BRANCH_COVERAGE
|
static String |
NEW_BRANCH_COVERAGE_KEY
|
static Metric<Integer> |
NEW_CONDITIONS_TO_COVER
|
static String |
NEW_CONDITIONS_TO_COVER_KEY
|
static Metric<Double> |
NEW_COVERAGE
|
static String |
NEW_COVERAGE_KEY
|
static Metric<Integer> |
NEW_CRITICAL_VIOLATIONS
|
static String |
NEW_CRITICAL_VIOLATIONS_KEY
|
static Metric<Integer> |
NEW_INFO_VIOLATIONS
|
static String |
NEW_INFO_VIOLATIONS_KEY
|
static Metric<Double> |
NEW_IT_BRANCH_COVERAGE
|
static String |
NEW_IT_BRANCH_COVERAGE_KEY
|
static Metric<Integer> |
NEW_IT_CONDITIONS_TO_COVER
|
static String |
NEW_IT_CONDITIONS_TO_COVER_KEY
|
static Metric<Double> |
NEW_IT_COVERAGE
|
static String |
NEW_IT_COVERAGE_KEY
|
static Metric<Double> |
NEW_IT_LINE_COVERAGE
|
static String |
NEW_IT_LINE_COVERAGE_KEY
|
static Metric<Integer> |
NEW_IT_LINES_TO_COVER
|
static String |
NEW_IT_LINES_TO_COVER_KEY
|
static Metric<Integer> |
NEW_IT_UNCOVERED_CONDITIONS
|
static String |
NEW_IT_UNCOVERED_CONDITIONS_KEY
|
static Metric<Integer> |
NEW_IT_UNCOVERED_LINES
|
static String |
NEW_IT_UNCOVERED_LINES_KEY
|
static Metric<Double> |
NEW_LINE_COVERAGE
|
static String |
NEW_LINE_COVERAGE_KEY
|
static Metric<Integer> |
NEW_LINES_TO_COVER
|
static String |
NEW_LINES_TO_COVER_KEY
|
static Metric<Integer> |
NEW_MAJOR_VIOLATIONS
|
static String |
NEW_MAJOR_VIOLATIONS_KEY
|
static Metric<Integer> |
NEW_MINOR_VIOLATIONS
|
static String |
NEW_MINOR_VIOLATIONS_KEY
|
static Metric<Double> |
NEW_OVERALL_BRANCH_COVERAGE
|
static String |
NEW_OVERALL_BRANCH_COVERAGE_KEY
|
static Metric<Integer> |
NEW_OVERALL_CONDITIONS_TO_COVER
|
static String |
NEW_OVERALL_CONDITIONS_TO_COVER_KEY
|
static Metric<Double> |
NEW_OVERALL_COVERAGE
|
static String |
NEW_OVERALL_COVERAGE_KEY
|
static Metric<Double> |
NEW_OVERALL_LINE_COVERAGE
|
static String |
NEW_OVERALL_LINE_COVERAGE_KEY
|
static Metric<Integer> |
NEW_OVERALL_LINES_TO_COVER
|
static String |
NEW_OVERALL_LINES_TO_COVER_KEY
|
static Metric<Integer> |
NEW_OVERALL_UNCOVERED_CONDITIONS
|
static String |
NEW_OVERALL_UNCOVERED_CONDITIONS_KEY
|
static Metric<Integer> |
NEW_OVERALL_UNCOVERED_LINES
|
static String |
NEW_OVERALL_UNCOVERED_LINES_KEY
|
static Metric<Long> |
NEW_TECHNICAL_DEBT
|
static String |
NEW_TECHNICAL_DEBT_KEY
|
static Metric<Integer> |
NEW_UNCOVERED_CONDITIONS
|
static String |
NEW_UNCOVERED_CONDITIONS_KEY
|
static Metric<Integer> |
NEW_UNCOVERED_LINES
|
static String |
NEW_UNCOVERED_LINES_KEY
|
static Metric<Integer> |
NEW_UNREVIEWED_VIOLATIONS
Deprecated. in 3.6. This measure is not fed anymore since introduction of issues. |
static String |
NEW_UNREVIEWED_VIOLATIONS_KEY
Deprecated. in 3.6. This measure is not fed anymore since introduction of issues. |
static Metric<Integer> |
NEW_VIOLATIONS
|
static String |
NEW_VIOLATIONS_KEY
|
static Metric<Integer> |
NUMBER_OF_CHILDREN
Deprecated. since 4.0. See SONAR-4643 |
static String |
NUMBER_OF_CHILDREN_KEY
Deprecated. since 4.0. See SONAR-4643 |
static Metric<Integer> |
OPEN_ISSUES
|
static String |
OPEN_ISSUES_KEY
|
static Metric<Double> |
OVERALL_BRANCH_COVERAGE
|
static String |
OVERALL_BRANCH_COVERAGE_KEY
|
static Metric<String> |
OVERALL_CONDITIONS_BY_LINE
|
static String |
OVERALL_CONDITIONS_BY_LINE_KEY
|
static Metric<Integer> |
OVERALL_CONDITIONS_TO_COVER
|
static String |
OVERALL_CONDITIONS_TO_COVER_KEY
|
static Metric<Double> |
OVERALL_COVERAGE
|
static String |
OVERALL_COVERAGE_KEY
|
static Metric<String> |
OVERALL_COVERAGE_LINE_HITS_DATA
|
static String |
OVERALL_COVERAGE_LINE_HITS_DATA_KEY
|
static Metric<String> |
OVERALL_COVERED_CONDITIONS_BY_LINE
|
static String |
OVERALL_COVERED_CONDITIONS_BY_LINE_KEY
|
static Metric<Double> |
OVERALL_LINE_COVERAGE
|
static String |
OVERALL_LINE_COVERAGE_KEY
|
static Metric<Integer> |
OVERALL_LINES_TO_COVER
|
static String |
OVERALL_LINES_TO_COVER_KEY
|
static Metric<Integer> |
OVERALL_UNCOVERED_CONDITIONS
|
static String |
OVERALL_UNCOVERED_CONDITIONS_KEY
|
static Metric<Integer> |
OVERALL_UNCOVERED_LINES
|
static String |
OVERALL_UNCOVERED_LINES_KEY
|
static Metric<Integer> |
PACKAGE_CYCLES
|
static String |
PACKAGE_CYCLES_KEY
|
static Metric<Integer> |
PACKAGE_EDGES_WEIGHT
|
static String |
PACKAGE_EDGES_WEIGHT_KEY
|
static Metric<Integer> |
PACKAGE_FEEDBACK_EDGES
|
static String |
PACKAGE_FEEDBACK_EDGES_KEY
|
static Metric<Double> |
PACKAGE_TANGLE_INDEX
|
static String |
PACKAGE_TANGLE_INDEX_KEY
|
static Metric<Integer> |
PACKAGE_TANGLES
|
static String |
PACKAGE_TANGLES_KEY
|
static Metric<Integer> |
PACKAGES
Deprecated. since 4.2 there is now only directory |
static String |
PACKAGES_KEY
Deprecated. since 4.2 there is now only directory |
static Metric<String> |
PROFILE
Deprecated. since 4.4 doesn't support multi-language. See QUALITY_PROFILES_KEY |
static String |
PROFILE_KEY
Deprecated. since 4.4 doesn't support multi-language. See QUALITY_PROFILES_KEY |
static Metric<Integer> |
PROFILE_VERSION
Deprecated. since 4.4 doesn't support multi-language. See QUALITY_PROFILES_KEY |
static String |
PROFILE_VERSION_KEY
Deprecated. since 4.4 doesn't support multi-language. See QUALITY_PROFILES_KEY |
static Metric<Integer> |
PROJECTS
|
static String |
PROJECTS_KEY
|
static Metric<Integer> |
PUBLIC_API
|
static String |
PUBLIC_API_KEY
|
static Metric<Double> |
PUBLIC_DOCUMENTED_API_DENSITY
|
static String |
PUBLIC_DOCUMENTED_API_DENSITY_KEY
|
static Metric<Integer> |
PUBLIC_UNDOCUMENTED_API
|
static String |
PUBLIC_UNDOCUMENTED_API_KEY
|
static Metric<String> |
QUALITY_GATE_DETAILS
The project detailed status with regard to its quality gate. |
static String |
QUALITY_GATE_DETAILS_KEY
|
static Metric<String> |
QUALITY_PROFILES
|
static String |
QUALITY_PROFILES_KEY
|
static Metric<Integer> |
REOPENED_ISSUES
|
static String |
REOPENED_ISSUES_KEY
|
static Metric<Integer> |
RFC
Deprecated. since 4.2. See SONAR-5042 |
static Metric<String> |
RFC_DISTRIBUTION
Deprecated. since 4.2. See SONAR-5042 |
static String |
RFC_DISTRIBUTION_KEY
Deprecated. since 4.2. See SONAR-5042 |
static String |
RFC_KEY
Deprecated. since 4.2. See SONAR-5042 |
static Metric<String> |
SCM_AUTHORS_BY_LINE
Key-value pairs, where key - is a number of line, and value - is an author for this line. |
static String |
SCM_AUTHORS_BY_LINE_KEY
|
static Metric<String> |
SCM_LAST_COMMIT_DATETIMES_BY_LINE
Key-value pairs, where key - is a number of line, and value - is a date of last commit for this line. |
static String |
SCM_LAST_COMMIT_DATETIMES_BY_LINE_KEY
|
static Metric<String> |
SCM_REVISIONS_BY_LINE
Key-value pairs, where key - is a number of line, and value - is a revision for this line. |
static String |
SCM_REVISIONS_BY_LINE_KEY
|
static Metric<Integer> |
SKIPPED_TESTS
|
static String |
SKIPPED_TESTS_KEY
|
static Metric<Double> |
SQALE_DEBT_RATIO
|
static String |
SQALE_DEBT_RATIO_KEY
|
static Metric<String> |
SQALE_RATING
|
static String |
SQALE_RATING_KEY
|
static Metric<Integer> |
STATEMENTS
|
static String |
STATEMENTS_KEY
|
static Metric<Double> |
SUSPECT_LCOM4_DENSITY
Deprecated. in 4.1. See http://jira.codehaus.org/browse/SONAR-4853 |
static String |
SUSPECT_LCOM4_DENSITY_KEY
Deprecated. in 4.1. See http://jira.codehaus.org/browse/SONAR-4853 |
static Metric<Long> |
TECHNICAL_DEBT
|
static String |
TECHNICAL_DEBT_KEY
|
static Metric<String> |
TEST_DATA
|
static String |
TEST_DATA_KEY
|
static Metric<Integer> |
TEST_ERRORS
|
static String |
TEST_ERRORS_KEY
|
static Metric<Integer> |
TEST_EXECUTION_TIME
|
static String |
TEST_EXECUTION_TIME_KEY
|
static Metric<Integer> |
TEST_FAILURES
|
static String |
TEST_FAILURES_KEY
|
static Metric<Double> |
TEST_SUCCESS_DENSITY
|
static String |
TEST_SUCCESS_DENSITY_KEY
|
static Metric<Integer> |
TESTS
Value of measure for this metric can be saved from Sensor, taking into account following rules:
Non-zero value should be saved for resources representing tests. |
static String |
TESTS_KEY
|
static Metric<Integer> |
UNASSIGNED_REVIEWS
Deprecated. in 3.6. This measure is not fed anymore since introduction of issues. |
static String |
UNASSIGNED_REVIEWS_KEY
Deprecated. in 3.6. This measure is not fed anymore since introduction of issues. |
static Metric<Integer> |
UNCOVERED_CONDITIONS
Use CoverageMeasuresBuilder to build measure for this metric. |
static String |
UNCOVERED_CONDITIONS_KEY
|
static Metric<Integer> |
UNCOVERED_LINES
Use CoverageMeasuresBuilder to build measure for this metric. |
static String |
UNCOVERED_LINES_KEY
|
static Metric<Integer> |
UNPLANNED_REVIEWS
Deprecated. in 3.6. This measure is not fed anymore since introduction of issues. |
static String |
UNPLANNED_REVIEWS_KEY
Deprecated. in 3.6. This measure is not fed anymore since introduction of issues. |
static Metric<Integer> |
UNREVIEWED_VIOLATIONS
Deprecated. in 3.6. This measure is not fed anymore since introduction of issues. |
static String |
UNREVIEWED_VIOLATIONS_KEY
Deprecated. in 3.6. This measure is not fed anymore since introduction of issues. |
static Metric<Integer> |
VIOLATIONS
|
static String |
VIOLATIONS_KEY
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOMAIN_SIZE
public static String DOMAIN_SIZE
DOMAIN_TESTS
public static String DOMAIN_TESTS
DOMAIN_INTEGRATION_TESTS
public static String DOMAIN_INTEGRATION_TESTS
DOMAIN_OVERALL_TESTS
public static String DOMAIN_OVERALL_TESTS
DOMAIN_COMPLEXITY
public static String DOMAIN_COMPLEXITY
DOMAIN_DOCUMENTATION
public static String DOMAIN_DOCUMENTATION
DOMAIN_SCM
public static String DOMAIN_SCM
DOMAIN_REVIEWS
@Deprecated
public static String DOMAIN_REVIEWS
- Deprecated. in 3.6. Replaced by concept of issues.
DOMAIN_ISSUES
public static String DOMAIN_ISSUES
DOMAIN_GENERAL
public static String DOMAIN_GENERAL
DOMAIN_DUPLICATION
public static String DOMAIN_DUPLICATION
DOMAIN_DESIGN
public static String DOMAIN_DESIGN
DOMAIN_TECHNICAL_DEBT
public static String DOMAIN_TECHNICAL_DEBT
- Since:
- 4.0
LINES_KEY
public static final String LINES_KEY
- See Also:
- Constant Field Values
LINES
public static final Metric<Integer> LINES
GENERATED_LINES_KEY
public static final String GENERATED_LINES_KEY
- See Also:
- Constant Field Values
GENERATED_LINES
public static final Metric<Integer> GENERATED_LINES
NCLOC_KEY
public static final String NCLOC_KEY
- See Also:
- Constant Field Values
NCLOC
public static final Metric<Integer> NCLOC
NCLOC_LANGUAGE_DISTRIBUTION_KEY
public static final String NCLOC_LANGUAGE_DISTRIBUTION_KEY
- Since:
- 4.4
- See Also:
- Constant Field Values
NCLOC_LANGUAGE_DISTRIBUTION
public static final Metric<String> NCLOC_LANGUAGE_DISTRIBUTION
- Since:
- 4.4
GENERATED_NCLOC_KEY
public static final String GENERATED_NCLOC_KEY
- See Also:
- Constant Field Values
GENERATED_NCLOC
public static final Metric<Integer> GENERATED_NCLOC
CLASSES_KEY
public static final String CLASSES_KEY
- See Also:
- Constant Field Values
CLASSES
public static final Metric<Integer> CLASSES
FILES_KEY
public static final String FILES_KEY
- See Also:
- Constant Field Values
FILES
public static final Metric<Integer> FILES
DIRECTORIES_KEY
public static final String DIRECTORIES_KEY
- See Also:
- Constant Field Values
DIRECTORIES
public static final Metric<Integer> DIRECTORIES
PACKAGES_KEY
@Deprecated
public static final String PACKAGES_KEY
- Deprecated. since 4.2 there is now only directory
- See Also:
- Constant Field Values
PACKAGES
@Deprecated
public static final Metric<Integer> PACKAGES
- Deprecated. since 4.2 there is now only directory
FUNCTIONS_KEY
public static final String FUNCTIONS_KEY
- See Also:
- Constant Field Values
FUNCTIONS
public static final Metric<Integer> FUNCTIONS
ACCESSORS_KEY
public static final String ACCESSORS_KEY
- See Also:
- Constant Field Values
ACCESSORS
public static final Metric<Integer> ACCESSORS
STATEMENTS_KEY
public static final String STATEMENTS_KEY
- See Also:
- Constant Field Values
STATEMENTS
public static final Metric<Integer> STATEMENTS
PUBLIC_API_KEY
public static final String PUBLIC_API_KEY
- See Also:
- Constant Field Values
PUBLIC_API
public static final Metric<Integer> PUBLIC_API
PROJECTS_KEY
public static final String PROJECTS_KEY
- Since:
- 3.0
- See Also:
- Constant Field Values
PROJECTS
public static final Metric<Integer> PROJECTS
- Since:
- 3.0
COMMENT_LINES_KEY
public static final String COMMENT_LINES_KEY
- See Also:
- Constant Field Values
COMMENT_LINES
public static final Metric<Integer> COMMENT_LINES
COMMENT_LINES_DENSITY_KEY
public static final String COMMENT_LINES_DENSITY_KEY
- See Also:
- Constant Field Values
COMMENT_LINES_DENSITY
public static final Metric<Double> COMMENT_LINES_DENSITY
COMMENT_BLANK_LINES_KEY
@Deprecated
public static final String COMMENT_BLANK_LINES_KEY
- Deprecated. since 3.3 - see SONAR-3768
- See Also:
- Constant Field Values
COMMENT_BLANK_LINES
@Deprecated
public static final Metric<Integer> COMMENT_BLANK_LINES
- Deprecated. since 3.3 - see SONAR-3768
PUBLIC_DOCUMENTED_API_DENSITY_KEY
public static final String PUBLIC_DOCUMENTED_API_DENSITY_KEY
- See Also:
- Constant Field Values
PUBLIC_DOCUMENTED_API_DENSITY
public static final Metric<Double> PUBLIC_DOCUMENTED_API_DENSITY
PUBLIC_UNDOCUMENTED_API_KEY
public static final String PUBLIC_UNDOCUMENTED_API_KEY
- See Also:
- Constant Field Values
PUBLIC_UNDOCUMENTED_API
public static final Metric<Integer> PUBLIC_UNDOCUMENTED_API
COMMENTED_OUT_CODE_LINES_KEY
@Deprecated
public static final String COMMENTED_OUT_CODE_LINES_KEY
- Deprecated. since 4.2 - see SONAR-4990
- See Also:
- Constant Field Values
COMMENTED_OUT_CODE_LINES
@Deprecated
public static final Metric<Integer> COMMENTED_OUT_CODE_LINES
- Deprecated. since 4.2 - see SONAR-4990
COMPLEXITY_KEY
public static final String COMPLEXITY_KEY
- See Also:
- Constant Field Values
COMPLEXITY
public static final Metric<Integer> COMPLEXITY
FILE_COMPLEXITY_KEY
public static final String FILE_COMPLEXITY_KEY
- See Also:
- Constant Field Values
FILE_COMPLEXITY
public static final Metric<Double> FILE_COMPLEXITY
COMPLEXITY_IN_CLASSES_KEY
public static final String COMPLEXITY_IN_CLASSES_KEY
- Since:
- 3.6
- See Also:
- Constant Field Values
COMPLEXITY_IN_CLASSES
public static final Metric<Integer> COMPLEXITY_IN_CLASSES
- Since:
- 3.6
CLASS_COMPLEXITY_KEY
public static final String CLASS_COMPLEXITY_KEY
- See Also:
- Constant Field Values
CLASS_COMPLEXITY
public static final Metric<Double> CLASS_COMPLEXITY
- Information about the cyclomatic complexity per class, calculated by divided the complexity in classes by the number of classes.
If the complexity in classes is not available, the complexity of the file is used.
COMPLEXITY_IN_FUNCTIONS_KEY
public static final String COMPLEXITY_IN_FUNCTIONS_KEY
- Since:
- 3.6
- See Also:
- Constant Field Values
COMPLEXITY_IN_FUNCTIONS
public static final Metric<Integer> COMPLEXITY_IN_FUNCTIONS
- Since:
- 3.6
FUNCTION_COMPLEXITY_KEY
public static final String FUNCTION_COMPLEXITY_KEY
- See Also:
- Constant Field Values
FUNCTION_COMPLEXITY
public static final Metric<Double> FUNCTION_COMPLEXITY
- Information about the cyclomatic complexity per function, calculated by divided the complexity in functions by the number of functions.
If the complexity in functions is not available, the complexity of the file is used.
CLASS_COMPLEXITY_DISTRIBUTION_KEY
@Deprecated
public static final String CLASS_COMPLEXITY_DISTRIBUTION_KEY
- Deprecated. in 3.0 - see SONAR-3289
- See Also:
- Constant Field Values
CLASS_COMPLEXITY_DISTRIBUTION
@Deprecated
public static final Metric<String> CLASS_COMPLEXITY_DISTRIBUTION
- Deprecated. in 3.0 - see SONAR-3289
FUNCTION_COMPLEXITY_DISTRIBUTION_KEY
public static final String FUNCTION_COMPLEXITY_DISTRIBUTION_KEY
- See Also:
- Constant Field Values
FUNCTION_COMPLEXITY_DISTRIBUTION
public static final Metric<String> FUNCTION_COMPLEXITY_DISTRIBUTION
FILE_COMPLEXITY_DISTRIBUTION_KEY
public static final String FILE_COMPLEXITY_DISTRIBUTION_KEY
- See Also:
- Constant Field Values
FILE_COMPLEXITY_DISTRIBUTION
public static final Metric<String> FILE_COMPLEXITY_DISTRIBUTION
TESTS_KEY
public static final String TESTS_KEY
- See Also:
- Constant Field Values
TESTS
public static final Metric<Integer> TESTS
- Value of measure for this metric can be saved from Sensor, taking into account following rules:
- Non-zero value should be saved for resources representing tests. And Sonar provides default Decorator, which will decorate parent resources.
- Should include
TEST_FAILURES
and TEST_ERRORS
, but should not include SKIPPED_TESTS
.
TEST_EXECUTION_TIME_KEY
public static final String TEST_EXECUTION_TIME_KEY
- See Also:
- Constant Field Values
TEST_EXECUTION_TIME
public static final Metric<Integer> TEST_EXECUTION_TIME
TEST_ERRORS_KEY
public static final String TEST_ERRORS_KEY
- See Also:
- Constant Field Values
TEST_ERRORS
public static final Metric<Integer> TEST_ERRORS
SKIPPED_TESTS_KEY
public static final String SKIPPED_TESTS_KEY
- See Also:
- Constant Field Values
SKIPPED_TESTS
public static final Metric<Integer> SKIPPED_TESTS
TEST_FAILURES_KEY
public static final String TEST_FAILURES_KEY
- See Also:
- Constant Field Values
TEST_FAILURES
public static final Metric<Integer> TEST_FAILURES
TEST_SUCCESS_DENSITY_KEY
public static final String TEST_SUCCESS_DENSITY_KEY
- See Also:
- Constant Field Values
TEST_SUCCESS_DENSITY
public static final Metric<Double> TEST_SUCCESS_DENSITY
TEST_DATA_KEY
public static final String TEST_DATA_KEY
- See Also:
- Constant Field Values
TEST_DATA
public static final Metric<String> TEST_DATA
COVERAGE_KEY
public static final String COVERAGE_KEY
- See Also:
- Constant Field Values
COVERAGE
public static final Metric<Double> COVERAGE
NEW_COVERAGE_KEY
public static final String NEW_COVERAGE_KEY
- See Also:
- Constant Field Values
NEW_COVERAGE
public static final Metric<Double> NEW_COVERAGE
LINES_TO_COVER_KEY
public static final String LINES_TO_COVER_KEY
- See Also:
- Constant Field Values
LINES_TO_COVER
public static final Metric<Integer> LINES_TO_COVER
- Use
CoverageMeasuresBuilder
to build measure for this metric.
NEW_LINES_TO_COVER_KEY
public static final String NEW_LINES_TO_COVER_KEY
- See Also:
- Constant Field Values
NEW_LINES_TO_COVER
public static final Metric<Integer> NEW_LINES_TO_COVER
UNCOVERED_LINES_KEY
public static final String UNCOVERED_LINES_KEY
- See Also:
- Constant Field Values
UNCOVERED_LINES
public static final Metric<Integer> UNCOVERED_LINES
- Use
CoverageMeasuresBuilder
to build measure for this metric.
NEW_UNCOVERED_LINES_KEY
public static final String NEW_UNCOVERED_LINES_KEY
- See Also:
- Constant Field Values
NEW_UNCOVERED_LINES
public static final Metric<Integer> NEW_UNCOVERED_LINES
LINE_COVERAGE_KEY
public static final String LINE_COVERAGE_KEY
- See Also:
- Constant Field Values
LINE_COVERAGE
public static final Metric<Double> LINE_COVERAGE
NEW_LINE_COVERAGE_KEY
public static final String NEW_LINE_COVERAGE_KEY
- See Also:
- Constant Field Values
NEW_LINE_COVERAGE
public static final Metric<Double> NEW_LINE_COVERAGE
COVERAGE_LINE_HITS_DATA_KEY
public static final String COVERAGE_LINE_HITS_DATA_KEY
- See Also:
- Constant Field Values
COVERAGE_LINE_HITS_DATA
public static final Metric<String> COVERAGE_LINE_HITS_DATA
- Key-value pairs, where key - is a number of line, and value - is a number of hits for this line.
Use
CoverageMeasuresBuilder
to build measure for this metric.
CONDITIONS_TO_COVER_KEY
public static final String CONDITIONS_TO_COVER_KEY
- See Also:
- Constant Field Values
CONDITIONS_TO_COVER
public static final Metric<Integer> CONDITIONS_TO_COVER
- Use
CoverageMeasuresBuilder
to build measure for this metric.
NEW_CONDITIONS_TO_COVER_KEY
public static final String NEW_CONDITIONS_TO_COVER_KEY
- See Also:
- Constant Field Values
NEW_CONDITIONS_TO_COVER
public static final Metric<Integer> NEW_CONDITIONS_TO_COVER
UNCOVERED_CONDITIONS_KEY
public static final String UNCOVERED_CONDITIONS_KEY
- See Also:
- Constant Field Values
UNCOVERED_CONDITIONS
public static final Metric<Integer> UNCOVERED_CONDITIONS
- Use
CoverageMeasuresBuilder
to build measure for this metric.
NEW_UNCOVERED_CONDITIONS_KEY
public static final String NEW_UNCOVERED_CONDITIONS_KEY
- See Also:
- Constant Field Values
NEW_UNCOVERED_CONDITIONS
public static final Metric<Integer> NEW_UNCOVERED_CONDITIONS
BRANCH_COVERAGE_KEY
public static final String BRANCH_COVERAGE_KEY
- See Also:
- Constant Field Values
BRANCH_COVERAGE
public static final Metric<Double> BRANCH_COVERAGE
NEW_BRANCH_COVERAGE_KEY
public static final String NEW_BRANCH_COVERAGE_KEY
- See Also:
- Constant Field Values
NEW_BRANCH_COVERAGE
public static final Metric<Double> NEW_BRANCH_COVERAGE
CONDITIONS_BY_LINE_KEY
public static final String CONDITIONS_BY_LINE_KEY
- See Also:
- Constant Field Values
CONDITIONS_BY_LINE
public static final Metric<String> CONDITIONS_BY_LINE
- Use
CoverageMeasuresBuilder
to build measure for this metric.
- Since:
- 2.7
COVERED_CONDITIONS_BY_LINE_KEY
public static final String COVERED_CONDITIONS_BY_LINE_KEY
- See Also:
- Constant Field Values
COVERED_CONDITIONS_BY_LINE
public static final Metric<String> COVERED_CONDITIONS_BY_LINE
- Use
CoverageMeasuresBuilder
to build measure for this metric.
- Since:
- 2.7
IT_COVERAGE_KEY
public static final String IT_COVERAGE_KEY
- Since:
- 2.12
- See Also:
- Constant Field Values
IT_COVERAGE
public static final Metric<Double> IT_COVERAGE
- Since:
- 2.12
NEW_IT_COVERAGE_KEY
public static final String NEW_IT_COVERAGE_KEY
- Since:
- 2.12
- See Also:
- Constant Field Values
NEW_IT_COVERAGE
public static final Metric<Double> NEW_IT_COVERAGE
- Since:
- 2.12
IT_LINES_TO_COVER_KEY
public static final String IT_LINES_TO_COVER_KEY
- Since:
- 2.12
- See Also:
- Constant Field Values
IT_LINES_TO_COVER
public static final Metric<Integer> IT_LINES_TO_COVER
- Since:
- 2.12
NEW_IT_LINES_TO_COVER_KEY
public static final String NEW_IT_LINES_TO_COVER_KEY
- Since:
- 2.12
- See Also:
- Constant Field Values
NEW_IT_LINES_TO_COVER
public static final Metric<Integer> NEW_IT_LINES_TO_COVER
- Since:
- 2.12
IT_UNCOVERED_LINES_KEY
public static final String IT_UNCOVERED_LINES_KEY
- Since:
- 2.12
- See Also:
- Constant Field Values
IT_UNCOVERED_LINES
public static final Metric<Integer> IT_UNCOVERED_LINES
- Since:
- 2.12
NEW_IT_UNCOVERED_LINES_KEY
public static final String NEW_IT_UNCOVERED_LINES_KEY
- Since:
- 2.12
- See Also:
- Constant Field Values
NEW_IT_UNCOVERED_LINES
public static final Metric<Integer> NEW_IT_UNCOVERED_LINES
- Since:
- 2.12
IT_LINE_COVERAGE_KEY
public static final String IT_LINE_COVERAGE_KEY
- Since:
- 2.12
- See Also:
- Constant Field Values
IT_LINE_COVERAGE
public static final Metric<Double> IT_LINE_COVERAGE
- Since:
- 2.12
NEW_IT_LINE_COVERAGE_KEY
public static final String NEW_IT_LINE_COVERAGE_KEY
- Since:
- 2.12
- See Also:
- Constant Field Values
NEW_IT_LINE_COVERAGE
public static final Metric<Double> NEW_IT_LINE_COVERAGE
- Since:
- 2.12
IT_COVERAGE_LINE_HITS_DATA_KEY
public static final String IT_COVERAGE_LINE_HITS_DATA_KEY
- Since:
- 2.12
- See Also:
- Constant Field Values
IT_COVERAGE_LINE_HITS_DATA
public static final Metric<String> IT_COVERAGE_LINE_HITS_DATA
- Since:
- 2.12
IT_CONDITIONS_TO_COVER_KEY
public static final String IT_CONDITIONS_TO_COVER_KEY
- Since:
- 2.12
- See Also:
- Constant Field Values
IT_CONDITIONS_TO_COVER
public static final Metric<Integer> IT_CONDITIONS_TO_COVER
- Since:
- 2.12
NEW_IT_CONDITIONS_TO_COVER_KEY
public static final String NEW_IT_CONDITIONS_TO_COVER_KEY
- Since:
- 2.12
- See Also:
- Constant Field Values
NEW_IT_CONDITIONS_TO_COVER
public static final Metric<Integer> NEW_IT_CONDITIONS_TO_COVER
- Since:
- 2.12
IT_UNCOVERED_CONDITIONS_KEY
public static final String IT_UNCOVERED_CONDITIONS_KEY
- Since:
- 2.12
- See Also:
- Constant Field Values
IT_UNCOVERED_CONDITIONS
public static final Metric<Integer> IT_UNCOVERED_CONDITIONS
- Since:
- 2.12
NEW_IT_UNCOVERED_CONDITIONS_KEY
public static final String NEW_IT_UNCOVERED_CONDITIONS_KEY
- Since:
- 2.12
- See Also:
- Constant Field Values
NEW_IT_UNCOVERED_CONDITIONS
public static final Metric<Integer> NEW_IT_UNCOVERED_CONDITIONS
- Since:
- 2.12
IT_BRANCH_COVERAGE_KEY
public static final String IT_BRANCH_COVERAGE_KEY
- Since:
- 2.12
- See Also:
- Constant Field Values
IT_BRANCH_COVERAGE
public static final Metric<Double> IT_BRANCH_COVERAGE
- Since:
- 2.12
NEW_IT_BRANCH_COVERAGE_KEY
public static final String NEW_IT_BRANCH_COVERAGE_KEY
- Since:
- 2.12
- See Also:
- Constant Field Values
NEW_IT_BRANCH_COVERAGE
public static final Metric<Double> NEW_IT_BRANCH_COVERAGE
- Since:
- 2.12
IT_CONDITIONS_BY_LINE_KEY
public static final String IT_CONDITIONS_BY_LINE_KEY
- Since:
- 2.12
- See Also:
- Constant Field Values
IT_CONDITIONS_BY_LINE
public static final Metric<String> IT_CONDITIONS_BY_LINE
- Since:
- 2.12
IT_COVERED_CONDITIONS_BY_LINE_KEY
public static final String IT_COVERED_CONDITIONS_BY_LINE_KEY
- Since:
- 2.12
- See Also:
- Constant Field Values
IT_COVERED_CONDITIONS_BY_LINE
public static final Metric<String> IT_COVERED_CONDITIONS_BY_LINE
- Since:
- 2.12
OVERALL_COVERAGE_KEY
public static final String OVERALL_COVERAGE_KEY
- Since:
- 3.3
- See Also:
- Constant Field Values
OVERALL_COVERAGE
public static final Metric<Double> OVERALL_COVERAGE
- Since:
- 3.3
NEW_OVERALL_COVERAGE_KEY
public static final String NEW_OVERALL_COVERAGE_KEY
- Since:
- 3.3
- See Also:
- Constant Field Values
NEW_OVERALL_COVERAGE
public static final Metric<Double> NEW_OVERALL_COVERAGE
- Since:
- 3.3
OVERALL_LINES_TO_COVER_KEY
public static final String OVERALL_LINES_TO_COVER_KEY
- Since:
- 3.3
- See Also:
- Constant Field Values
OVERALL_LINES_TO_COVER
public static final Metric<Integer> OVERALL_LINES_TO_COVER
- Since:
- 3.3
NEW_OVERALL_LINES_TO_COVER_KEY
public static final String NEW_OVERALL_LINES_TO_COVER_KEY
- Since:
- 3.3
- See Also:
- Constant Field Values
NEW_OVERALL_LINES_TO_COVER
public static final Metric<Integer> NEW_OVERALL_LINES_TO_COVER
- Since:
- 3.3
OVERALL_UNCOVERED_LINES_KEY
public static final String OVERALL_UNCOVERED_LINES_KEY
- Since:
- 3.3
- See Also:
- Constant Field Values
OVERALL_UNCOVERED_LINES
public static final Metric<Integer> OVERALL_UNCOVERED_LINES
- Since:
- 3.3
NEW_OVERALL_UNCOVERED_LINES_KEY
public static final String NEW_OVERALL_UNCOVERED_LINES_KEY
- Since:
- 3.3
- See Also:
- Constant Field Values
NEW_OVERALL_UNCOVERED_LINES
public static final Metric<Integer> NEW_OVERALL_UNCOVERED_LINES
- Since:
- 3.3
OVERALL_LINE_COVERAGE_KEY
public static final String OVERALL_LINE_COVERAGE_KEY
- Since:
- 3.3
- See Also:
- Constant Field Values
OVERALL_LINE_COVERAGE
public static final Metric<Double> OVERALL_LINE_COVERAGE
- Since:
- 3.3
NEW_OVERALL_LINE_COVERAGE_KEY
public static final String NEW_OVERALL_LINE_COVERAGE_KEY
- Since:
- 3.3
- See Also:
- Constant Field Values
NEW_OVERALL_LINE_COVERAGE
public static final Metric<Double> NEW_OVERALL_LINE_COVERAGE
- Since:
- 3.3
OVERALL_COVERAGE_LINE_HITS_DATA_KEY
public static final String OVERALL_COVERAGE_LINE_HITS_DATA_KEY
- Since:
- 3.3
- See Also:
- Constant Field Values
OVERALL_COVERAGE_LINE_HITS_DATA
public static final Metric<String> OVERALL_COVERAGE_LINE_HITS_DATA
- Since:
- 3.3
OVERALL_CONDITIONS_TO_COVER_KEY
public static final String OVERALL_CONDITIONS_TO_COVER_KEY
- Since:
- 3.3
- See Also:
- Constant Field Values
OVERALL_CONDITIONS_TO_COVER
public static final Metric<Integer> OVERALL_CONDITIONS_TO_COVER
- Since:
- 3.3
NEW_OVERALL_CONDITIONS_TO_COVER_KEY
public static final String NEW_OVERALL_CONDITIONS_TO_COVER_KEY
- Since:
- 3.3
- See Also:
- Constant Field Values
NEW_OVERALL_CONDITIONS_TO_COVER
public static final Metric<Integer> NEW_OVERALL_CONDITIONS_TO_COVER
- Since:
- 3.3
OVERALL_UNCOVERED_CONDITIONS_KEY
public static final String OVERALL_UNCOVERED_CONDITIONS_KEY
- Since:
- 3.3
- See Also:
- Constant Field Values
OVERALL_UNCOVERED_CONDITIONS
public static final Metric<Integer> OVERALL_UNCOVERED_CONDITIONS
- Since:
- 3.3
NEW_OVERALL_UNCOVERED_CONDITIONS_KEY
public static final String NEW_OVERALL_UNCOVERED_CONDITIONS_KEY
- Since:
- 3.3
- See Also:
- Constant Field Values
NEW_OVERALL_UNCOVERED_CONDITIONS
public static final Metric<Integer> NEW_OVERALL_UNCOVERED_CONDITIONS
- Since:
- 3.3
OVERALL_BRANCH_COVERAGE_KEY
public static final String OVERALL_BRANCH_COVERAGE_KEY
- Since:
- 3.3
- See Also:
- Constant Field Values
OVERALL_BRANCH_COVERAGE
public static final Metric<Double> OVERALL_BRANCH_COVERAGE
- Since:
- 3.3
NEW_OVERALL_BRANCH_COVERAGE_KEY
public static final String NEW_OVERALL_BRANCH_COVERAGE_KEY
- Since:
- 3.3
- See Also:
- Constant Field Values
NEW_OVERALL_BRANCH_COVERAGE
public static final Metric<Double> NEW_OVERALL_BRANCH_COVERAGE
- Since:
- 3.3
OVERALL_CONDITIONS_BY_LINE_KEY
public static final String OVERALL_CONDITIONS_BY_LINE_KEY
- Since:
- 3.3
- See Also:
- Constant Field Values
OVERALL_CONDITIONS_BY_LINE
public static final Metric<String> OVERALL_CONDITIONS_BY_LINE
- Since:
- 3.3
OVERALL_COVERED_CONDITIONS_BY_LINE_KEY
public static final String OVERALL_COVERED_CONDITIONS_BY_LINE_KEY
- Since:
- 3.3
- See Also:
- Constant Field Values
OVERALL_COVERED_CONDITIONS_BY_LINE
public static final Metric<String> OVERALL_COVERED_CONDITIONS_BY_LINE
- Since:
- 3.3
DUPLICATED_LINES_KEY
public static final String DUPLICATED_LINES_KEY
- See Also:
- Constant Field Values
DUPLICATED_LINES
public static final Metric<Integer> DUPLICATED_LINES
DUPLICATED_BLOCKS_KEY
public static final String DUPLICATED_BLOCKS_KEY
- See Also:
- Constant Field Values
DUPLICATED_BLOCKS
public static final Metric<Integer> DUPLICATED_BLOCKS
DUPLICATED_FILES_KEY
public static final String DUPLICATED_FILES_KEY
- See Also:
- Constant Field Values
DUPLICATED_FILES
public static final Metric<Integer> DUPLICATED_FILES
- For files: if it contains duplicates, then 1, otherwise 0.
For other resources: amount of files under this resource with duplicates.
DUPLICATED_LINES_DENSITY_KEY
public static final String DUPLICATED_LINES_DENSITY_KEY
- See Also:
- Constant Field Values
DUPLICATED_LINES_DENSITY
public static final Metric<Double> DUPLICATED_LINES_DENSITY
DUPLICATIONS_DATA_KEY
@Deprecated
public static final String DUPLICATIONS_DATA_KEY
- Deprecated. since 4.5. Internal storage of duplication is not an API. No more available on batch side.
- See Also:
- Constant Field Values
DUPLICATIONS_DATA
@Deprecated
public static final Metric<String> DUPLICATIONS_DATA
- Deprecated. since 4.5. Internal storage of duplication is not an API. No more available on batch side.
- Information about duplications, which is represented as an XML string.
Here is the format (since Sonar 2.12):
...
...
DUPLICATION_LINES_DATA_KEY
@Beta
public static final String DUPLICATION_LINES_DATA_KEY
- Since:
- 4.5 used by dev cockpit.
- See Also:
- Constant Field Values
DUPLICATION_LINES_DATA
@Beta
public static final Metric<String> DUPLICATION_LINES_DATA
- Information about duplication in file.
Key-value pairs, where key - is a number of line, and value - is an indicator of whether line is duplicated somewhere (1) or not (0).
- Since:
- 4.5 used by dev cockpit
- See Also:
FileLinesContext
VIOLATIONS_KEY
public static final String VIOLATIONS_KEY
- See Also:
- Constant Field Values
VIOLATIONS
public static final Metric<Integer> VIOLATIONS
BLOCKER_VIOLATIONS_KEY
public static final String BLOCKER_VIOLATIONS_KEY
- See Also:
- Constant Field Values
BLOCKER_VIOLATIONS
public static final Metric<Integer> BLOCKER_VIOLATIONS
CRITICAL_VIOLATIONS_KEY
public static final String CRITICAL_VIOLATIONS_KEY
- See Also:
- Constant Field Values
CRITICAL_VIOLATIONS
public static final Metric<Integer> CRITICAL_VIOLATIONS
MAJOR_VIOLATIONS_KEY
public static final String MAJOR_VIOLATIONS_KEY
- See Also:
- Constant Field Values
MAJOR_VIOLATIONS
public static final Metric<Integer> MAJOR_VIOLATIONS
MINOR_VIOLATIONS_KEY
public static final String MINOR_VIOLATIONS_KEY
- See Also:
- Constant Field Values
MINOR_VIOLATIONS
public static final Metric<Integer> MINOR_VIOLATIONS
INFO_VIOLATIONS_KEY
public static final String INFO_VIOLATIONS_KEY
- See Also:
- Constant Field Values
INFO_VIOLATIONS
public static final Metric<Integer> INFO_VIOLATIONS
NEW_VIOLATIONS_KEY
public static final String NEW_VIOLATIONS_KEY
- See Also:
- Constant Field Values
NEW_VIOLATIONS
public static final Metric<Integer> NEW_VIOLATIONS
NEW_BLOCKER_VIOLATIONS_KEY
public static final String NEW_BLOCKER_VIOLATIONS_KEY
- See Also:
- Constant Field Values
NEW_BLOCKER_VIOLATIONS
public static final Metric<Integer> NEW_BLOCKER_VIOLATIONS
NEW_CRITICAL_VIOLATIONS_KEY
public static final String NEW_CRITICAL_VIOLATIONS_KEY
- See Also:
- Constant Field Values
NEW_CRITICAL_VIOLATIONS
public static final Metric<Integer> NEW_CRITICAL_VIOLATIONS
NEW_MAJOR_VIOLATIONS_KEY
public static final String NEW_MAJOR_VIOLATIONS_KEY
- See Also:
- Constant Field Values
NEW_MAJOR_VIOLATIONS
public static final Metric<Integer> NEW_MAJOR_VIOLATIONS
NEW_MINOR_VIOLATIONS_KEY
public static final String NEW_MINOR_VIOLATIONS_KEY
- See Also:
- Constant Field Values
NEW_MINOR_VIOLATIONS
public static final Metric<Integer> NEW_MINOR_VIOLATIONS
NEW_INFO_VIOLATIONS_KEY
public static final String NEW_INFO_VIOLATIONS_KEY
- See Also:
- Constant Field Values
NEW_INFO_VIOLATIONS
public static final Metric<Integer> NEW_INFO_VIOLATIONS
FALSE_POSITIVE_ISSUES_KEY
public static final String FALSE_POSITIVE_ISSUES_KEY
- Since:
- 3.6
- See Also:
- Constant Field Values
FALSE_POSITIVE_ISSUES
public static final Metric<Integer> FALSE_POSITIVE_ISSUES
- Since:
- 3.6
OPEN_ISSUES_KEY
public static final String OPEN_ISSUES_KEY
- Since:
- 3.6
- See Also:
- Constant Field Values
OPEN_ISSUES
public static final Metric<Integer> OPEN_ISSUES
- Since:
- 3.6
REOPENED_ISSUES_KEY
public static final String REOPENED_ISSUES_KEY
- Since:
- 3.6
- See Also:
- Constant Field Values
REOPENED_ISSUES
public static final Metric<Integer> REOPENED_ISSUES
- Since:
- 3.6
CONFIRMED_ISSUES_KEY
public static final String CONFIRMED_ISSUES_KEY
- Since:
- 3.6
- See Also:
- Constant Field Values
CONFIRMED_ISSUES
public static final Metric<Integer> CONFIRMED_ISSUES
- Since:
- 3.6
ABSTRACTNESS_KEY
@Deprecated
public static final String ABSTRACTNESS_KEY
- Deprecated. since 3.7.1
- See Also:
- Constant Field Values
ABSTRACTNESS
@Deprecated
public static final Metric<Double> ABSTRACTNESS
- Deprecated. since 3.7.1
INSTABILITY_KEY
@Deprecated
public static final String INSTABILITY_KEY
- Deprecated. since 3.7.1
- See Also:
- Constant Field Values
INSTABILITY
@Deprecated
public static final Metric<Double> INSTABILITY
- Deprecated. since 3.7.1
DISTANCE_KEY
@Deprecated
public static final String DISTANCE_KEY
- Deprecated. since 3.7.1
- See Also:
- Constant Field Values
DISTANCE
@Deprecated
public static final Metric<Double> DISTANCE
- Deprecated. since 3.7.1
DEPTH_IN_TREE_KEY
@Deprecated
public static final String DEPTH_IN_TREE_KEY
- Deprecated. since 4.0. See SONAR-4643
- See Also:
- Constant Field Values
DEPTH_IN_TREE
@Deprecated
public static final Metric<Integer> DEPTH_IN_TREE
- Deprecated. since 4.0. See SONAR-4643
NUMBER_OF_CHILDREN_KEY
@Deprecated
public static final String NUMBER_OF_CHILDREN_KEY
- Deprecated. since 4.0. See SONAR-4643
- See Also:
- Constant Field Values
NUMBER_OF_CHILDREN
@Deprecated
public static final Metric<Integer> NUMBER_OF_CHILDREN
- Deprecated. since 4.0. See SONAR-4643
RFC_KEY
@Deprecated
public static final String RFC_KEY
- Deprecated. since 4.2. See SONAR-5042
- See Also:
- Constant Field Values
RFC
@Deprecated
public static final Metric<Integer> RFC
- Deprecated. since 4.2. See SONAR-5042
RFC_DISTRIBUTION_KEY
@Deprecated
public static final String RFC_DISTRIBUTION_KEY
- Deprecated. since 4.2. See SONAR-5042
- See Also:
- Constant Field Values
RFC_DISTRIBUTION
@Deprecated
public static final Metric<String> RFC_DISTRIBUTION
- Deprecated. since 4.2. See SONAR-5042
LCOM4_KEY
@Deprecated
public static final String LCOM4_KEY
- Deprecated. in 4.1. See http://jira.codehaus.org/browse/SONAR-4853
- See Also:
- Constant Field Values
LCOM4
@Deprecated
public static final Metric<Double> LCOM4
- Deprecated. in 4.1. See http://jira.codehaus.org/browse/SONAR-4853
LCOM4_BLOCKS_KEY
@Deprecated
public static final String LCOM4_BLOCKS_KEY
- Deprecated. in 4.1. See http://jira.codehaus.org/browse/SONAR-4853
- See Also:
- Constant Field Values
LCOM4_BLOCKS
@Deprecated
public static final Metric<String> LCOM4_BLOCKS
- Deprecated. in 4.1. See http://jira.codehaus.org/browse/SONAR-4853
LCOM4_DISTRIBUTION_KEY
@Deprecated
public static final String LCOM4_DISTRIBUTION_KEY
- Deprecated. in 4.1. See http://jira.codehaus.org/browse/SONAR-4853
- See Also:
- Constant Field Values
LCOM4_DISTRIBUTION
@Deprecated
public static final Metric<String> LCOM4_DISTRIBUTION
- Deprecated. in 4.1. See http://jira.codehaus.org/browse/SONAR-4853
SUSPECT_LCOM4_DENSITY_KEY
@Deprecated
public static final String SUSPECT_LCOM4_DENSITY_KEY
- Deprecated. in 4.1. See http://jira.codehaus.org/browse/SONAR-4853
- See Also:
- Constant Field Values
SUSPECT_LCOM4_DENSITY
@Deprecated
public static final Metric<Double> SUSPECT_LCOM4_DENSITY
- Deprecated. in 4.1. See http://jira.codehaus.org/browse/SONAR-4853
AFFERENT_COUPLINGS_KEY
@Deprecated
public static final String AFFERENT_COUPLINGS_KEY
- Deprecated. since 3.7.1
- See Also:
- Constant Field Values
AFFERENT_COUPLINGS
@Deprecated
public static final Metric<Integer> AFFERENT_COUPLINGS
- Deprecated. since 3.7.1
EFFERENT_COUPLINGS_KEY
@Deprecated
public static final String EFFERENT_COUPLINGS_KEY
- Deprecated. since 3.7.1
- See Also:
- Constant Field Values
EFFERENT_COUPLINGS
@Deprecated
public static final Metric<Integer> EFFERENT_COUPLINGS
- Deprecated. since 3.7.1
DEPENDENCY_MATRIX_KEY
public static final String DEPENDENCY_MATRIX_KEY
- See Also:
- Constant Field Values
DEPENDENCY_MATRIX
public static final Metric<String> DEPENDENCY_MATRIX
PACKAGE_CYCLES_KEY
public static final String PACKAGE_CYCLES_KEY
- See Also:
- Constant Field Values
PACKAGE_CYCLES
public static final Metric<Integer> PACKAGE_CYCLES
PACKAGE_TANGLE_INDEX_KEY
public static final String PACKAGE_TANGLE_INDEX_KEY
- See Also:
- Constant Field Values
PACKAGE_TANGLE_INDEX
public static final Metric<Double> PACKAGE_TANGLE_INDEX
PACKAGE_TANGLES_KEY
public static final String PACKAGE_TANGLES_KEY
- See Also:
- Constant Field Values
PACKAGE_TANGLES
public static final Metric<Integer> PACKAGE_TANGLES
PACKAGE_FEEDBACK_EDGES_KEY
public static final String PACKAGE_FEEDBACK_EDGES_KEY
- See Also:
- Constant Field Values
PACKAGE_FEEDBACK_EDGES
public static final Metric<Integer> PACKAGE_FEEDBACK_EDGES
PACKAGE_EDGES_WEIGHT_KEY
public static final String PACKAGE_EDGES_WEIGHT_KEY
- See Also:
- Constant Field Values
PACKAGE_EDGES_WEIGHT
public static final Metric<Integer> PACKAGE_EDGES_WEIGHT
FILE_CYCLES_KEY
public static final String FILE_CYCLES_KEY
- See Also:
- Constant Field Values
FILE_CYCLES
public static final Metric<Integer> FILE_CYCLES
FILE_TANGLE_INDEX_KEY
public static final String FILE_TANGLE_INDEX_KEY
- See Also:
- Constant Field Values
FILE_TANGLE_INDEX
public static final Metric<Double> FILE_TANGLE_INDEX
FILE_TANGLES_KEY
public static final String FILE_TANGLES_KEY
- See Also:
- Constant Field Values
FILE_TANGLES
public static final Metric<Integer> FILE_TANGLES
FILE_FEEDBACK_EDGES_KEY
public static final String FILE_FEEDBACK_EDGES_KEY
- See Also:
- Constant Field Values
FILE_FEEDBACK_EDGES
public static final Metric<Integer> FILE_FEEDBACK_EDGES
FILE_EDGES_WEIGHT_KEY
public static final String FILE_EDGES_WEIGHT_KEY
- See Also:
- Constant Field Values
FILE_EDGES_WEIGHT
public static final Metric<Integer> FILE_EDGES_WEIGHT
SCM_AUTHORS_BY_LINE_KEY
public static final String SCM_AUTHORS_BY_LINE_KEY
- Since:
- 2.7
- See Also:
- Constant Field Values
SCM_AUTHORS_BY_LINE
public static final Metric<String> SCM_AUTHORS_BY_LINE
- Key-value pairs, where key - is a number of line, and value - is an author for this line.
- Since:
- 2.7
- See Also:
KeyValueFormat.formatIntString(java.util.Map)
,
KeyValueFormat.parseIntString(String)
SCM_REVISIONS_BY_LINE_KEY
public static final String SCM_REVISIONS_BY_LINE_KEY
- Since:
- 2.7
- See Also:
- Constant Field Values
SCM_REVISIONS_BY_LINE
public static final Metric<String> SCM_REVISIONS_BY_LINE
- Key-value pairs, where key - is a number of line, and value - is a revision for this line.
- Since:
- 2.7
- See Also:
KeyValueFormat.formatIntString(java.util.Map)
,
KeyValueFormat.parseIntString(String)
SCM_LAST_COMMIT_DATETIMES_BY_LINE_KEY
public static final String SCM_LAST_COMMIT_DATETIMES_BY_LINE_KEY
- Since:
- 2.7
- See Also:
- Constant Field Values
SCM_LAST_COMMIT_DATETIMES_BY_LINE
public static final Metric<String> SCM_LAST_COMMIT_DATETIMES_BY_LINE
- Key-value pairs, where key - is a number of line, and value - is a date of last commit for this line.
- Since:
- 2.7
- See Also:
KeyValueFormat.formatIntDateTime(java.util.Map)
,
KeyValueFormat.parseIntDateTime(String)
UNREVIEWED_VIOLATIONS_KEY
@Deprecated
public static final String UNREVIEWED_VIOLATIONS_KEY
- Deprecated. in 3.6. This measure is not fed anymore since introduction of issues.
- Since:
- 2.14
- See Also:
- Constant Field Values
UNREVIEWED_VIOLATIONS
@Deprecated
public static final Metric<Integer> UNREVIEWED_VIOLATIONS
- Deprecated. in 3.6. This measure is not fed anymore since introduction of issues.
- Since:
- 2.14
NEW_UNREVIEWED_VIOLATIONS_KEY
@Deprecated
public static final String NEW_UNREVIEWED_VIOLATIONS_KEY
- Deprecated. in 3.6. This measure is not fed anymore since introduction of issues.
- Since:
- 2.14
- See Also:
- Constant Field Values
NEW_UNREVIEWED_VIOLATIONS
@Deprecated
public static final Metric<Integer> NEW_UNREVIEWED_VIOLATIONS
- Deprecated. in 3.6. This measure is not fed anymore since introduction of issues.
- Since:
- 2.14
FALSE_POSITIVE_REVIEWS_KEY
@Deprecated
public static final String FALSE_POSITIVE_REVIEWS_KEY
- Deprecated. in 3.6. This measure is replaced by
FALSE_POSITIVE_ISSUES_KEY
.
- Since:
- 2.14
- See Also:
- Constant Field Values
FALSE_POSITIVE_REVIEWS
@Deprecated
public static final Metric<Integer> FALSE_POSITIVE_REVIEWS
- Deprecated. in 3.6. This measure is replaced by
FALSE_POSITIVE_ISSUES
.
- Since:
- 2.14
ACTIVE_REVIEWS_KEY
@Deprecated
public static final String ACTIVE_REVIEWS_KEY
- Deprecated. in 3.6. This measure is not fed anymore since introduction of issues.
- Since:
- 2.14
- See Also:
- Constant Field Values
ACTIVE_REVIEWS
@Deprecated
public static final Metric<Integer> ACTIVE_REVIEWS
- Deprecated. in 3.6. This measure is not fed anymore since introduction of issues.
- Since:
- 2.14
UNASSIGNED_REVIEWS_KEY
@Deprecated
public static final String UNASSIGNED_REVIEWS_KEY
- Deprecated. in 3.6. This measure is not fed anymore since introduction of issues.
- Since:
- 2.14
- See Also:
- Constant Field Values
UNASSIGNED_REVIEWS
@Deprecated
public static final Metric<Integer> UNASSIGNED_REVIEWS
- Deprecated. in 3.6. This measure is not fed anymore since introduction of issues.
- Since:
- 2.14
UNPLANNED_REVIEWS_KEY
@Deprecated
public static final String UNPLANNED_REVIEWS_KEY
- Deprecated. in 3.6. This measure is not fed anymore since introduction of issues.
- Since:
- 2.14
- See Also:
- Constant Field Values
UNPLANNED_REVIEWS
@Deprecated
public static final Metric<Integer> UNPLANNED_REVIEWS
- Deprecated. in 3.6. This measure is not fed anymore since introduction of issues.
- Since:
- 2.14
TECHNICAL_DEBT_KEY
public static final String TECHNICAL_DEBT_KEY
- Since:
- 4.0
- See Also:
- Constant Field Values
TECHNICAL_DEBT
public static final Metric<Long> TECHNICAL_DEBT
- Since:
- 4.0
NEW_TECHNICAL_DEBT_KEY
public static final String NEW_TECHNICAL_DEBT_KEY
- Since:
- 4.1
- See Also:
- Constant Field Values
NEW_TECHNICAL_DEBT
public static final Metric<Long> NEW_TECHNICAL_DEBT
- Since:
- 4.1
SQALE_RATING_KEY
public static final String SQALE_RATING_KEY
- Since:
- 4.5
- See Also:
- Constant Field Values
SQALE_RATING
public static final Metric<String> SQALE_RATING
- Since:
- 4.5
DEVELOPMENT_COST_KEY
public static final String DEVELOPMENT_COST_KEY
- Since:
- 4.5
- See Also:
- Constant Field Values
DEVELOPMENT_COST
public static final Metric<String> DEVELOPMENT_COST
- Since:
- 4.5
SQALE_DEBT_RATIO_KEY
public static final String SQALE_DEBT_RATIO_KEY
- Since:
- 4.5
- See Also:
- Constant Field Values
SQALE_DEBT_RATIO
public static final Metric<Double> SQALE_DEBT_RATIO
- Since:
- 4.5
NCLOC_DATA_KEY
@Beta
public static final String NCLOC_DATA_KEY
- Since:
- 2.14
- See Also:
- Constant Field Values
NCLOC_DATA
@Beta
public static final Metric<String> NCLOC_DATA
- Information about lines of code in file.
Key-value pairs, where key - is a number of line, and value - is an indicator of whether line contains code (1) or not (0).
- Since:
- 2.14
- See Also:
FileLinesContext
COMMENT_LINES_DATA_KEY
@Beta
public static final String COMMENT_LINES_DATA_KEY
- Since:
- 2.14
- See Also:
- Constant Field Values
COMMENT_LINES_DATA
@Beta
public static final Metric<String> COMMENT_LINES_DATA
- Information about comments in file.
Key-value pairs, where key - is a number of line, and value - is an indicator of whether line contains comment (1) or not (0).
- Since:
- 2.14
- See Also:
FileLinesContext
ALERT_STATUS_KEY
public static final String ALERT_STATUS_KEY
- See Also:
- Constant Field Values
ALERT_STATUS
public static final Metric<Metric.Level> ALERT_STATUS
QUALITY_GATE_DETAILS_KEY
public static final String QUALITY_GATE_DETAILS_KEY
- Since:
- 4.4
- See Also:
- Constant Field Values
QUALITY_GATE_DETAILS
public static final Metric<String> QUALITY_GATE_DETAILS
- The project detailed status with regard to its quality gate.
Storing the global quality gate status, along with all evaluated conditions, into a JSON object.
- Since:
- 4.4
PROFILE_KEY
@Deprecated
public static final String PROFILE_KEY
- Deprecated. since 4.4 doesn't support multi-language. See
QUALITY_PROFILES_KEY
- See Also:
- Constant Field Values
PROFILE
@Deprecated
public static final Metric<String> PROFILE
- Deprecated. since 4.4 doesn't support multi-language. See
QUALITY_PROFILES_KEY
PROFILE_VERSION_KEY
@Deprecated
public static final String PROFILE_VERSION_KEY
- Deprecated. since 4.4 doesn't support multi-language. See
QUALITY_PROFILES_KEY
- Since:
- 2.9
- See Also:
- Constant Field Values
PROFILE_VERSION
@Deprecated
public static final Metric<Integer> PROFILE_VERSION
- Deprecated. since 4.4 doesn't support multi-language. See
QUALITY_PROFILES_KEY
- Since:
- 2.9
QUALITY_PROFILES_KEY
public static final String QUALITY_PROFILES_KEY
- Since:
- 4.4
- See Also:
- Constant Field Values
QUALITY_PROFILES
public static final Metric<String> QUALITY_PROFILES
- Since:
- 4.4
getMetrics
public static List<Metric> getMetrics()
getMetric
public static Metric getMetric(String key)
Copyright © 2009–2014 SonarSource. All rights reserved.