WC_braintree_payment_gateway S

Total Complexity 36
Dependencies 5
Dependents 0
Total lines 370
Lines of code 296
Logical lines of code 100
Comment lines 40
Methods 9
Properties 0

Methods 9

Method Rating Maintainability Complexity Lines of code
process_payment()
A
38 9 73
payment_scripts()
S
47 6 33
checks()
S
58 6 13
__construct()
S
53 5 20
init_form_fields()
S
41 1 74
is_available()
S
66 4 9
get_braintree_api()
S
60 3 14
payment_fields()
S
53 1 37
admin_options()
S
59 1 23