DirectoryScanner

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,329 of 2,3290%310 of 3100%2382384734738383
checkIncludePatterns()2840%660%3434666611
scandir(File, TokenizedPath, boolean, String[], Deque)2710%480%2525525211
scan()2360%420%2222525211
slowScan()1370%180%1010333311
static {...}1260%n/a116611
causesIllegalSymlinkLoop(String, File, Deque)1140%160%99232311
DirectoryScanner()660%n/a11181811
scandir(File, TokenizedPath, boolean)630%80%55121211
fillNonPatternSet(Map, String[])560%60%447711
clearResults()550%20%22121211
processIncluded(TokenizedPath, File, List, List, List)500%100%66121211
processSlowScan(String[])400%60%445511
resetDefaultExcludes()300%20%226611
addExcludes(String[])300%80%557711
accountForIncludedDir(TokenizedPath, File, boolean, String[], Deque)280%60%444411
isIncluded(TokenizedPath)280%60%446611
isExcluded(TokenizedPath)280%60%446611
getIncludedFiles()280%20%227711
getIncludedDirectories()280%20%227711
accountForIncludedDir(TokenizedPath, File, boolean)260%60%444411
accountForNotFollowedSymlink(TokenizedPath, File)260%100%664411
normalizePattern(String)230%20%225511
shouldSkipPattern(String)230%80%558811
ensureNonPatternSetsReady()230%20%225511
addDefaultExcludes()210%20%225511
couldHoldIncluded(TokenizedPath, TokenizedPattern)200%60%443311
isMorePowerfulThanExcludes(String)200%n/a113311
getNotFollowedSymlinks()200%n/a115511
setBasedir(String)170%20%223311
setIncludes(String[])160%20%225511
setExcludes(String[])160%20%225511
isSelected(String, File)160%40%332211
clearCaches()160%n/a116611
couldHoldIncluded(TokenizedPath)150%n/a113311
getDefaultExcludes()130%n/a113311
isDeeper(TokenizedPattern, TokenizedPath)130%40%332211
contentsExcluded(TokenizedPath)120%n/a114411
getIncludedFilesCount()120%20%223311
getIncludedDirsCount()120%20%223311
accountForIncludedFile(TokenizedPath, File)110%n/a112211
getNotIncludedFiles()110%n/a112211
getExcludedFiles()110%n/a112211
getDeselectedFiles()110%n/a112211
getNotIncludedDirectories()110%n/a112211
getExcludedDirectories()110%n/a112211
getDeselectedDirectories()110%n/a112211
addDefaultExclude(String)100%n/a112211
removeDefaultExclude(String)100%n/a112211
scandir(File, String, boolean)90%n/a112211
hasBeenScanned(String)90%20%221111
accountForNotFollowedSymlink(String, File)80%n/a112211
lambda$addDefaultExcludes$9(String)80%n/a112211
isIncluded(String)70%n/a111111
couldHoldIncluded(String)70%n/a111111
isExcluded(String)70%n/a111111
getResource(String)70%n/a111111
lambda$isSelected$8(String, File, FileSelector)70%n/a111111
lambda$isExcluded$7(TokenizedPath, TokenizedPattern)60%n/a111111
lambda$contentsExcluded$6(TokenizedPath, TokenizedPattern)60%n/a111111
lambda$isIncluded$3(TokenizedPath, TokenizedPattern)60%n/a111111
matchPatternStart(String, String, boolean)50%n/a111111
matchPath(String, String, boolean)50%n/a111111
match(String, String, boolean)50%n/a111111
lambda$couldHoldIncluded$4(TokenizedPath, TokenizedPattern)50%n/a111111
matchPatternStart(String, String)40%n/a111111
matchPath(String, String)40%n/a111111
match(String, String)40%n/a111111
setBasedir(File)40%n/a112211
setCaseSensitive(boolean)40%n/a112211
setErrorOnMissingDir(boolean)40%n/a112211
setFollowSymlinks(boolean)40%n/a112211
setMaxLevelsOfSymlinks(int)40%n/a112211
setSelectors(FileSelector[])40%n/a112211
lambda$contentsExcluded$5(TokenizedPattern)40%n/a111111
getBasedir()30%n/a111111
isCaseSensitive()30%n/a111111
isFollowSymlinks()30%n/a111111
isEverythingIncluded()30%n/a111111
getScannedDirs()30%n/a111111
lambda$addDefaultExcludes$10(int)30%n/a111111
lambda$addExcludes$2(int)30%n/a111111
lambda$setExcludes$1(int)30%n/a111111
lambda$setIncludes$0(int)30%n/a111111