-
Home
-
Price Based on Country for WooCommerce
-
2.2.3
-
Code
-
Classes
- WCPBC_Pricing_Zones
| Total Complexity |
48 |
| Dependencies |
1 |
| Dependents |
18 |
| Total lines |
288 |
| Lines of code |
160 |
| Logical lines of code |
106 |
| Comment lines |
84 |
| Methods |
14 |
| Properties |
0 |
Methods 14
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_unique_slug() |
S |
58 |
7 |
14 |
| get_zone_from_order() |
S |
53 |
6 |
22 |
| get_allowed_countries() |
S |
57 |
5 |
16 |
| get_zone() |
S |
59 |
5 |
14 |
| get_zones() |
S |
61 |
5 |
11 |
| bulk_save() |
S |
58 |
3 |
15 |
| get_zone_by_country() |
S |
60 |
3 |
12 |
| get_pricing_zone_class_name() |
S |
69 |
3 |
7 |
| get_currency_rates() |
S |
64 |
3 |
10 |
| save() |
S |
59 |
2 |
14 |
| delete() |
S |
66 |
2 |
8 |
| get_zone_by_id() |
S |
64 |
2 |
9 |
| create() |
S |
76 |
1 |
4 |
| has_zones() |
S |
75 |
1 |
4 |