WC_Braintree_CC_Payment_Gateway A

Total Complexity 68
Dependencies 3
Dependents 0
Total lines 447
Lines of code 311
Logical lines of code 106
Comment lines 88
Methods 26
Properties 3

Methods 26

Method Rating Maintainability Complexity Lines of code
add_transaction_attributes()
A
52 9 23
initialize_3ds()
S
56 8 15
wcs_add_payment_method_args()
S
59 7 14
should_display_street()
S
64 6 9
get_icon()
S
57 3 18
enqueue_checkout_scripts()
S
50 2 33
get_custom_form_fields()
S
46 1 43
payment_methods_list_item()
S
59 3 12
localize_form_params()
S
47 1 36
get_hosted_form_styles()
S
63 3 10
has_enqueued_scripts()
S
70 3 6
use_saved_method()
S
71 3 6
is_postal_code_enabled()
S
66 3 8
get_localized_params()
S
57 1 20
_3ds_active()
S
78 2 3
_3ds_validation_active()
S
78 2 3
use_3ds_vaulted_nonce()
S
77 2 3
__construct()
S
62 1 11
is_custom_form_active()
S
79 1 3
output_display_items()
S
68 1 8
_3ds_reject_order()
S
76 1 4
_3ds_accept_order()
S
75 1 4
get_payment_method_from_transaction()
S
82 1 3
add_hooks()
S
65 1 8
_3ds_enabled()
S
80 1 3
_3ds_authorize_order()
S
72 1 5