# DocumentApplicationService

Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods
Total | 224 of 524 | 57% | 22 of 44 | 50% | 16 | 37 | 55 | 118 | 3 | 15
uploadDocument(Long, MultipartFile, DocumentTranslationRequest) |  | 0% |  | 0% | 4 | 4 | 23 | 23 | 1 | 1
cancelTranslation(Long, Long) |  | 0% |  | 0% | 6 | 6 | 16 | 16 | 1 | 1
uploadAndStartTranslation(Long, MultipartFile, DocumentTranslationRequest) |  | 0% |  | 0% | 2 | 2 | 13 | 13 | 1 | 1
resolveProgress(Document) |  | 96% |  | 80% | 2 | 6 | 1 | 11 | 0 | 1
toDocumentInfoResponse(Document) |  | 98% |  | 83% | 1 | 4 | 1 | 20 | 0 | 1
lambda$deleteDocument$1(Long, Document) |  | 93% |  | n/a | 0 | 1 | 1 | 5 | 0 | 1
lambda$getRealProgress$3(TranslationTask) |  | 90% |  | 50% | 1 | 2 | 0 | 1 | 0 | 1
lambda$retryTranslation$2(Long, Document) |  | 100% |  | 100% | 0 | 2 | 0 | 13 | 0 | 1
getUserDocuments(Long, String) |  | 100% |  | 100% | 0 | 3 | 0 | 6 | 0 | 1
getRealProgress(Document) |  | 100% |  | 100% | 0 | 2 | 0 | 5 | 0 | 1
DocumentApplicationService(DocumentRepositoryPort, TranslationRepositoryPort, TranslationStateMachine, CollabPort, TranslationTaskPort) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
deleteDocument(Long, Long) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
retryTranslation(Long, Long) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
getDocumentById(Long, Long) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
lambda$getUserDocuments$0(String, Document) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1