-
Home
-
EasyParcel – All-in-one Shipping Solution, Real-Time Shipping Rates
-
1.0.14 (latest)
-
Code
-
Classes
- EP_Shipping_Zone
Total Complexity |
72 |
Dependencies |
4 |
Dependents |
3 |
Total lines |
527 |
Lines of code |
264 |
Logical lines of code |
177 |
Comment lines |
198 |
Methods |
22 |
Properties |
3 |
Methods 22
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_couriers() |
A |
39 |
12 |
59 |
get_shipping_methods() |
A |
46 |
11 |
36 |
get_formatted_location() |
A |
47 |
7 |
33 |
__construct() |
S |
57 |
7 |
16 |
add_shipping_method() |
S |
57 |
4 |
17 |
save() |
S |
58 |
4 |
16 |
add_location() |
S |
58 |
4 |
14 |
clear_locations() |
S |
60 |
4 |
13 |
delete_shipping_method() |
S |
61 |
3 |
12 |
set_locations() |
S |
70 |
2 |
6 |
set_zone_locations() |
S |
73 |
2 |
5 |
generate_zone_name() |
S |
69 |
2 |
7 |
set_zone_order() |
S |
79 |
1 |
3 |
get_zone_name() |
S |
79 |
1 |
3 |
location_is_continent() |
S |
80 |
1 |
3 |
location_is_country() |
S |
80 |
1 |
3 |
location_is_state() |
S |
80 |
1 |
3 |
location_is_postcode() |
S |
80 |
1 |
3 |
is_valid_location_type() |
S |
77 |
1 |
3 |
set_zone_name() |
S |
79 |
1 |
3 |
get_zone_locations() |
S |
79 |
1 |
3 |
get_zone_order() |
S |
79 |
1 |
3 |