-
Home
-
WooCommerce Royal Mail Shipping Calculator
-
1.7.8
-
Code
-
Classes
- WC_Royal_Mail_Shipping_Method
Total Complexity |
109 |
Dependencies |
6 |
Dependents |
0 |
Total lines |
666 |
Lines of code |
481 |
Logical lines of code |
263 |
Comment lines |
72 |
Methods |
21 |
Properties |
1 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_package_details() |
B |
36 |
21 |
77 |
calculate_shipping() |
B |
36 |
18 |
76 |
get_package_details_by_boxpacker() |
A |
40 |
13 |
55 |
generate_default_size_html() |
A |
50 |
8 |
29 |
validate_default_size_field() |
S |
63 |
7 |
10 |
get_max_weight() |
S |
55 |
5 |
20 |
is_medium_parcel() |
S |
60 |
5 |
15 |
is_small_parcel() |
S |
60 |
5 |
15 |
get_royalmail_boxes() |
S |
48 |
3 |
41 |
init_form_fields() |
S |
42 |
1 |
62 |
debug() |
S |
61 |
4 |
11 |
getAllowedMethods() |
S |
74 |
3 |
4 |
check_store_requirements() |
S |
67 |
3 |
8 |
filter_methods_by_size() |
S |
67 |
3 |
8 |
sort_rates() |
S |
73 |
3 |
4 |
__construct() |
S |
53 |
1 |
23 |
strip_shipping_tax() |
S |
71 |
2 |
6 |
display_error_message() |
S |
68 |
1 |
6 |
get_min_dimension() |
S |
70 |
1 |
5 |
admin_options() |
S |
79 |
1 |
3 |
getAllMethods() |
S |
80 |
1 |
3 |