-
Home
-
Payment Plugins Braintree For WooCommerce
-
3.2.18
-
Code
-
Classes
- WC_Braintree_Controller_Cart
| Total Complexity |
29 |
| Dependencies |
4 |
| Dependents |
0 |
| Total lines |
348 |
| Lines of code |
225 |
| Logical lines of code |
81 |
| Comment lines |
82 |
| Methods |
9 |
| Properties |
0 |
Methods 9
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| update_shipping_method() |
A |
47 |
7 |
37 |
| update_shipping() |
S |
49 |
4 |
31 |
| update_shipping_address() |
S |
49 |
3 |
33 |
| register_routes() |
S |
44 |
1 |
59 |
| validate_address() |
S |
61 |
3 |
12 |
| get_add_to_cart_args() |
S |
61 |
3 |
12 |
| add_to_cart() |
S |
53 |
2 |
24 |
| has_shipping_methods() |
S |
67 |
3 |
8 |
| get_shipping_method_from_request() |
S |
65 |
3 |
9 |