ChatAttachmentScanService

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total113 of 79385%27 of 6256%275825198027
retryWithinTransaction(ChatModels.RetryAttachmentScanCommand, String, String)447964%4660%46102701
retryScan(ChatModels.Actor, ChatModels.RetryAttachmentScanCommand)114881%2250%2321101
resultFromAudit(ChatAttachmentScanRetryAuditEntity)81666%1150%121301
hash(String[])71568%n/a012501
completeInfected(ChatAttachmentUploadEntity, ChatAttachmentMalwareScanner.ScanResult, Instant)52281%1150%121501
requireScannedObjectMatch(ChatAttachmentUploadEntity, ChatAttachmentMalwareScanner.ScanResult)52180%4450%451601
listRetryAudits(ChatModels.Actor, Long, int)51979%1150%121601
completeReady(ChatAttachmentUploadEntity, ChatAttachmentMalwareScanner.ScanResult, Instant)51575%1150%121401
requireSameRequest(ChatAttachmentScanRetryAuditEntity, String)5964%2250%231301
truncate(String, int)5861%2250%231301
requireSupportAgent(ChatModels.Actor)5444%1150%121301
lambda$scanBatch$0(ChatAttachmentUploadEntity, TransactionStatus)23093%1150%121801
constantEquals(String, String)21285%2250%231501
scanBatch()4197%1375%1311201
lambda$recordFailure$4(ChatAttachmentUploadEntity, String, String, TransactionStatus)2295%1150%120501
lambda$completeInfected$3(ChatAttachmentUploadEntity, ChatAttachmentMalwareScanner.ScanResult, String, Instant, TransactionStatus)2195%1150%120501
lambda$completeReady$2(ChatAttachmentUploadEntity, ChatAttachmentMalwareScanner.ScanResult, Instant, TransactionStatus)2095%1150%120501
audit(ChatModels.RetryAttachmentScanCommand, String, String, ChatAttachmentUploadEntity, String, String, String, Integer, Instant)55100%n/a0101601
recordFailure(ChatAttachmentUploadEntity, Exception)53100%1375%130901
processClaimed(ChatAttachmentUploadEntity)48100%2100%0201401
toUploadView(ChatAttachmentUploadEntity)31100%n/a0101301
toAuditView(ChatAttachmentScanRetryAuditEntity)28100%n/a0101301
ChatAttachmentScanService(ChatAttachmentUploadMapper, ChatAttachmentScanRetryAuditMapper, ChatAttachmentStorage, ChatAttachmentMalwareScanner, ChatAttachmentStorageProperties, ChatAttachmentScanProperties, TransactionTemplate)24100%n/a010901
persistAudit(ChatAttachmentScanRetryAuditEntity, String)17100%n/a010501
conciseError(Exception)12100%n/a010201
lambda$retryScan$1(ChatModels.RetryAttachmentScanCommand, String, String, TransactionStatus)6100%n/a010101
static {...}4100%n/a010101