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

Cobertura can be executed even if project language not Java

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.3
    • Component/s: None
    • Labels:
      None

      Description

      CoberturaSensor:

      public boolean shouldExecuteOnProject(Project project) {
        return !project.getFileSystem().mainFiles(Java.KEY).isEmpty();
      }
      

      If this was done on purpose, then would be interesting to know reason, but I can't imagine such.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fabemn OLD - Fabrice Bellingard
              Reporter:
              godin OLD - Evgeny Mandrikov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: