WC_Braintree_CC_Payment_Gateway A

Total Complexity 65
Dependencies 3
Dependents 0
Total lines 421
Lines of code 296
Logical lines of code 101
Comment lines 79
Methods 25
Properties 3

Methods 25

Method Rating Maintainability Complexity Lines of code
add_transaction_attributes()
A
53 9 21
wcs_add_payment_method_args()
S
59 7 14
initialize_3ds()
S
59 6 12
should_display_street()
S
64 6 9
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
has_enqueued_scripts()
S
70 3 6
use_saved_method()
S
71 3 6
get_hosted_form_styles()
S
63 3 10
is_postal_code_enabled()
S
66 3 8
get_localized_params()
S
57 1 20
_3ds_validation_active()
S
78 2 3
_3ds_enabled()
S
72 2 6
_3ds_active()
S
78 2 3
use_3ds_vaulted_nonce()
S
77 2 3
get_icon()
S
64 2 10
__construct()
S
62 1 11
_3ds_reject_order()
S
79 1 3
output_display_items()
S
68 1 8
_3ds_authorize_order()
S
72 1 5
is_custom_form_active()
S
79 1 3
add_hooks()
S
65 1 8
get_payment_method_from_transaction()
S
82 1 3