WC_Emailplatform_API S

Total Complexity 30
Dependencies 3
Dependents 1
Total lines 316
Lines of code 137
Logical lines of code 82
Comment lines 98
Methods 13
Properties 7

Methods 13

Method Rating Maintainability Complexity Lines of code
api_request()
S
47 6 35
api_response_validation()
S
61 6 13
get()
S
55 3 19
post()
S
55 2 19
__construct()
S
67 2 8
maybe_log()
S
70 2 5
get_error_code()
S
69 2 7
get_error_message()
S
69 2 7
api_header()
S
70 1 7
reset()
S
77 1 4
format_error()
S
69 1 7
has_api_token()
S
80 1 3
get_last_response()
S
82 1 3