WR_Abstract_Client S

Total Complexity 49
Dependencies 3
Dependents 0
Total lines 672
Lines of code 178
Logical lines of code 84
Comment lines 352
Methods 45
Properties 4

Methods 45

Method Rating Maintainability Complexity Lines of code
request()
S
52 5 25
prepare_headers()
S
62 1 12
load_user_agent()
S
81 1 3
set_body()
S
79 1 3
prepare_result()
S
78 1 3
init_client()
S
80 1 3
close_client()
S
81 1 3
test_client()
S
80 1 3
set_options()
S
80 1 3
set_headers()
S
79 1 3
set_target()
S
79 1 3
set_method()
S
79 1 3
prepare_request()
S
71 1 6
prepare_target()
S
80 1 3
get_response()
S
80 1 3
get_error()
S
80 1 3
get_status()
S
79 1 3
http_error()
S
79 1 3
send_get()
S
79 1 3
send_post()
S
79 1 3
send_put()
S
79 1 3
send_delete()
S
79 1 3
prepare_body()
S
80 1 3
prepare_options()
S
67 1 8
load_home_url()
S
80 1 3
header_content_json()
S
79 1 3
generate_trace_id()
S
77 1 4
get_last_trace_id()
S
82 1 3
load_locale()
S
72 1 5
load_base_uri()
S
81 1 3
build_header()
S
79 1 3
header_user_agent()
S
79 1 3
header_authorization()
S
78 1 3
header_trace_id()
S
79 1 3
header_accept_json()
S
79 1 3
load_token()
S
81 1 3
header_accept_lang()
S
79 1 3
header_shop_system()
S
79 1 3
header_shop_url()
S
79 1 3
option_connecttimeout()
S
81 1 3
option_timeout()
S
81 1 3
option_verbose()
S
81 1 3
encode_body()
S
80 1 3
decode_body()
S
78 1 3
__construct()
S
77 1 4