PathUtils

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total131 of 1,57391%32 of 20084%37206282987106
fileContentEquals(Path, Path, LinkOption[], OpenOption[])149887%21890%21122601
readOsFileAttributes(Path, LinkOption[])120%20%222211
setLastModifiedTime(Path, Path)120%n/a113311
lambda$filterPaths$1(PathFilter, Path)9743%3125%230301
setPosixReadOnlyFile(Path, boolean, LinkOption[])83681%1150%1221001
directoryAndFileContentEquals(Path, Path, LinkOption[], OpenOption[], FileVisitOption[])77591%31785%31121901
deleteOnExit(Path)60%n/a112211
getPosixFileAttributeView(Path, LinkOption[])60%n/a111111
readDosFileAttributes(Path, LinkOption[])60%n/a111111
newOutputStream(Path, LinkOption[], OpenOption[])54088%3770%360501
setDosReadOnly(Path, boolean, LinkOption[])5861%1150%122501
readAttributes(Path, Class, LinkOption[])5758%1150%122301
visitFileTree(FileVisitor, URI)50%n/a111111
filterPaths(PathFilter, Stream, Collector)41780%1150%121601
readBasicFileAttributesUnchecked(Path)40%n/a111111
setReadOnly(Path, boolean, LinkOption[])34994%1583%1421201
relativize(Collection, Path, boolean, Comparator)32288%2250%230401
lambda$walk$3(PathFilter, boolean, Path)31280%1375%130101
toFileVisitOptionSet(FileVisitOption[])3872%1150%120101
waitFor(Path, Duration, LinkOption[])24996%6100%0421801
setPosixPermissions(Path, boolean, List, LinkOption[])23294%1583%1411001
filter(PathFilter, Path[])21688%1150%121401
getAclEntryList(Path)21083%1150%120201
getParent(Path)2571%1150%120101
lambda$overrideReadOnly$2(DeleteOption)1685%1150%120101
deleteFile(Path, LinkOption[], DeleteOption[])90100%11794%11002401
static {...}53100%n/a0101101
createParentDirectories(Path, LinkOption, FileAttribute[])39100%8100%050601
requireExists(Path, String, LinkOption[])28100%2100%020401
withPosixFileAttributes(Path, LinkOption[], boolean, IOFunction)27100%2675%250401
touch(Path)24100%2100%020601
writeString(Path, CharSequence, Charset, OpenOption[])19100%n/a010401
exists(Path, LinkOption[])18100%1787%150101
sizeOfAsBigInteger(Path)18100%2100%020201
copyFileToDirectory(URL, Path, CopyOption[])17100%n/a010301
delete(Path, DeleteOption[])17100%2100%020101
sizeOf(Path)17100%2100%020201
isNewer(Path, FileTime, LinkOption[])16100%4100%030301
isOlder(Path, FileTime, LinkOption[])16100%4100%030301
setPosixDeletePermissions(Path, boolean, LinkOption[])16100%n/a010101
copyDirectory(Path, Path, CopyOption[])15100%n/a010301
getBaseName(Path)15100%4100%030401
getFileName(Path, Function)15100%4100%030201
delete(Path, LinkOption[], DeleteOption[])14100%2100%020101
deleteDirectory(Path, DeleteOption[])14100%n/a010201
deleteDirectory(Path, LinkOption[], DeleteOption[])13100%n/a010101
isEmptyDirectory(Path)13100%2100%020201
lambda$deleteDirectory$0(LinkOption[], DeleteOption[], Path, PosixFileAttributes)13100%n/a010101
cleanDirectory(Path, DeleteOption[])12100%n/a010101
isPosix(Path, LinkOption[])12100%1375%130101
readIfSymbolicLink(Path)12100%4100%030101
copy(IOSupplier, Path, CopyOption[])11100%n/a010201
copyFile(URL, Path, CopyOption[])11100%n/a010201
directoryContentEquals(Path, Path, int, LinkOption[], FileVisitOption[])11100%n/a010101
getLastModifiedFileTime(Path, FileTime, LinkOption[])11100%2100%020101
isEmpty(Path)11100%2100%020101
getExtension(Path)10100%2100%020201
isDirectory(Path, LinkOption[])10100%4100%030101
isNewer(Path, ChronoZonedDateTime, LinkOption[])10100%n/a010201
isRegularFile(Path, LinkOption[])10100%4100%030101
isEmptyFile(Path)9100%2100%020101
isNewer(Path, Path)9100%n/a010101
isOlder(Path, Path)9100%n/a010101
newOutputStream(Path, boolean)9100%2100%020101
overrideReadOnly(DeleteOption[])9100%2100%020301
walk(Path, PathFilter, int, boolean, FileVisitOption[])9100%n/a010201
accumulate(Path, int, FileVisitOption[])8100%n/a010101
copyFileToDirectory(Path, Path, CopyOption[])8100%n/a010101
readString(Path, Charset)8100%n/a010101
visitFileTree(FileVisitor, Path, Set, int)8100%n/a010201
directoryAndFileContentEquals(Path, Path)7100%n/a010101
directoryContentEquals(Path, Path)7100%n/a010101
getLastModifiedTime(Path, LinkOption[])7100%n/a010101
newDirectoryStream(Path, PathFilter)7100%n/a010101
notExists(Path, LinkOption[])7100%n/a010101
compareLastModifiedTimeTo(Path, FileTime, LinkOption[])6100%n/a010101
countDirectory(Path)6100%n/a010101
countDirectoryAsBigInteger(Path)6100%n/a010101
fileContentEquals(Path, Path)6100%n/a010101
getAclFileAttributeView(Path, LinkOption[])6100%n/a010101
getDosFileAttributeView(Path, LinkOption[])6100%n/a010101
getLastModifiedFileTime(File)6100%n/a010101
getLastModifiedFileTime(URI)6100%n/a010101
isNewer(Path, Instant, LinkOption[])6100%n/a010101
isNewer(Path, long, LinkOption[])6100%n/a010101
isOlder(Path, Instant, LinkOption[])6100%n/a010101
isOlder(Path, long, LinkOption[])6100%n/a010101
readBasicFileAttributes(Path)6100%n/a010101
readPosixFileAttributes(Path, LinkOption[])6100%n/a010101
sizeOfDirectory(Path)6100%n/a010101
visitFileTree(FileVisitor, Path)6100%n/a010201
visitFileTree(FileVisitor, String, String[])6100%n/a010101
createParentDirectories(Path, FileAttribute[])5100%n/a010101
current()5100%n/a010101
deleteFile(Path, DeleteOption[])5100%n/a010101
getFileNameString(Path)5100%n/a010101
getLastModifiedFileTime(Path, LinkOption[])5100%n/a010101
getTempDirectory()5100%n/a010101
readBasicFileAttributes(Path, LinkOption[])5100%n/a010101
sizeOfDirectoryAsBigInteger(Path)5100%n/a010101
cleanDirectory(Path)4100%n/a010101
delete(Path)4100%n/a010101
deleteDirectory(Path)4100%n/a010101
deleteFile(Path)4100%n/a010101
getLastModifiedFileTime(URL)4100%n/a010101
noFollowLinkOptionArray()4100%n/a010101