WC_Gateway_Braintree_AngellEYE D

Total Complexity 521
Dependencies 20
Dependents 1
Total lines 2,649
Lines of code 2,523
Logical lines of code 1,265
Comment lines 21
Methods 61
Properties 1

Methods 61

Method Rating Maintainability Complexity Lines of code
angelleye_do_payment()
D
13
71 280
payment_fields()
D
16
37 495
process_subscription_payment()
D
26
43 120
get_user_message()
C
39 26 56
process_refund()
B
36 22 78
braintree_save_payment_method_auth()
B
33 19 94
braintree_create_payment_method()
B
38 16 77
braintree_create_payment_method_auth()
B
38 16 66
angelleye_braintree_get_merchant_account_id()
B
42 16 49
woocommerce_admin_order_data_after_order_details()
A
41 14 55
__construct()
A
36 13 70
get_softdescriptor()
A
46 13 38
braintree_save_payment_method()
A
39 11 68
angelleye_save_payment_auth()
A
48 12 32
init_form_fields()
A
29
1 186
subscription_process_payment()
A
42 9 54
angelleye_reload_gateway_credentials_for_woo_subscription_renewal_order()
A
52 11 21
braintree_create_customer_auth()
A
50 10 25
braintree_create_customer()
A
50 10 25
get_failure_status_info()
A
48 9 33
pfw_braintree_do_capture()
A
48 8 35
get_message()
A
44 7 44
validate_fields()
A
51 8 27
get_braintree_exception_message()
S
53 7 25
admin_options()
S
44 3 70
get_token_by_token()
S
53 6 23
get_transaction_url()
S
53 6 22
get_posted_card()
S
54 6 19
add_payment_method()
S
50 5 32
checks()
S
60 6 12
add_log()
S
59 5 15
get_success_status_info()
S
58 5 15
angelleye_display_mid_ui()
S
50 4 29
is_available()
S
66 5 9
angelleye_store_card_info()
S
61 4 13
angelleye_braintree_encrypt_gateway_api()
S
61 4 11
process_payment()
S
56 3 19
is_subscription()
S
77 4 3
payment_scripts()
S
58 3 14
generate_merchant_account_id_html()
S
52 2 27
angelleye_braintree_credit_card_form_fields()
S
54 2 21
get_validation_errors()
S
66 3 9
get_missing_dependencies()
S
66 3 9
send_failed_order_email()
S
70 3 6
save_payment_token()
S
69 3 6
angelleye_braintree_lib()
S
61 2 12
add_dependencies_admin_notices()
S
62 2 11
get_risk_id()
S
79 2 3
get_risk_decision()
S
79 2 3
adjust_fraud_script_tag()
S
70 2 6
get_braintree_options()
S
77 2 3
angelleye_update_settings()
S
67 2 8
get_status_message()
S
70 2 7
get_posted_variable()
S
77 2 3
get_status_code()
S
70 2 7
has_validation_errors()
S
79 2 3
has_risk_data()
S
80 1 3
multibyte_loaded()
S
80 1 3
save_payment_method_checkbox()
S
68 1 8
get_dependencies()
S
78 1 3
field_name()
S
78 1 3