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

ProjectFileSystem should exclude test files when test directory is inside source directory

    XMLWordPrintable

    Details

      Description

      In some projects using ant or other build tool than maven, test directorry may sometime be located in a sub folder of src/main/[language] directory.
      These tests should be ingored in source code analysis or metric count.
      So it would be nice if the ProjectFileSystem API only returns files excluding those contained in tests directory.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              freddy.mallet Freddy Mallet (Inactive)
              Reporter:
              akram Akram Ben Aissi
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: