-
Home
-
Shipping Zones by Drawing for WooCommerce
-
2.8.5
-
Code
-
Classes
- WC_SZBD_Shipping_Method
Total Complexity |
103 |
Dependencies |
4 |
Dependents |
2 |
Total lines |
888 |
Lines of code |
668 |
Logical lines of code |
223 |
Comment lines |
37 |
Methods |
18 |
Properties |
1 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
calculate_shipping() |
C |
35 |
28 |
73 |
init_form_fields() |
B |
24 |
8 |
251 |
maybe_geolocate_address() |
A |
40 |
14 |
64 |
get_store_address_latlng_string() |
A |
40 |
10 |
63 |
init() |
A |
43 |
8 |
44 |
fee() |
S |
54 |
6 |
22 |
evaluate_cost() |
S |
47 |
5 |
36 |
find_shipping_classes() |
S |
61 |
4 |
13 |
sanitize_cost() |
S |
55 |
3 |
20 |
get_package_item_qty() |
S |
64 |
4 |
9 |
get_package_item_weight() |
S |
64 |
4 |
9 |
get_api() |
S |
67 |
3 |
7 |
get_all_categories() |
S |
55 |
1 |
20 |
__construct() |
S |
58 |
1 |
16 |
clear_transients() |
S |
75 |
1 |
4 |
get_geocode_request() |
S |
73 |
1 |
5 |
get_shipping_address_string() |
S |
69 |
1 |
6 |
get_customer_address_string() |
S |
69 |
1 |
6 |