Package org.sonar.api.measures
Class CoreMetrics
- java.lang.Object
-
- org.sonar.api.measures.CoreMetrics
-
public final class CoreMetrics extends java.lang.Object- Since:
- 1.10
-
-
Field Summary
Fields Modifier and Type Field Description static Metric<java.lang.Integer>ACCEPTED_ISSUESstatic java.lang.StringACCEPTED_ISSUES_KEYstatic Metric<Metric.Level>ALERT_STATUSstatic java.lang.StringALERT_STATUS_KEYstatic Metric<java.lang.Integer>ANALYSIS_FROM_SONARQUBE_9_4static java.lang.StringANALYSIS_FROM_SONARQUBE_9_4_KEYstatic Metric<java.lang.Integer>BLOCKER_VIOLATIONSstatic java.lang.StringBLOCKER_VIOLATIONS_KEYstatic Metric<java.lang.Double>BRANCH_COVERAGEstatic java.lang.StringBRANCH_COVERAGE_KEYstatic Metric<java.lang.Integer>BUGSSonarQube Quality Modelstatic java.lang.StringBUGS_KEYSonarQube Quality Modelstatic Metric<java.lang.Double>CLASS_COMPLEXITYDeprecated.since 6.7static java.lang.StringCLASS_COMPLEXITY_KEYDeprecated.since 6.7static Metric<java.lang.Integer>CLASSESstatic java.lang.StringCLASSES_KEYstatic Metric<java.lang.Integer>CODE_SMELLSSonarQube Quality Modelstatic java.lang.StringCODE_SMELLS_KEYSonarQube Quality Modelstatic Metric<java.lang.Integer>COGNITIVE_COMPLEXITYstatic java.lang.StringCOGNITIVE_COMPLEXITY_KEYstatic Metric<java.lang.Integer>COMMENT_LINESstatic Metric<java.lang.String>COMMENT_LINES_DATADeprecated.in 7.3.static java.lang.StringCOMMENT_LINES_DATA_KEYDeprecated.in 7.3.static Metric<java.lang.Double>COMMENT_LINES_DENSITYstatic java.lang.StringCOMMENT_LINES_DENSITY_KEYMoved to Size domain since 6.2static java.lang.StringCOMMENT_LINES_KEYMoved to Size domain since 6.2static Metric<java.lang.Integer>COMPLEXITYstatic Metric<java.lang.Integer>COMPLEXITY_IN_CLASSESDeprecated.since 6.7static java.lang.StringCOMPLEXITY_IN_CLASSES_KEYDeprecated.since 6.7static Metric<java.lang.Integer>COMPLEXITY_IN_FUNCTIONSDeprecated.since 6.7static java.lang.StringCOMPLEXITY_IN_FUNCTIONS_KEYDeprecated.since 6.7static java.lang.StringCOMPLEXITY_KEYstatic Metric<java.lang.Integer>CONDITIONS_TO_COVERstatic java.lang.StringCONDITIONS_TO_COVER_KEYstatic Metric<java.lang.Integer>CONFIRMED_ISSUESstatic java.lang.StringCONFIRMED_ISSUES_KEYstatic Metric<java.lang.Double>COVERAGEstatic java.lang.StringCOVERAGE_KEYstatic Metric<java.lang.Integer>CRITICAL_VIOLATIONSstatic java.lang.StringCRITICAL_VIOLATIONS_KEYstatic Metric<java.lang.String>DEVELOPMENT_COSTstatic java.lang.StringDEVELOPMENT_COST_KEYstatic java.lang.StringDOMAIN_COMPLEXITYstatic java.lang.StringDOMAIN_COVERAGEstatic java.lang.StringDOMAIN_DOCUMENTATIONDeprecated.since 6.2.static java.lang.StringDOMAIN_DUPLICATIONSstatic java.lang.StringDOMAIN_GENERALstatic java.lang.StringDOMAIN_ISSUESstatic java.lang.StringDOMAIN_MAINTAINABILITYSonarQube Quality Modelstatic java.lang.StringDOMAIN_RELEASABILITYstatic java.lang.StringDOMAIN_RELIABILITYSonarQube Quality Modelstatic java.lang.StringDOMAIN_SCMstatic java.lang.StringDOMAIN_SECURITYSonarQube Quality Modelstatic java.lang.StringDOMAIN_SECURITY_REVIEWstatic java.lang.StringDOMAIN_SIZEstatic Metric<java.lang.Integer>DUPLICATED_BLOCKSstatic java.lang.StringDUPLICATED_BLOCKS_KEYstatic Metric<java.lang.Integer>DUPLICATED_FILESFor files: if it contains duplicates, then 1, otherwise 0.static java.lang.StringDUPLICATED_FILES_KEYstatic Metric<java.lang.Integer>DUPLICATED_LINESstatic Metric<java.lang.Double>DUPLICATED_LINES_DENSITYstatic java.lang.StringDUPLICATED_LINES_DENSITY_KEYstatic java.lang.StringDUPLICATED_LINES_KEYstatic Metric<java.lang.String>DUPLICATIONS_DATADeprecated.since 4.5.static java.lang.StringDUPLICATIONS_DATA_KEYDeprecated.since 4.5.static Metric<java.lang.Long>EFFORT_TO_REACH_MAINTAINABILITY_RATING_Astatic java.lang.StringEFFORT_TO_REACH_MAINTAINABILITY_RATING_A_KEYstatic Metric<java.lang.String>EXECUTABLE_LINES_DATAInformation about executable lines of code in file.static java.lang.StringEXECUTABLE_LINES_DATA_KEYstatic Metric<java.lang.Integer>FALSE_POSITIVE_ISSUESstatic java.lang.StringFALSE_POSITIVE_ISSUES_KEYstatic Metric<java.lang.Double>FILE_COMPLEXITYDeprecated.since 6.7static Metric<java.lang.String>FILE_COMPLEXITY_DISTRIBUTIONDeprecated.since 6.7static java.lang.StringFILE_COMPLEXITY_DISTRIBUTION_KEYDeprecated.since 6.7static java.lang.StringFILE_COMPLEXITY_KEYDeprecated.since 6.7static Metric<java.lang.Integer>FILESComputed by the platform.static java.lang.StringFILES_KEYstatic Metric<java.lang.Double>FUNCTION_COMPLEXITYDeprecated.since 6.7static Metric<java.lang.String>FUNCTION_COMPLEXITY_DISTRIBUTIONDeprecated.since 6.7static java.lang.StringFUNCTION_COMPLEXITY_DISTRIBUTION_KEYDeprecated.since 6.7static java.lang.StringFUNCTION_COMPLEXITY_KEYDeprecated.since 6.7static Metric<java.lang.Integer>FUNCTIONSstatic java.lang.StringFUNCTIONS_KEYComputed by the platform.static Metric<java.lang.Integer>GENERATED_LINESstatic java.lang.StringGENERATED_LINES_KEYstatic Metric<java.lang.Integer>GENERATED_NCLOCstatic java.lang.StringGENERATED_NCLOC_KEYstatic Metric<java.lang.Integer>INFO_VIOLATIONSstatic java.lang.StringINFO_VIOLATIONS_KEYstatic MetricLAST_COMMIT_DATEDate of the most recent commit.static java.lang.StringLAST_COMMIT_DATE_KEYstatic Metric<java.lang.Double>LINE_COVERAGEstatic java.lang.StringLINE_COVERAGE_KEYstatic Metric<java.lang.Integer>LINESstatic java.lang.StringLINES_KEYComputed by the platform since SQ 5.1static Metric<java.lang.Integer>LINES_TO_COVERstatic java.lang.StringLINES_TO_COVER_KEYstatic Metric<java.lang.Integer>MAJOR_VIOLATIONSstatic java.lang.StringMAJOR_VIOLATIONS_KEYstatic Metric<java.lang.Integer>MINOR_VIOLATIONSstatic java.lang.StringMINOR_VIOLATIONS_KEYstatic Metric<java.lang.Integer>NCLOCstatic Metric<java.lang.String>NCLOC_DATAInformation about lines of code in file.static java.lang.StringNCLOC_DATA_KEYstatic java.lang.StringNCLOC_KEYstatic Metric<java.lang.String>NCLOC_LANGUAGE_DISTRIBUTIONstatic java.lang.StringNCLOC_LANGUAGE_DISTRIBUTION_KEYstatic Metric<java.lang.Integer>NEW_BLOCKER_VIOLATIONSstatic java.lang.StringNEW_BLOCKER_VIOLATIONS_KEYstatic Metric<java.lang.Integer>NEW_BLOCKS_DUPLICATEDstatic java.lang.StringNEW_BLOCKS_DUPLICATED_KEYstatic Metric<java.lang.Double>NEW_BRANCH_COVERAGEstatic java.lang.StringNEW_BRANCH_COVERAGE_KEYstatic Metric<java.lang.Integer>NEW_BUGSSonarQube Quality Modelstatic java.lang.StringNEW_BUGS_KEYSonarQube Quality Modelstatic Metric<java.lang.Integer>NEW_CODE_SMELLSSonarQube Quality Modelstatic java.lang.StringNEW_CODE_SMELLS_KEYSonarQube Quality Modelstatic Metric<java.lang.Integer>NEW_CONDITIONS_TO_COVERstatic java.lang.StringNEW_CONDITIONS_TO_COVER_KEYstatic Metric<java.lang.Double>NEW_COVERAGEstatic java.lang.StringNEW_COVERAGE_KEYstatic Metric<java.lang.Integer>NEW_CRITICAL_VIOLATIONSstatic java.lang.StringNEW_CRITICAL_VIOLATIONS_KEYstatic Metric<java.lang.String>NEW_DEVELOPMENT_COSTstatic java.lang.StringNEW_DEVELOPMENT_COST_KEYstatic Metric<java.lang.Integer>NEW_DUPLICATED_LINESstatic Metric<java.lang.Integer>NEW_DUPLICATED_LINES_DENSITYstatic java.lang.StringNEW_DUPLICATED_LINES_DENSITY_KEYstatic java.lang.StringNEW_DUPLICATED_LINES_KEYstatic Metric<java.lang.Integer>NEW_INFO_VIOLATIONSstatic java.lang.StringNEW_INFO_VIOLATIONS_KEYstatic Metric<java.lang.Double>NEW_LINE_COVERAGEstatic java.lang.StringNEW_LINE_COVERAGE_KEYstatic Metric<java.lang.Integer>NEW_LINESstatic java.lang.StringNEW_LINES_KEYstatic Metric<java.lang.Integer>NEW_LINES_TO_COVERstatic java.lang.StringNEW_LINES_TO_COVER_KEYstatic Metric<java.lang.Integer>NEW_MAINTAINABILITY_RATINGstatic java.lang.StringNEW_MAINTAINABILITY_RATING_KEYstatic Metric<java.lang.Integer>NEW_MAJOR_VIOLATIONSstatic java.lang.StringNEW_MAJOR_VIOLATIONS_KEYstatic Metric<java.lang.Integer>NEW_MINOR_VIOLATIONSstatic java.lang.StringNEW_MINOR_VIOLATIONS_KEYstatic Metric<java.lang.Integer>NEW_RELIABILITY_RATINGstatic java.lang.StringNEW_RELIABILITY_RATING_KEYstatic Metric<java.lang.Long>NEW_RELIABILITY_REMEDIATION_EFFORTstatic java.lang.StringNEW_RELIABILITY_REMEDIATION_EFFORT_KEYstatic Metric<java.lang.Integer>NEW_SECURITY_HOTSPOTSstatic java.lang.StringNEW_SECURITY_HOTSPOTS_KEYstatic Metric<java.lang.Integer>NEW_SECURITY_HOTSPOTS_REVIEWEDstatic java.lang.StringNEW_SECURITY_HOTSPOTS_REVIEWED_KEYstatic Metric<java.lang.Integer>NEW_SECURITY_HOTSPOTS_REVIEWED_STATUSstatic java.lang.StringNEW_SECURITY_HOTSPOTS_REVIEWED_STATUS_KEYstatic Metric<java.lang.Integer>NEW_SECURITY_HOTSPOTS_TO_REVIEW_STATUSstatic java.lang.StringNEW_SECURITY_HOTSPOTS_TO_REVIEW_STATUS_KEYstatic Metric<java.lang.Integer>NEW_SECURITY_RATINGstatic java.lang.StringNEW_SECURITY_RATING_KEYstatic Metric<java.lang.Long>NEW_SECURITY_REMEDIATION_EFFORTstatic java.lang.StringNEW_SECURITY_REMEDIATION_EFFORT_KEYstatic Metric<java.lang.Integer>NEW_SECURITY_REVIEW_RATINGstatic java.lang.StringNEW_SECURITY_REVIEW_RATING_KEYstatic Metric<java.lang.Double>NEW_SQALE_DEBT_RATIOstatic java.lang.StringNEW_SQALE_DEBT_RATIO_KEYstatic Metric<java.lang.Long>NEW_TECHNICAL_DEBTstatic java.lang.StringNEW_TECHNICAL_DEBT_KEYstatic Metric<java.lang.Integer>NEW_UNCOVERED_CONDITIONSstatic java.lang.StringNEW_UNCOVERED_CONDITIONS_KEYstatic Metric<java.lang.Integer>NEW_UNCOVERED_LINESstatic java.lang.StringNEW_UNCOVERED_LINES_KEYstatic Metric<java.lang.Integer>NEW_VIOLATIONSstatic java.lang.StringNEW_VIOLATIONS_KEYstatic Metric<java.lang.Integer>NEW_VULNERABILITIESSonarQube Quality Modelstatic java.lang.StringNEW_VULNERABILITIES_KEYSonarQube Quality Modelstatic Metric<java.lang.Integer>OPEN_ISSUESstatic java.lang.StringOPEN_ISSUES_KEYstatic Metric<java.lang.Integer>PROJECTSstatic java.lang.StringPROJECTS_KEYstatic Metric<java.lang.Integer>PUBLIC_APIstatic java.lang.StringPUBLIC_API_KEYDeprecated.since 6.2static Metric<java.lang.Double>PUBLIC_DOCUMENTED_API_DENSITYstatic java.lang.StringPUBLIC_DOCUMENTED_API_DENSITY_KEYDeprecated.since 6.2static Metric<java.lang.Integer>PUBLIC_UNDOCUMENTED_APIstatic java.lang.StringPUBLIC_UNDOCUMENTED_API_KEYDeprecated.since 6.2static Metric<java.lang.String>QUALITY_GATE_DETAILSThe project detailed status with regard to its quality gate.static java.lang.StringQUALITY_GATE_DETAILS_KEYstatic Metric<java.lang.String>QUALITY_PROFILESDeprecated.since 5.5static java.lang.StringQUALITY_PROFILES_KEYDeprecated.since 5.5static Metric<java.lang.Integer>RELIABILITY_RATINGstatic java.lang.StringRELIABILITY_RATING_KEYstatic Metric<java.lang.Long>RELIABILITY_REMEDIATION_EFFORTstatic java.lang.StringRELIABILITY_REMEDIATION_EFFORT_KEYstatic Metric<java.lang.Integer>REOPENED_ISSUESstatic java.lang.StringREOPENED_ISSUES_KEYstatic Metric<java.lang.Integer>SECURITY_HOTSPOTSstatic java.lang.StringSECURITY_HOTSPOTS_KEYstatic Metric<java.lang.Integer>SECURITY_HOTSPOTS_REVIEWEDstatic java.lang.StringSECURITY_HOTSPOTS_REVIEWED_KEYstatic Metric<java.lang.Integer>SECURITY_HOTSPOTS_REVIEWED_STATUSstatic java.lang.StringSECURITY_HOTSPOTS_REVIEWED_STATUS_KEYstatic Metric<java.lang.Integer>SECURITY_HOTSPOTS_TO_REVIEW_STATUSstatic java.lang.StringSECURITY_HOTSPOTS_TO_REVIEW_STATUS_KEYstatic Metric<java.lang.Integer>SECURITY_RATINGstatic java.lang.StringSECURITY_RATING_KEYstatic Metric<java.lang.Long>SECURITY_REMEDIATION_EFFORTstatic java.lang.StringSECURITY_REMEDIATION_EFFORT_KEYstatic Metric<java.lang.Integer>SECURITY_REVIEW_RATINGstatic java.lang.StringSECURITY_REVIEW_RATING_KEYstatic Metric<java.lang.Integer>SKIPPED_TESTSstatic java.lang.StringSKIPPED_TESTS_KEYstatic Metric<java.lang.Double>SQALE_DEBT_RATIOstatic java.lang.StringSQALE_DEBT_RATIO_KEYstatic Metric<java.lang.Integer>SQALE_RATINGstatic java.lang.StringSQALE_RATING_KEYstatic Metric<java.lang.Integer>STATEMENTSstatic java.lang.StringSTATEMENTS_KEYstatic Metric<java.lang.Long>TECHNICAL_DEBTstatic java.lang.StringTECHNICAL_DEBT_KEYstatic Metric<java.lang.Integer>TEST_ERRORSstatic java.lang.StringTEST_ERRORS_KEYstatic Metric<java.lang.Long>TEST_EXECUTION_TIMEstatic java.lang.StringTEST_EXECUTION_TIME_KEYstatic Metric<java.lang.Integer>TEST_FAILURESstatic java.lang.StringTEST_FAILURES_KEYstatic Metric<java.lang.Double>TEST_SUCCESS_DENSITYstatic java.lang.StringTEST_SUCCESS_DENSITY_KEYstatic Metric<java.lang.Integer>TESTSValue 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 java.lang.StringTESTS_KEYstatic Metric<java.lang.Integer>UNCOVERED_CONDITIONSstatic java.lang.StringUNCOVERED_CONDITIONS_KEYstatic Metric<java.lang.Integer>UNCOVERED_LINESstatic java.lang.StringUNCOVERED_LINES_KEYstatic Metric<java.lang.Integer>VIOLATIONSstatic java.lang.StringVIOLATIONS_KEYstatic Metric<java.lang.Integer>VULNERABILITIESSonarQube Quality Modelstatic java.lang.StringVULNERABILITIES_KEYSonarQube Quality Modelstatic Metric<java.lang.Integer>WONT_FIX_ISSUESDeprecated.since 10.3.static java.lang.StringWONT_FIX_ISSUES_KEYDeprecated.since 10.3.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MetricgetMetric(java.lang.String key)static java.util.List<Metric>getMetrics()
-
-
-
Field Detail
-
DOMAIN_SIZE
public static java.lang.String DOMAIN_SIZE
-
DOMAIN_COVERAGE
public static java.lang.String DOMAIN_COVERAGE
-
DOMAIN_COMPLEXITY
public static java.lang.String DOMAIN_COMPLEXITY
-
DOMAIN_DOCUMENTATION
@Deprecated public static java.lang.String DOMAIN_DOCUMENTATION
Deprecated.since 6.2. Merged intoDOMAIN_SIZE
-
DOMAIN_SCM
public static java.lang.String DOMAIN_SCM
-
DOMAIN_ISSUES
public static java.lang.String DOMAIN_ISSUES
-
DOMAIN_GENERAL
public static java.lang.String DOMAIN_GENERAL
-
DOMAIN_DUPLICATIONS
public static java.lang.String DOMAIN_DUPLICATIONS
-
DOMAIN_MAINTAINABILITY
public static java.lang.String DOMAIN_MAINTAINABILITY
SonarQube Quality Model- Since:
- 5.5
-
DOMAIN_RELIABILITY
public static java.lang.String DOMAIN_RELIABILITY
SonarQube Quality Model- Since:
- 5.5
-
DOMAIN_SECURITY
public static java.lang.String DOMAIN_SECURITY
SonarQube Quality Model- Since:
- 5.5
-
DOMAIN_SECURITY_REVIEW
public static java.lang.String DOMAIN_SECURITY_REVIEW
- Since:
- 8.2
-
DOMAIN_RELEASABILITY
public static java.lang.String DOMAIN_RELEASABILITY
- Since:
- 5.5
-
LINES_KEY
public static final java.lang.String LINES_KEY
Computed by the platform since SQ 5.1- See Also:
- Constant Field Values
-
LINES
public static final Metric<java.lang.Integer> LINES
-
GENERATED_LINES_KEY
public static final java.lang.String GENERATED_LINES_KEY
- See Also:
- Constant Field Values
-
GENERATED_LINES
public static final Metric<java.lang.Integer> GENERATED_LINES
-
NCLOC_KEY
public static final java.lang.String NCLOC_KEY
- See Also:
- Constant Field Values
-
NCLOC
public static final Metric<java.lang.Integer> NCLOC
-
NEW_LINES_KEY
public static final java.lang.String NEW_LINES_KEY
- Since:
- 6.1
- See Also:
- Constant Field Values
-
NEW_LINES
public static final Metric<java.lang.Integer> NEW_LINES
- Since:
- 6.1
-
NCLOC_LANGUAGE_DISTRIBUTION_KEY
public static final java.lang.String NCLOC_LANGUAGE_DISTRIBUTION_KEY
- Since:
- 4.4
- See Also:
- Constant Field Values
-
NCLOC_LANGUAGE_DISTRIBUTION
public static final Metric<java.lang.String> NCLOC_LANGUAGE_DISTRIBUTION
- Since:
- 4.4
-
GENERATED_NCLOC_KEY
public static final java.lang.String GENERATED_NCLOC_KEY
- See Also:
- Constant Field Values
-
GENERATED_NCLOC
public static final Metric<java.lang.Integer> GENERATED_NCLOC
-
CLASSES_KEY
public static final java.lang.String CLASSES_KEY
- See Also:
- Constant Field Values
-
CLASSES
public static final Metric<java.lang.Integer> CLASSES
-
FILES_KEY
public static final java.lang.String FILES_KEY
- See Also:
- Constant Field Values
-
FILES
public static final Metric<java.lang.Integer> FILES
Computed by the platform.
-
FUNCTIONS_KEY
public static final java.lang.String FUNCTIONS_KEY
Computed by the platform.- See Also:
- Constant Field Values
-
FUNCTIONS
public static final Metric<java.lang.Integer> FUNCTIONS
-
STATEMENTS_KEY
public static final java.lang.String STATEMENTS_KEY
- See Also:
- Constant Field Values
-
STATEMENTS
public static final Metric<java.lang.Integer> STATEMENTS
-
PUBLIC_API_KEY
@Deprecated public static final java.lang.String PUBLIC_API_KEY
Deprecated.since 6.2- See Also:
- SONAR-8328, Constant Field Values
-
PUBLIC_API
public static final Metric<java.lang.Integer> PUBLIC_API
-
PROJECTS_KEY
public static final java.lang.String PROJECTS_KEY
- Since:
- 3.0
- See Also:
- Constant Field Values
-
PROJECTS
public static final Metric<java.lang.Integer> PROJECTS
- Since:
- 3.0
-
COMMENT_LINES_KEY
public static final java.lang.String COMMENT_LINES_KEY
Moved to Size domain since 6.2- See Also:
- Constant Field Values
-
COMMENT_LINES
public static final Metric<java.lang.Integer> COMMENT_LINES
-
COMMENT_LINES_DENSITY_KEY
public static final java.lang.String COMMENT_LINES_DENSITY_KEY
Moved to Size domain since 6.2- See Also:
- Constant Field Values
-
COMMENT_LINES_DENSITY
public static final Metric<java.lang.Double> COMMENT_LINES_DENSITY
-
PUBLIC_DOCUMENTED_API_DENSITY_KEY
@Deprecated public static final java.lang.String PUBLIC_DOCUMENTED_API_DENSITY_KEY
Deprecated.since 6.2- See Also:
- SONAR-8328, Constant Field Values
-
PUBLIC_DOCUMENTED_API_DENSITY
public static final Metric<java.lang.Double> PUBLIC_DOCUMENTED_API_DENSITY
-
PUBLIC_UNDOCUMENTED_API_KEY
@Deprecated public static final java.lang.String PUBLIC_UNDOCUMENTED_API_KEY
Deprecated.since 6.2- See Also:
- SONAR-8328, Constant Field Values
-
PUBLIC_UNDOCUMENTED_API
public static final Metric<java.lang.Integer> PUBLIC_UNDOCUMENTED_API
-
COMPLEXITY_KEY
public static final java.lang.String COMPLEXITY_KEY
- See Also:
- Constant Field Values
-
COMPLEXITY
public static final Metric<java.lang.Integer> COMPLEXITY
-
FILE_COMPLEXITY_KEY
@Deprecated public static final java.lang.String FILE_COMPLEXITY_KEY
Deprecated.since 6.7- See Also:
- Constant Field Values
-
FILE_COMPLEXITY
@Deprecated public static final Metric<java.lang.Double> FILE_COMPLEXITY
Deprecated.since 6.7Information about the cyclomatic complexity per file, calculated by divided theCOMPLEXITYby the number ofFILES.
-
COMPLEXITY_IN_CLASSES_KEY
@Deprecated public static final java.lang.String COMPLEXITY_IN_CLASSES_KEY
Deprecated.since 6.7- Since:
- 3.6
- See Also:
- Constant Field Values
-
COMPLEXITY_IN_CLASSES
@Deprecated public static final Metric<java.lang.Integer> COMPLEXITY_IN_CLASSES
Deprecated.since 6.7- Since:
- 3.6
-
CLASS_COMPLEXITY_KEY
@Deprecated public static final java.lang.String CLASS_COMPLEXITY_KEY
Deprecated.since 6.7- See Also:
- Constant Field Values
-
CLASS_COMPLEXITY
@Deprecated public static final Metric<java.lang.Double> CLASS_COMPLEXITY
Deprecated.since 6.7Information about the cyclomatic complexity per class, calculated by divided theCOMPLEXITY_IN_CLASSESby the number ofCLASSES.
-
COMPLEXITY_IN_FUNCTIONS_KEY
@Deprecated public static final java.lang.String COMPLEXITY_IN_FUNCTIONS_KEY
Deprecated.since 6.7- Since:
- 3.6
- See Also:
- Constant Field Values
-
COMPLEXITY_IN_FUNCTIONS
@Deprecated public static final Metric<java.lang.Integer> COMPLEXITY_IN_FUNCTIONS
Deprecated.since 6.7- Since:
- 3.6
-
FUNCTION_COMPLEXITY_KEY
@Deprecated public static final java.lang.String FUNCTION_COMPLEXITY_KEY
Deprecated.since 6.7- See Also:
- Constant Field Values
-
FUNCTION_COMPLEXITY
@Deprecated public static final Metric<java.lang.Double> FUNCTION_COMPLEXITY
Deprecated.since 6.7Information about the cyclomatic complexity per function, calculated by divided theCOMPLEXITY_IN_FUNCTIONSby the number ofFUNCTIONS.
-
FUNCTION_COMPLEXITY_DISTRIBUTION_KEY
@Deprecated public static final java.lang.String FUNCTION_COMPLEXITY_DISTRIBUTION_KEY
Deprecated.since 6.7- See Also:
- Constant Field Values
-
FUNCTION_COMPLEXITY_DISTRIBUTION
@Deprecated public static final Metric<java.lang.String> FUNCTION_COMPLEXITY_DISTRIBUTION
Deprecated.since 6.7
-
FILE_COMPLEXITY_DISTRIBUTION_KEY
@Deprecated public static final java.lang.String FILE_COMPLEXITY_DISTRIBUTION_KEY
Deprecated.since 6.7- See Also:
- Constant Field Values
-
FILE_COMPLEXITY_DISTRIBUTION
@Deprecated public static final Metric<java.lang.String> FILE_COMPLEXITY_DISTRIBUTION
Deprecated.since 6.7
-
COGNITIVE_COMPLEXITY_KEY
public static final java.lang.String COGNITIVE_COMPLEXITY_KEY
- See Also:
- Constant Field Values
-
COGNITIVE_COMPLEXITY
public static final Metric<java.lang.Integer> COGNITIVE_COMPLEXITY
-
TESTS_KEY
public static final java.lang.String TESTS_KEY
- See Also:
- Constant Field Values
-
TESTS
public static final Metric<java.lang.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_FAILURESandTEST_ERRORS, but should not includeSKIPPED_TESTS.
-
TEST_EXECUTION_TIME_KEY
public static final java.lang.String TEST_EXECUTION_TIME_KEY
- See Also:
- Constant Field Values
-
TEST_EXECUTION_TIME
public static final Metric<java.lang.Long> TEST_EXECUTION_TIME
-
TEST_ERRORS_KEY
public static final java.lang.String TEST_ERRORS_KEY
- See Also:
- Constant Field Values
-
TEST_ERRORS
public static final Metric<java.lang.Integer> TEST_ERRORS
-
SKIPPED_TESTS_KEY
public static final java.lang.String SKIPPED_TESTS_KEY
- See Also:
- Constant Field Values
-
SKIPPED_TESTS
public static final Metric<java.lang.Integer> SKIPPED_TESTS
-
TEST_FAILURES_KEY
public static final java.lang.String TEST_FAILURES_KEY
- See Also:
- Constant Field Values
-
TEST_FAILURES
public static final Metric<java.lang.Integer> TEST_FAILURES
-
TEST_SUCCESS_DENSITY_KEY
public static final java.lang.String TEST_SUCCESS_DENSITY_KEY
- See Also:
- Constant Field Values
-
TEST_SUCCESS_DENSITY
public static final Metric<java.lang.Double> TEST_SUCCESS_DENSITY
-
COVERAGE_KEY
public static final java.lang.String COVERAGE_KEY
- See Also:
- Constant Field Values
-
COVERAGE
public static final Metric<java.lang.Double> COVERAGE
-
NEW_COVERAGE_KEY
public static final java.lang.String NEW_COVERAGE_KEY
- See Also:
- Constant Field Values
-
NEW_COVERAGE
public static final Metric<java.lang.Double> NEW_COVERAGE
-
LINES_TO_COVER_KEY
public static final java.lang.String LINES_TO_COVER_KEY
- See Also:
- Constant Field Values
-
LINES_TO_COVER
public static final Metric<java.lang.Integer> LINES_TO_COVER
-
NEW_LINES_TO_COVER_KEY
public static final java.lang.String NEW_LINES_TO_COVER_KEY
- See Also:
- Constant Field Values
-
NEW_LINES_TO_COVER
public static final Metric<java.lang.Integer> NEW_LINES_TO_COVER
-
UNCOVERED_LINES_KEY
public static final java.lang.String UNCOVERED_LINES_KEY
- See Also:
- Constant Field Values
-
UNCOVERED_LINES
public static final Metric<java.lang.Integer> UNCOVERED_LINES
-
NEW_UNCOVERED_LINES_KEY
public static final java.lang.String NEW_UNCOVERED_LINES_KEY
- See Also:
- Constant Field Values
-
NEW_UNCOVERED_LINES
public static final Metric<java.lang.Integer> NEW_UNCOVERED_LINES
-
LINE_COVERAGE_KEY
public static final java.lang.String LINE_COVERAGE_KEY
- See Also:
- Constant Field Values
-
LINE_COVERAGE
public static final Metric<java.lang.Double> LINE_COVERAGE
-
NEW_LINE_COVERAGE_KEY
public static final java.lang.String NEW_LINE_COVERAGE_KEY
- See Also:
- Constant Field Values
-
NEW_LINE_COVERAGE
public static final Metric<java.lang.Double> NEW_LINE_COVERAGE
-
CONDITIONS_TO_COVER_KEY
public static final java.lang.String CONDITIONS_TO_COVER_KEY
- See Also:
- Constant Field Values
-
CONDITIONS_TO_COVER
public static final Metric<java.lang.Integer> CONDITIONS_TO_COVER
-
NEW_CONDITIONS_TO_COVER_KEY
public static final java.lang.String NEW_CONDITIONS_TO_COVER_KEY
- See Also:
- Constant Field Values
-
NEW_CONDITIONS_TO_COVER
public static final Metric<java.lang.Integer> NEW_CONDITIONS_TO_COVER
-
UNCOVERED_CONDITIONS_KEY
public static final java.lang.String UNCOVERED_CONDITIONS_KEY
- See Also:
- Constant Field Values
-
UNCOVERED_CONDITIONS
public static final Metric<java.lang.Integer> UNCOVERED_CONDITIONS
-
NEW_UNCOVERED_CONDITIONS_KEY
public static final java.lang.String NEW_UNCOVERED_CONDITIONS_KEY
- See Also:
- Constant Field Values
-
NEW_UNCOVERED_CONDITIONS
public static final Metric<java.lang.Integer> NEW_UNCOVERED_CONDITIONS
-
BRANCH_COVERAGE_KEY
public static final java.lang.String BRANCH_COVERAGE_KEY
- See Also:
- Constant Field Values
-
BRANCH_COVERAGE
public static final Metric<java.lang.Double> BRANCH_COVERAGE
-
NEW_BRANCH_COVERAGE_KEY
public static final java.lang.String NEW_BRANCH_COVERAGE_KEY
- See Also:
- Constant Field Values
-
NEW_BRANCH_COVERAGE
public static final Metric<java.lang.Double> NEW_BRANCH_COVERAGE
-
DUPLICATED_LINES_KEY
public static final java.lang.String DUPLICATED_LINES_KEY
- See Also:
- Constant Field Values
-
DUPLICATED_LINES
public static final Metric<java.lang.Integer> DUPLICATED_LINES
-
NEW_DUPLICATED_LINES_KEY
public static final java.lang.String NEW_DUPLICATED_LINES_KEY
- Since:
- 6.1
- See Also:
- Constant Field Values
-
NEW_DUPLICATED_LINES
public static final Metric<java.lang.Integer> NEW_DUPLICATED_LINES
- Since:
- 6.1
-
DUPLICATED_BLOCKS_KEY
public static final java.lang.String DUPLICATED_BLOCKS_KEY
- See Also:
- Constant Field Values
-
DUPLICATED_BLOCKS
public static final Metric<java.lang.Integer> DUPLICATED_BLOCKS
-
NEW_BLOCKS_DUPLICATED_KEY
public static final java.lang.String NEW_BLOCKS_DUPLICATED_KEY
- Since:
- 6.1
- See Also:
- Constant Field Values
-
NEW_BLOCKS_DUPLICATED
public static final Metric<java.lang.Integer> NEW_BLOCKS_DUPLICATED
- Since:
- 6.1
-
DUPLICATED_FILES_KEY
public static final java.lang.String DUPLICATED_FILES_KEY
- See Also:
- Constant Field Values
-
DUPLICATED_FILES
public static final Metric<java.lang.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 java.lang.String DUPLICATED_LINES_DENSITY_KEY
- See Also:
- Constant Field Values
-
DUPLICATED_LINES_DENSITY
public static final Metric<java.lang.Double> DUPLICATED_LINES_DENSITY
-
NEW_DUPLICATED_LINES_DENSITY_KEY
public static final java.lang.String NEW_DUPLICATED_LINES_DENSITY_KEY
- Since:
- 6.1
- See Also:
- Constant Field Values
-
NEW_DUPLICATED_LINES_DENSITY
public static final Metric<java.lang.Integer> NEW_DUPLICATED_LINES_DENSITY
- Since:
- 6.1
-
DUPLICATIONS_DATA_KEY
@Deprecated public static final java.lang.String DUPLICATIONS_DATA_KEY
Deprecated.since 4.5. Internal storage of duplication is not an API.- See Also:
- Constant Field Values
-
DUPLICATIONS_DATA
@Deprecated public static final Metric<java.lang.String> DUPLICATIONS_DATA
Deprecated.since 4.5. Internal storage of duplication is not an API.Information about duplications, which is represented as an XML string.Here is the format (since Sonar 2.12):
<duplications> <!-- Multiple groups: --> <g> <!-- Multiple blocks: --> <b r="[resource key]" s="[first line]" l="[number of lines]" /> ... </g> ... </duplications>
-
VIOLATIONS_KEY
public static final java.lang.String VIOLATIONS_KEY
- See Also:
- Constant Field Values
-
VIOLATIONS
public static final Metric<java.lang.Integer> VIOLATIONS
-
BLOCKER_VIOLATIONS_KEY
public static final java.lang.String BLOCKER_VIOLATIONS_KEY
- See Also:
- Constant Field Values
-
BLOCKER_VIOLATIONS
public static final Metric<java.lang.Integer> BLOCKER_VIOLATIONS
-
CRITICAL_VIOLATIONS_KEY
public static final java.lang.String CRITICAL_VIOLATIONS_KEY
- See Also:
- Constant Field Values
-
CRITICAL_VIOLATIONS
public static final Metric<java.lang.Integer> CRITICAL_VIOLATIONS
-
MAJOR_VIOLATIONS_KEY
public static final java.lang.String MAJOR_VIOLATIONS_KEY
- See Also:
- Constant Field Values
-
MAJOR_VIOLATIONS
public static final Metric<java.lang.Integer> MAJOR_VIOLATIONS
-
MINOR_VIOLATIONS_KEY
public static final java.lang.String MINOR_VIOLATIONS_KEY
- See Also:
- Constant Field Values
-
MINOR_VIOLATIONS
public static final Metric<java.lang.Integer> MINOR_VIOLATIONS
-
INFO_VIOLATIONS_KEY
public static final java.lang.String INFO_VIOLATIONS_KEY
- See Also:
- Constant Field Values
-
INFO_VIOLATIONS
public static final Metric<java.lang.Integer> INFO_VIOLATIONS
-
NEW_VIOLATIONS_KEY
public static final java.lang.String NEW_VIOLATIONS_KEY
- See Also:
- Constant Field Values
-
NEW_VIOLATIONS
public static final Metric<java.lang.Integer> NEW_VIOLATIONS
-
NEW_BLOCKER_VIOLATIONS_KEY
public static final java.lang.String NEW_BLOCKER_VIOLATIONS_KEY
- See Also:
- Constant Field Values
-
NEW_BLOCKER_VIOLATIONS
public static final Metric<java.lang.Integer> NEW_BLOCKER_VIOLATIONS
-
NEW_CRITICAL_VIOLATIONS_KEY
public static final java.lang.String NEW_CRITICAL_VIOLATIONS_KEY
- See Also:
- Constant Field Values
-
NEW_CRITICAL_VIOLATIONS
public static final Metric<java.lang.Integer> NEW_CRITICAL_VIOLATIONS
-
NEW_MAJOR_VIOLATIONS_KEY
public static final java.lang.String NEW_MAJOR_VIOLATIONS_KEY
- See Also:
- Constant Field Values
-
NEW_MAJOR_VIOLATIONS
public static final Metric<java.lang.Integer> NEW_MAJOR_VIOLATIONS
-
NEW_MINOR_VIOLATIONS_KEY
public static final java.lang.String NEW_MINOR_VIOLATIONS_KEY
- See Also:
- Constant Field Values
-
NEW_MINOR_VIOLATIONS
public static final Metric<java.lang.Integer> NEW_MINOR_VIOLATIONS
-
NEW_INFO_VIOLATIONS_KEY
public static final java.lang.String NEW_INFO_VIOLATIONS_KEY
- See Also:
- Constant Field Values
-
NEW_INFO_VIOLATIONS
public static final Metric<java.lang.Integer> NEW_INFO_VIOLATIONS
-
FALSE_POSITIVE_ISSUES_KEY
public static final java.lang.String FALSE_POSITIVE_ISSUES_KEY
- Since:
- 3.6
- See Also:
- Constant Field Values
-
FALSE_POSITIVE_ISSUES
public static final Metric<java.lang.Integer> FALSE_POSITIVE_ISSUES
- Since:
- 3.6
-
WONT_FIX_ISSUES_KEY
@Deprecated(since="10.3") public static final java.lang.String WONT_FIX_ISSUES_KEY
Deprecated.since 10.3. UseACCEPTED_ISSUES_KEYinstead.- Since:
- 5.6
- See Also:
- Constant Field Values
-
WONT_FIX_ISSUES
@Deprecated(since="10.3") public static final Metric<java.lang.Integer> WONT_FIX_ISSUES
Deprecated.since 10.3. UseACCEPTED_ISSUESinstead.- Since:
- 5.6
-
ACCEPTED_ISSUES_KEY
public static final java.lang.String ACCEPTED_ISSUES_KEY
- Since:
- 10.3
- See Also:
- Constant Field Values
-
ACCEPTED_ISSUES
public static final Metric<java.lang.Integer> ACCEPTED_ISSUES
- Since:
- 10.3
-
OPEN_ISSUES_KEY
public static final java.lang.String OPEN_ISSUES_KEY
- Since:
- 3.6
- See Also:
- Constant Field Values
-
OPEN_ISSUES
public static final Metric<java.lang.Integer> OPEN_ISSUES
- Since:
- 3.6
-
REOPENED_ISSUES_KEY
public static final java.lang.String REOPENED_ISSUES_KEY
- Since:
- 3.6
- See Also:
- Constant Field Values
-
REOPENED_ISSUES
public static final Metric<java.lang.Integer> REOPENED_ISSUES
- Since:
- 3.6
-
CONFIRMED_ISSUES_KEY
public static final java.lang.String CONFIRMED_ISSUES_KEY
- Since:
- 3.6
- See Also:
- Constant Field Values
-
CONFIRMED_ISSUES
public static final Metric<java.lang.Integer> CONFIRMED_ISSUES
- Since:
- 3.6
-
CODE_SMELLS_KEY
public static final java.lang.String CODE_SMELLS_KEY
SonarQube Quality Model- Since:
- 5.5
- See Also:
- Constant Field Values
-
CODE_SMELLS
public static final Metric<java.lang.Integer> CODE_SMELLS
SonarQube Quality Model- Since:
- 5.5
-
NEW_CODE_SMELLS_KEY
public static final java.lang.String NEW_CODE_SMELLS_KEY
SonarQube Quality Model- Since:
- 5.5
- See Also:
- Constant Field Values
-
NEW_CODE_SMELLS
public static final Metric<java.lang.Integer> NEW_CODE_SMELLS
SonarQube Quality Model- Since:
- 5.5
-
BUGS_KEY
public static final java.lang.String BUGS_KEY
SonarQube Quality Model- Since:
- 5.5
- See Also:
- Constant Field Values
-
BUGS
public static final Metric<java.lang.Integer> BUGS
SonarQube Quality Model- Since:
- 5.5
-
NEW_BUGS_KEY
public static final java.lang.String NEW_BUGS_KEY
SonarQube Quality Model- Since:
- 5.5
- See Also:
- Constant Field Values
-
NEW_BUGS
public static final Metric<java.lang.Integer> NEW_BUGS
SonarQube Quality Model- Since:
- 5.5
-
VULNERABILITIES_KEY
public static final java.lang.String VULNERABILITIES_KEY
SonarQube Quality Model- Since:
- 5.5
- See Also:
- Constant Field Values
-
VULNERABILITIES
public static final Metric<java.lang.Integer> VULNERABILITIES
SonarQube Quality Model- Since:
- 5.5
-
NEW_VULNERABILITIES_KEY
public static final java.lang.String NEW_VULNERABILITIES_KEY
SonarQube Quality Model- Since:
- 5.5
- See Also:
- Constant Field Values
-
NEW_VULNERABILITIES
public static final Metric<java.lang.Integer> NEW_VULNERABILITIES
SonarQube Quality Model- Since:
- 5.5
-
SECURITY_HOTSPOTS_KEY
public static final java.lang.String SECURITY_HOTSPOTS_KEY
- Since:
- 7.8
- See Also:
- Constant Field Values
-
SECURITY_HOTSPOTS
public static final Metric<java.lang.Integer> SECURITY_HOTSPOTS
- Since:
- 7.8
-
NEW_SECURITY_HOTSPOTS_KEY
public static final java.lang.String NEW_SECURITY_HOTSPOTS_KEY
- Since:
- 7.8
- See Also:
- Constant Field Values
-
NEW_SECURITY_HOTSPOTS
public static final Metric<java.lang.Integer> NEW_SECURITY_HOTSPOTS
- Since:
- 7.8
-
TECHNICAL_DEBT_KEY
public static final java.lang.String TECHNICAL_DEBT_KEY
- Since:
- 4.0
- See Also:
- Constant Field Values
-
TECHNICAL_DEBT
public static final Metric<java.lang.Long> TECHNICAL_DEBT
- Since:
- 4.0
-
NEW_TECHNICAL_DEBT_KEY
public static final java.lang.String NEW_TECHNICAL_DEBT_KEY
- Since:
- 4.1
- See Also:
- Constant Field Values
-
NEW_TECHNICAL_DEBT
public static final Metric<java.lang.Long> NEW_TECHNICAL_DEBT
- Since:
- 4.1
-
SQALE_RATING_KEY
public static final java.lang.String SQALE_RATING_KEY
- Since:
- 4.5
- See Also:
- Constant Field Values
-
SQALE_RATING
public static final Metric<java.lang.Integer> SQALE_RATING
- Since:
- 4.5
-
NEW_MAINTAINABILITY_RATING_KEY
public static final java.lang.String NEW_MAINTAINABILITY_RATING_KEY
- Since:
- 6.2
- See Also:
- Constant Field Values
-
NEW_MAINTAINABILITY_RATING
public static final Metric<java.lang.Integer> NEW_MAINTAINABILITY_RATING
- Since:
- 6.2
-
DEVELOPMENT_COST_KEY
public static final java.lang.String DEVELOPMENT_COST_KEY
- Since:
- 4.5
- See Also:
- Constant Field Values
-
DEVELOPMENT_COST
public static final Metric<java.lang.String> DEVELOPMENT_COST
- Since:
- 4.5
-
NEW_DEVELOPMENT_COST_KEY
public static final java.lang.String NEW_DEVELOPMENT_COST_KEY
- Since:
- 7.0
- See Also:
- Constant Field Values
-
NEW_DEVELOPMENT_COST
public static final Metric<java.lang.String> NEW_DEVELOPMENT_COST
- Since:
- 7.0
-
SQALE_DEBT_RATIO_KEY
public static final java.lang.String SQALE_DEBT_RATIO_KEY
- Since:
- 4.5
- See Also:
- Constant Field Values
-
SQALE_DEBT_RATIO
public static final Metric<java.lang.Double> SQALE_DEBT_RATIO
- Since:
- 4.5
-
NEW_SQALE_DEBT_RATIO_KEY
public static final java.lang.String NEW_SQALE_DEBT_RATIO_KEY
- Since:
- 5.2
- See Also:
- Constant Field Values
-
NEW_SQALE_DEBT_RATIO
public static final Metric<java.lang.Double> NEW_SQALE_DEBT_RATIO
- Since:
- 5.2
-
EFFORT_TO_REACH_MAINTAINABILITY_RATING_A_KEY
public static final java.lang.String EFFORT_TO_REACH_MAINTAINABILITY_RATING_A_KEY
- Since:
- 5.5
- See Also:
- Constant Field Values
-
EFFORT_TO_REACH_MAINTAINABILITY_RATING_A
public static final Metric<java.lang.Long> EFFORT_TO_REACH_MAINTAINABILITY_RATING_A
- Since:
- 5.5
-
RELIABILITY_REMEDIATION_EFFORT_KEY
public static final java.lang.String RELIABILITY_REMEDIATION_EFFORT_KEY
- Since:
- 5.5
- See Also:
- Constant Field Values
-
RELIABILITY_REMEDIATION_EFFORT
public static final Metric<java.lang.Long> RELIABILITY_REMEDIATION_EFFORT
- Since:
- 5.5
-
NEW_RELIABILITY_REMEDIATION_EFFORT_KEY
public static final java.lang.String NEW_RELIABILITY_REMEDIATION_EFFORT_KEY
- Since:
- 5.5
- See Also:
- Constant Field Values
-
NEW_RELIABILITY_REMEDIATION_EFFORT
public static final Metric<java.lang.Long> NEW_RELIABILITY_REMEDIATION_EFFORT
- Since:
- 5.5
-
RELIABILITY_RATING_KEY
public static final java.lang.String RELIABILITY_RATING_KEY
- Since:
- 5.5
- See Also:
- Constant Field Values
-
RELIABILITY_RATING
public static final Metric<java.lang.Integer> RELIABILITY_RATING
- Since:
- 5.5
-
NEW_RELIABILITY_RATING_KEY
public static final java.lang.String NEW_RELIABILITY_RATING_KEY
- Since:
- 6.2
- See Also:
- Constant Field Values
-
NEW_RELIABILITY_RATING
public static final Metric<java.lang.Integer> NEW_RELIABILITY_RATING
- Since:
- 6.2
-
SECURITY_REMEDIATION_EFFORT_KEY
public static final java.lang.String SECURITY_REMEDIATION_EFFORT_KEY
- Since:
- 5.5
- See Also:
- Constant Field Values
-
SECURITY_REMEDIATION_EFFORT
public static final Metric<java.lang.Long> SECURITY_REMEDIATION_EFFORT
- Since:
- 5.5
-
NEW_SECURITY_REMEDIATION_EFFORT_KEY
public static final java.lang.String NEW_SECURITY_REMEDIATION_EFFORT_KEY
- Since:
- 5.5
- See Also:
- Constant Field Values
-
NEW_SECURITY_REMEDIATION_EFFORT
public static final Metric<java.lang.Long> NEW_SECURITY_REMEDIATION_EFFORT
- Since:
- 5.5
-
SECURITY_RATING_KEY
public static final java.lang.String SECURITY_RATING_KEY
- Since:
- 5.5
- See Also:
- Constant Field Values
-
SECURITY_RATING
public static final Metric<java.lang.Integer> SECURITY_RATING
- Since:
- 5.5
-
NEW_SECURITY_RATING_KEY
public static final java.lang.String NEW_SECURITY_RATING_KEY
- Since:
- 6.2
- See Also:
- Constant Field Values
-
NEW_SECURITY_RATING
public static final Metric<java.lang.Integer> NEW_SECURITY_RATING
- Since:
- 6.2
-
SECURITY_REVIEW_RATING_KEY
public static final java.lang.String SECURITY_REVIEW_RATING_KEY
- Since:
- 7.8
- See Also:
- Constant Field Values
-
SECURITY_REVIEW_RATING
public static final Metric<java.lang.Integer> SECURITY_REVIEW_RATING
- Since:
- 7.8
-
NEW_SECURITY_REVIEW_RATING_KEY
public static final java.lang.String NEW_SECURITY_REVIEW_RATING_KEY
- Since:
- 8.2
- See Also:
- Constant Field Values
-
NEW_SECURITY_REVIEW_RATING
public static final Metric<java.lang.Integer> NEW_SECURITY_REVIEW_RATING
- Since:
- 8.2
-
SECURITY_HOTSPOTS_REVIEWED_KEY
public static final java.lang.String SECURITY_HOTSPOTS_REVIEWED_KEY
- Since:
- 8.2
- See Also:
- Constant Field Values
-
SECURITY_HOTSPOTS_REVIEWED
public static final Metric<java.lang.Integer> SECURITY_HOTSPOTS_REVIEWED
- Since:
- 8.2
-
NEW_SECURITY_HOTSPOTS_REVIEWED_KEY
public static final java.lang.String NEW_SECURITY_HOTSPOTS_REVIEWED_KEY
- Since:
- 8.2
- See Also:
- Constant Field Values
-
NEW_SECURITY_HOTSPOTS_REVIEWED
public static final Metric<java.lang.Integer> NEW_SECURITY_HOTSPOTS_REVIEWED
- Since:
- 8.2
-
SECURITY_HOTSPOTS_REVIEWED_STATUS_KEY
public static final java.lang.String SECURITY_HOTSPOTS_REVIEWED_STATUS_KEY
- Since:
- 8.2
- See Also:
- Constant Field Values
-
SECURITY_HOTSPOTS_REVIEWED_STATUS
public static final Metric<java.lang.Integer> SECURITY_HOTSPOTS_REVIEWED_STATUS
- Since:
- 8.2 This hidden metric is only needed to compute 'security_review_rating' and 'security_hotspots_reviewed' on Applications.
-
SECURITY_HOTSPOTS_TO_REVIEW_STATUS_KEY
public static final java.lang.String SECURITY_HOTSPOTS_TO_REVIEW_STATUS_KEY
- Since:
- 8.2
- See Also:
- Constant Field Values
-
SECURITY_HOTSPOTS_TO_REVIEW_STATUS
public static final Metric<java.lang.Integer> SECURITY_HOTSPOTS_TO_REVIEW_STATUS
- Since:
- 8.2 This hidden metric is only needed to compute 'security_review_rating' and 'security_hotspots_reviewed' on Applications.
-
NEW_SECURITY_HOTSPOTS_REVIEWED_STATUS_KEY
public static final java.lang.String NEW_SECURITY_HOTSPOTS_REVIEWED_STATUS_KEY
- Since:
- 8.2
- See Also:
- Constant Field Values
-
NEW_SECURITY_HOTSPOTS_REVIEWED_STATUS
public static final Metric<java.lang.Integer> NEW_SECURITY_HOTSPOTS_REVIEWED_STATUS
- Since:
- 8.2 This hidden metric is only needed to compute 'new_security_review_rating' and 'new_security_hotspots_reviewed' on Applications.
-
NEW_SECURITY_HOTSPOTS_TO_REVIEW_STATUS_KEY
public static final java.lang.String NEW_SECURITY_HOTSPOTS_TO_REVIEW_STATUS_KEY
- Since:
- 8.2
- See Also:
- Constant Field Values
-
NEW_SECURITY_HOTSPOTS_TO_REVIEW_STATUS
public static final Metric<java.lang.Integer> NEW_SECURITY_HOTSPOTS_TO_REVIEW_STATUS
- Since:
- 8.2 This hidden metric is only needed to compute 'new_security_review_rating' and 'new_security_hotspots_reviewed' on Applications.
-
NCLOC_DATA_KEY
public static final java.lang.String NCLOC_DATA_KEY
- Since:
- 2.14
- See Also:
- Constant Field Values
-
NCLOC_DATA
public static final Metric<java.lang.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). If a line number is missing in the map it is equivalent to the default value (0).- Since:
- 2.14
- See Also:
FileLinesContext
-
COMMENT_LINES_DATA_KEY
@Deprecated public static final java.lang.String COMMENT_LINES_DATA_KEY
Deprecated.in 7.3. Measures are no longer sent within analysis reports, and by consequence no longer persisted nor available from web API.- Since:
- 2.14
- See Also:
- Constant Field Values
-
COMMENT_LINES_DATA
@Deprecated public static final Metric<java.lang.String> COMMENT_LINES_DATA
Deprecated.in 7.3. Measures are no longer sent within analysis reports, and by consequence no longer persisted nor available from web API.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). If a line number is missing in the map it is equivalent to the default value (0).- Since:
- 2.14
- See Also:
FileLinesContext
-
EXECUTABLE_LINES_DATA_KEY
public static final java.lang.String EXECUTABLE_LINES_DATA_KEY
- Since:
- 5.5
- See Also:
- Constant Field Values
-
EXECUTABLE_LINES_DATA
public static final Metric<java.lang.String> EXECUTABLE_LINES_DATA
Information about executable lines of code in file. Key-value pairs, where key - is a number of line, and value - is an indicator of whether line contains executable code (1) or not (0). If a line number is missing in the map it is equivalent to the default value (0).- Since:
- 5.5
- See Also:
FileLinesContext
-
ALERT_STATUS_KEY
public static final java.lang.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 java.lang.String QUALITY_GATE_DETAILS_KEY
- Since:
- 4.4
- See Also:
- Constant Field Values
-
QUALITY_GATE_DETAILS
public static final Metric<java.lang.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
-
QUALITY_PROFILES_KEY
@Deprecated(since="5.5") public static final java.lang.String QUALITY_PROFILES_KEY
Deprecated.since 5.5- Since:
- 4.4
- See Also:
- Constant Field Values
-
QUALITY_PROFILES
@Deprecated(since="5.5") public static final Metric<java.lang.String> QUALITY_PROFILES
Deprecated.since 5.5- Since:
- 4.4
-
LAST_COMMIT_DATE_KEY
public static final java.lang.String LAST_COMMIT_DATE_KEY
- Since:
- 5.2
- See Also:
- Constant Field Values
-
LAST_COMMIT_DATE
public static final Metric LAST_COMMIT_DATE
Date of the most recent commit. Current implementation is based on commits touching lines of source code. It ignores other changes like file renaming or file deletion.- Since:
- 5.2
-
ANALYSIS_FROM_SONARQUBE_9_4_KEY
public static final java.lang.String ANALYSIS_FROM_SONARQUBE_9_4_KEY
- Since:
- 9.4
- See Also:
- Constant Field Values
-
ANALYSIS_FROM_SONARQUBE_9_4
public static final Metric<java.lang.Integer> ANALYSIS_FROM_SONARQUBE_9_4
- Since:
- 9.4 This hidden metric that is only needed to fully fix the issue with identifying new issues when using reference branch that was haunting us in 9.3 and before. More details in the ticket SONAR-16039
-
-