WC_Braintree_Manager A

Total Complexity 54
Dependencies 11
Dependents 1
Total lines 466
Lines of code 271
Logical lines of code 159
Comment lines 117
Methods 28
Properties 15

Methods 28

Method Rating Maintainability Complexity Lines of code
woocommerce_init()
A
33 8 112
validate_install()
S
65 6 8
is_request()
S
69 5 6
generate_client_token()
S
58 3 15
gateway()
S
62 3 11
admin_includes()
S
64 3 10
other_braintree_plugins()
S
61 2 14
dependency_check()
S
62 2 12
scripts()
S
71 2 6
instance()
S
71 2 6
includes()
S
64 1 11
add_hooks()
S
72 1 5
__get()
S
80 1 3
payment_gateways()
S
82 1 3
__clone()
S
78 1 3
__wakeup()
S
78 1 3
packages()
S
72 1 5
set_version()
S
91 1 2
plugin_name()
S
82 1 3
template_path()
S
80 1 3
plugin_path()
S
82 1 3
plugin_validations()
S
78 1 4
plugins_loaded()
S
75 1 4
__set()
S
80 1 3
rest_uri()
S
82 1 3
rest_url()
S
79 1 3
assets_path()
S
82 1 3
__construct()
S
70 1 7