RepositoryServiceImpl

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total973 of 3,15969%113 of 29061%952162076611671
updateMetadata(List)2170%320%1717494911
addMissingHashSums()830%40%33181811
removeFileIfPossible(RepositoryFile)820%80%55222211
lambda$addMissingHashSums$0(RepositoryFile, InputStream)560%60%44141411
addFile(Path, String, String, InputStream, RepositoryFile)530%40%339911
fillImageProperties(RepositoryImage, File)442334%2466%24132001
updateBytes(RepositoryFile, String, InputStream)440%20%227711
extractZip(RepositoryFile)3910572%3975%3783001
ensureFolder(Path, AclAwareModel)318473%7750%6852501
lambda$scanBytes$6(RepositoryServiceImpl.ThrowableHolder, RepositoryFile, InputStream)310%n/a116611
generateThumbnails(RepositoryImage)2814283%1583%1441701
scanBytes(RepositoryFile)240%40%336611
moveAndRenameFile(RepositoryFile, Path)185274%3562%3531401
renamePath(Path, Path)1615290%41071%3823501
ensureFolder(Path)167582%5964%4822201
detectContentType(String, File)153066%2675%2541201
lambda$copySecurityData$8(AclAwareModel, SidPermissions)140%n/a113311
getThumbnail(Path, String, String, RepositoryFile)1310789%1787%1542601
moveFile(RepositoryFile, Path)132969%2466%2421001
addFile(Path, String, String, File, RepositoryFile)1215892%32990%31744501
copySecurityData(AclAwareModel, AclAwareModel)124277%3125%232801
_removeImage(RepositoryImage)123876%2100%0241301
streamFileBytes(RepositoryFile, OutputStream)111659%1150%122601
tryDelete(File)111047%1150%123701
addImage(Path, String, String, byte[], RepositoryImage)90%n/a111111
removeFile(RepositoryFile)83280%2675%2521101
listFolders(Path, Pageable)73282%1375%130601
ensureThumbnails(RepositoryImage)7750%1150%121401
updateImageBytes(RepositoryImage, String, byte[])70%n/a111111
lambda$updateMetadata$7(RepositoryFile, RepositoryFile)60%n/a111111
getFolderAsZip(RepositoryFolder, OutputStream, int)54590%1150%121801
getFile(UUID, int)51066%1150%121401
updateImageMetadata(RepositoryImage)50%n/a111111
removeImage(RepositoryImage)50%n/a111111
lambda$streamFileBytes$4(OutputStream, RepositoryServiceImpl.ThrowableHolder, InputStream)4866%n/a012601
lambda$extractZip$5()40%n/a111111
lambda$ensureThumbnails$1(RepositoryImage)40%n/a111111
getFolders(Path, Sort)23694%2466%240601
writeToZip(ZipOutputStream, RepositoryFolder, Path)109100%4100%0302301
updateBytes(RepositoryFile, String, File)79100%4100%0301501
ensureThumbnail(Integer, Integer, String, RepositoryImage, RepositoryServiceImpl.IImageBytesProvider)76100%2100%0201001
updateDigests(RepositoryFile, File)60100%2100%0201301
addFile(Path, String, String, byte[], RepositoryFile)52100%1375%130901
updateBytes(RepositoryFile, String, byte[])43100%1150%120701
updateMetadata(RepositoryFile)39100%4100%030701
deleteFolder(Path)38100%2466%240801
getFile(Path, String)34100%4100%030801
lambda$generateThumbnails$3(int, byte[][], RepositoryImage)34100%4100%030501
lambda$generateThumbnails$2(int, byte[][], RepositoryImage)34100%4100%030501
updateFolder(RepositoryFolder)30100%2100%020601
getThumbnailFilename(Integer, Integer, String)29100%4100%030801
getAllSubFolders(RepositoryFolder, List)28100%2100%020601
listPathsRecursively(Path)26100%2100%020701
addAllSubfolders(RepositoryFolder, ArrayList)26100%2466%240601
getFolderAsZip(RepositoryFolder, OutputStream)24100%n/a010601
listFiles(Path, Pageable)22100%2100%020401
hasPath(Path)21100%n/a010501
getFiles(Path, Sort)18100%2100%020401
streamFiles(Path, Sort)18100%n/a010301
getFile(UUID)16100%2100%020401
afterPropertiesSet()13100%n/a010301
listImages(Path, Sort)12100%n/a010101
RepositoryServiceImpl()11100%n/a010201
getFileBytes(RepositoryFile)11100%2100%020201
getFullThumbnailsPath(RepositoryImage)10100%n/a010101
getFolder(Path)10100%n/a010201
lazyLoad(RepositoryFile)8100%1150%120301
lambda$getThumbnail$9(int, int)7100%2100%020101
setThumbnailSizes(int[])6100%n/a010301
getFolder(UUID)5100%n/a010101
static {...}4100%n/a010101