Lingotek_API D

Total Complexity 189
Dependencies 2
Dependents 9
Total lines 1,185
Lines of code 890
Logical lines of code 436
Comment lines 203
Methods 43
Properties 5

Methods 43

Method Rating Maintainability Complexity Lines of code
request_translation()
B
34 22 88
patch_document()
B
34 16 91
get_translation()
A
43 11 49
cancel_translation()
A
43 10 48
cancel_document()
A
41 9 58
update_lingotek_error_option_for_translation()
A
46 9 41
update_lingotek_error_option()
A
46 9 40
update_patch_error_message()
A
55 8 17
get_translations_status()
A
48 7 31
upload_document()
S
46 6 38
log_error_on_response_failure()
S
59 6 15
get_document_status()
S
57 6 14
get_projects()
S
58 4 15
create_project()
S
51 3 29
get_document_ids()
S
60 4 12
get_documents()
S
60 4 12
request_professional_translation()
S
50 2 33
get_translation_status()
S
56 3 18
get_error_message_from_response()
S
67 4 7
request_professional_translation_bulk()
S
51 2 30
__construct()
S
60 3 12
get_workflows()
S
61 3 12
get_vaults()
S
61 3 12
get_token_details()
S
53 2 25
get_communities()
S
72 3 4
get_filters()
S
72 3 4
get_document_count()
S
62 3 10
get_document()
S
65 3 8
get_document_content()
S
65 3 8
get_cost_estimate()
S
55 1 22
get_connect_url()
S
66 2 8
get_response_body_from_bridge()
S
74 2 4
get_workflow_id()
S
78 2 3
update_callback_url()
S
65 2 7
format_args_for_upload()
S
61 1 12
get_user_payment_information()
S
62 1 11
get_lingotek_terms_and_conditions()
S
62 1 11
get_new_url()
S
71 1 5
get_language_mappings()
S
72 1 5
upload_filter()
S
66 1 8
start_bridge_call()
S
70 1 6
end_bridge_call()
S
75 1 4
get_api_url()
S
82 1 3