TranslationTaskApplicationService

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total263 of 2,13687%46 of 23880%3815357475134
lambda$executeDocumentTranslation$0(Document, TranslationTask)7219673%141041%1013135501
lambda$streamTranslateDocumentById$6(Long, SseEmitter, String, String, ObjectMapper)6832082%52583%516148301
lambda$streamTranslateDocument$7(MultipartFile, SseEmitter, String, String, ObjectMapper)6019976%52180%514125801
getTrailingNewline(String)310%100%66101011
getTranslationResult(String)1216493%22893%21644001
countTranslationHistory(Long, String)6960%1150%121301
toHistoryResponse(TranslationHistory)516096%52583%51623501
saveTranslationHistory(TranslationTask, String, String)56692%2675%2511801
lambda$getTranslationHistory$4(TranslationHistory, TranslationHistory)41275%2250%230301
getTranslationHistory(Long, int, int, String)117100%6100%0403101
cleanupStuckTasks()75100%8100%0501701
cancelTask(String, Long)70100%12100%0701501
toTaskStatusResponse(TranslationTask)60100%6100%0401701
createDocumentTask(Long, Document)59100%n/a0101701
getDownloadPath(String, Long)56100%14100%080901
updateTaskProgress(TranslationTask, TranslationStatus, int, String)47100%10100%0601101
startDocumentTranslation(TranslationTask, Document)40100%8100%0501001
readDocumentContent(String, String)31100%4100%030601
TranslationTaskApplicationService(TranslationRepositoryPort, DocumentRepositoryPort, GlossaryRepositoryPort, TranslationStateMachine, TranslationClientPort, TranslationCachePort, RagTranslationApplicationService, EntityConsistencyService, TranslationPostProcessingService)30100%n/a010101
deleteHistory(String, Long)24100%4100%030501
readMultipartFileContent(MultipartFile, String)22100%2100%020501
loadGlossaryTermsForUser(Long, String)20100%n/a010701
streamTranslateDocumentById(Long, String, String)19100%n/a010401
streamTranslateDocument(MultipartFile, String, String, String)19100%n/a010401
generateTaskId()10100%n/a010101
getTaskByTaskId(String)8100%n/a010101
getTaskByDocumentId(Long)8100%n/a010101
executeDocumentTranslation(TranslationTask, Document)7100%n/a010201
shutdown()7100%n/a010301
lambda$getTranslationHistory$5(String, TranslationHistory)5100%n/a010101
lambda$loadGlossaryTermsForUser$1(String, Glossary)5100%n/a010101
static {...}4100%n/a010101
lambda$getTranslationHistory$3(TranslationHistory, TranslationHistory)100%n/a010101
lambda$getTranslationHistory$2(TranslationHistory)100%n/a010101