-
Home
-
Price Based on Country for WooCommerce
-
3.4.9
-
Code
-
Classes
- WCPBC_Pricing_Zones
| Total Complexity |
87 |
| Dependencies |
4 |
| Dependents |
22 |
| Total lines |
499 |
| Lines of code |
264 |
| Logical lines of code |
172 |
| Comment lines |
149 |
| Methods |
23 |
| Properties |
0 |
Methods 23
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| populate() |
A |
46 |
13 |
35 |
| get_unique_slug() |
A |
56 |
8 |
16 |
| get_zone_from_order() |
S |
52 |
7 |
25 |
| get_zone_by_country() |
S |
56 |
6 |
16 |
| save() |
S |
51 |
5 |
27 |
| get_allowed_countries() |
S |
57 |
5 |
16 |
| get_zone() |
S |
59 |
5 |
14 |
| get_zones() |
S |
59 |
5 |
13 |
| bulk_save() |
S |
57 |
4 |
15 |
| get_pricing_zone_class_name() |
S |
69 |
3 |
7 |
| sort_callback() |
S |
70 |
3 |
6 |
| get_currency_rates() |
S |
64 |
3 |
10 |
| sanitize_round_nearest() |
S |
66 |
3 |
7 |
| delete() |
S |
66 |
2 |
8 |
| get_zone_by_id() |
S |
64 |
2 |
9 |
| sanitize_countries() |
S |
69 |
2 |
6 |
| sanitize_currency() |
S |
70 |
2 |
6 |
| sanitize_exchange_rate() |
S |
71 |
2 |
6 |
| sanitize_currency_format() |
S |
70 |
2 |
6 |
| sanitize_price_thousand_sep() |
S |
71 |
2 |
5 |
| create() |
S |
76 |
1 |
4 |
| has_zones() |
S |
75 |
1 |
4 |
| sanitize_price_decimal_sep() |
S |
79 |
1 |
3 |