Uploaded image for project: 'Build'
  1. Build
  2. BUILD-542

Experiment with Sonarqube

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Obsolete
    • Icon: Neutral Neutral
    • None
    • None
    • None

      It could either run on PRs such as here: https://github.com/apache/jackrabbit-filevault/pull/167#issuecomment-924846894

      Or on our codebase in general. There, we would need a strategy to tackle issues and not simply get reports about them.

      Sonarqube supports Bitbucket Server: https://docs.sonarqube.org/latest/analysis/bitbucket-integration/

      Unliked SonarCloud, Sonarqube can be run locally: https://docs.sonarqube.org/latest/setup/get-started-2-minutes/

      We need to set it up on a developer's machine and get a feel for what’s possible with it. Sonarqube offers standard quality checks. mgeljic can also help when it comes to enforcing simple policies such as Lombok usage.

      Only in a second step should we look into writing custom checks, possibly across modules (e.g. code in pages should have test coverage in CE as well).

        Acceptance criteria

              cmeier Christoph Meier
              mmichel Maxime Michel
              Foundation
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 3d 0.5h
                  3d 0.5h