Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-5682

Drop the APIs that were deprecated in versions 3.x

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0
    • Component/s: Plugin API
    • Labels:
      None

      Description

      The classes to be removed are :

      • org.sonar.api.batch
        • AbstractCoverageExtension
        • AbstractDirectoriesDecorator
        • AbstractFileComplexityDecorator
        • AbstractFilesDecorator
        • AbstractFunctionComplexityDecorator
        • AbstractFunctionComplexityDistributionDecorator
        • FileFilter
      • org.sonar.api.measures
        • AverageComplexityFormula
        • CoreMetrics#COMMENT_BLANK_LINES
        • CoreMetrics#CLASS_COMPLEXITY_DISTRIBUTION
        • CoreMetrics#ABSTRACTNESS
        • CoreMetrics#INSTABILITY
        • CoreMetrics#DISTANCE
        • CoreMetrics#AFFERENT_COUPLINGS
        • CoreMetrics#EFFERENT_COUPLINGS
        • CoreMetrics#UNREVIEWED_VIOLATIONS
        • CoreMetrics#NEW_UNREVIEWED_VIOLATIONS
        • CoreMetrics#FALSE_POSITIVE_REVIEWS
        • CoreMetrics#ACTIVE_REVIEWS
        • CoreMetrics#UNASSIGNED_REVIEWS
        • CoreMetrics#UNPLANNED_REVIEWS
        • CoreProperties#REUSE_RULES_CONFIGURATION_PROPERTY
        • CoreProperties#CORE_TENDENCY_DEPTH_PROPERTY and CORE_TENDENCY_DEPTH_DEFAULT_VALUE
        • CoreProperties#CPD_MINIMUM_TOKENS_PROPERTY
      • org.sonar.api.resources.DefaultProjectFileSystem
      • org.sonar.api.web
        • GwtExtension
        • GwtPage
      • org.sonar.api.utils.Logs

      Exception for org.sonar.api.rules.Violation which was deprecated in 3.6. I think a lot of plugins still rely on it.

        Attachments

          Activity

            People

            • Assignee:
              simon.brandhof Simon Brandhof (Inactive)
              Reporter:
              simon.brandhof Simon Brandhof (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: