Total Complexity | 84 |
Dependencies | 7 |
Dependents | 1 |
Total lines | 643 |
Lines of code | 251 |
Logical lines of code | 118 |
Comment lines | 275 |
Methods | 25 |
Properties | 8 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
_call() | 47 | 14 | 33 | |
get() | 48 | 13 | 32 | |
ping() | 51 | 7 | 29 | |
test() | 56 | 5 | 18 | |
should_try_with_http() | 59 | 5 | 15 | |
_init() | 58 | 4 | 15 | |
get_error_code() | 65 | 5 | 10 | |
is_api_result_object() | 68 | 4 | 7 | |
_sync_clock_diff() | 61 | 3 | 13 | |
instance() | 64 | 3 | 8 | |
is_api_error_object() | 70 | 3 | 7 | |
is_api_error() | 75 | 3 | 4 | |
is_api_result_entity() | 75 | 2 | 4 | |
get_cache_key() | 72 | 2 | 4 | |
get_url() | 80 | 1 | 3 | |
clear_cache() | 74 | 1 | 5 | |
get_signed_url() | 81 | 1 | 3 | |
is_valid_ping() | 81 | 1 | 3 | |
is_cached() | 75 | 1 | 4 | |
get_temporary_unavailable_error() | 64 | 1 | 10 | |
is_temporary_down() | 72 | 1 | 5 | |
call() | 79 | 1 | 3 | |
update_cache_expiration() | 72 | 1 | 5 | |
purge_cache() | 72 | 1 | 5 | |
__construct() | 68 | 1 | 6 |