Enum CobolMetrics

    • Enum Constant Detail

      • PARAGRAPHS

        public static final CobolMetrics PARAGRAPHS
        Deprecated.
      • PUBLIC_API

        public static final CobolMetrics PUBLIC_API
        Deprecated.
      • PUBLIC_DOC_API

        public static final CobolMetrics PUBLIC_DOC_API
        Deprecated.
      • LINES_OF_CODE

        public static final CobolMetrics LINES_OF_CODE
        Deprecated.
      • STATEMENTS

        public static final CobolMetrics STATEMENTS
        Deprecated.
      • COMMENT_BLANK_LINES

        public static final CobolMetrics COMMENT_BLANK_LINES
        Deprecated.
      • COMMENT_LINES

        public static final CobolMetrics COMMENT_LINES
        Deprecated.
      • COMPLEXITY

        public static final CobolMetrics COMPLEXITY
        Deprecated.
      • GENERATED_LINES_OF_CODE

        public static final CobolMetrics GENERATED_LINES_OF_CODE
        Deprecated.
      • GENERATED_LINES

        public static final CobolMetrics GENERATED_LINES
        Deprecated.
    • Method Detail

      • values

        public static CobolMetrics[] values()
        Deprecated.
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CobolMetrics c : CobolMetrics.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CobolMetrics valueOf​(String name)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getInitValue

        public double getInitValue()
        Deprecated.
      • getName

        public String getName()
        Deprecated.
        Specified by:
        getName in interface org.sonar.squid.measures.MetricDef
      • isCalculatedMetric

        public boolean isCalculatedMetric()
        Deprecated.
        Specified by:
        isCalculatedMetric in interface org.sonar.squid.measures.MetricDef
      • aggregateIfThereIsAlreadyAValue

        public boolean aggregateIfThereIsAlreadyAValue()
        Deprecated.
        Specified by:
        aggregateIfThereIsAlreadyAValue in interface org.sonar.squid.measures.MetricDef
      • isThereAggregationFormula

        public boolean isThereAggregationFormula()
        Deprecated.
        Specified by:
        isThereAggregationFormula in interface org.sonar.squid.measures.MetricDef
      • getCalculatedMetricFormula

        public org.sonar.squid.measures.CalculatedMetricFormula getCalculatedMetricFormula()
        Deprecated.
        Specified by:
        getCalculatedMetricFormula in interface org.sonar.squid.measures.MetricDef
      • getAggregationFormula

        public org.sonar.squid.measures.AggregationFormula getAggregationFormula()
        Deprecated.