WC_Yoco_Blackbird_API A

Total Complexity 68
Dependencies 4
Dependents 4
Total lines 380
Lines of code 242
Logical lines of code 108
Comment lines 79
Methods 16
Properties 2

Methods 16

Method Rating Maintainability Complexity Lines of code
request()
A
43 11 44
get_key_errors()
A
49 11 31
wp_error_for_response()
A
55 10 20
create_customer()
S
55 6 20
initiate_payment()
S
55 5 19
key_environment()
S
59 5 15
log_request_error()
S
49 4 29
keys_look_correct()
S
65 4 10
get_merchant_detail()
S
64 4 9
validate_keys()
S
59 2 15
set_keys()
S
76 1 4
get_public_key()
S
80 1 3
get_redacted_secret_key()
S
73 1 4
sanitize_args()
S
69 1 6
is_response_code_final()
S
66 1 10
get_payment()
S
77 1 3