WC_Braintree_API A

Total Complexity 64
Dependencies 24
Dependents 1
Total lines 711
Lines of code 248
Logical lines of code 131
Comment lines 278
Methods 31
Properties 2

Methods 31

Method Rating Maintainability Complexity Lines of code
get_new_request()
A
51 10 24
get_braintree_exception_message()
S
53 7 25
verify_csc()
S
53 7 23
do_remote_request()
S
54 3 22
credit_card_charge()
S
63 3 11
credit_card_authorization()
S
63 3 11
tokenize_payment_method()
S
59 2 16
handle_response()
S
64 3 9
broadcast_request()
S
60 2 12
get_merchant_configuration()
S
65 2 8
is_braintree_auth()
S
79 2 3
get_order()
S
82 1 3
get_request_args()
S
81 1 3
get_request_uri()
S
81 1 3
get_api_id()
S
81 1 3
get_plugin()
S
81 1 3
__construct()
S
81 1 3
supports_get_tokenized_payment_methods()
S
82 1 3
get_nonce_from_payment_token()
S
72 1 5
get_payment_method_from_nonce()
S
72 1 5
supports_remove_tokenized_payment_method()
S
82 1 3
remove_tokenized_payment_method()
S
72 1 5
supports_update_tokenized_payment_method()
S
82 1 3
update_tokenized_payment_method()
S
91 1 2
get_tokenized_payment_methods()
S
72 1 5
void()
S
67 1 8
refund()
S
67 1 8
check_debit()
S
98 1 1
credit_card_capture()
S
67 1 8
get_client_token()
S
69 1 7
get_gateway()
S
82 1 3