Lingotek_API D

Total Complexity 176
Dependencies 2
Dependents 9
Total lines 1,141
Lines of code 852
Logical lines of code 404
Comment lines 196
Methods 43
Properties 5

Methods 43

Method Rating Maintainability Complexity Lines of code
request_translation()
B
37 18 72
patch_document()
A
36 13 82
get_translation()
A
43 11 49
cancel_translation()
A
44 10 45
cancel_document()
A
41 9 58
update_lingotek_error_option_for_translation()
A
46 9 41
update_lingotek_error_option()
A
46 9 40
get_translations_status()
S
49 7 30
upload_document()
S
47 5 34
update_patch_error_message()
S
56 6 17
log_error_on_response_failure()
S
59 6 15
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_document()
S
65 3 8
get_filters()
S
72 3 4
get_communities()
S
72 3 4
get_document_count()
S
62 3 10
get_document_status()
S
63 3 9
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