-
Home
-
WooCommerce
-
9.9.3
-
Code
-
Classes
- WC_Shipping
Total Complexity |
60 |
Dependencies |
5 |
Dependents |
6 |
Total lines |
426 |
Lines of code |
181 |
Logical lines of code |
98 |
Comment lines |
183 |
Methods |
18 |
Properties |
5 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
calculate_shipping_for_package() |
B |
40 |
19 |
56 |
load_shipping_methods() |
S |
54 |
7 |
18 |
get_shipping_method_class_names() |
S |
57 |
5 |
15 |
register_shipping_method() |
S |
62 |
4 |
12 |
calculate_shipping() |
S |
62 |
4 |
11 |
get_shipping_classes() |
S |
61 |
3 |
13 |
__get() |
S |
68 |
3 |
8 |
instance() |
S |
72 |
2 |
6 |
is_package_shippable() |
S |
68 |
2 |
7 |
__construct() |
S |
72 |
2 |
6 |
get_shipping_methods() |
S |
72 |
2 |
6 |
reset_shipping() |
S |
77 |
1 |
4 |
get_packages() |
S |
82 |
1 |
3 |
unregister_shipping_methods() |
S |
81 |
1 |
3 |
__clone() |
S |
78 |
1 |
3 |
init() |
S |
81 |
1 |
3 |
__wakeup() |
S |
78 |
1 |
3 |
sort_shipping_methods() |
S |
76 |
1 |
4 |