]> source.dussan.org Git - sonarqube.git/commit
SONAR-926 Optimize computation of file inclusion/exclusion
authorJulien HENRY <julien.henry@sonarsource.com>
Mon, 10 Feb 2014 11:31:25 +0000 (12:31 +0100)
committerJulien HENRY <julien.henry@sonarsource.com>
Mon, 10 Feb 2014 11:31:25 +0000 (12:31 +0100)
commitb024967c94f74f6551494ae95bf4f5e75e762cfb
tree8029a889f6b1ba1ce3ac05361ce7328c5f97833e
parent34838cfbfe1d9c95fb935b3ed09d7e257a909c74
SONAR-926 Optimize computation of file inclusion/exclusion
  * only browse FS once for both MAIN and TEST
  * put patterns in cache
  * don't build InputFile if file is excluded
sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/ExclusionFilters.java
sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/FileIndex.java
sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/PathPattern.java
sonar-batch/src/test/java/org/sonar/batch/scan/filesystem/ExclusionFiltersTest.java