-
Home
-
Purolator Shipping Method for WooCommerce
-
1.0.1 (latest)
-
Code
-
Classes
- MA_purolator_Shipping
Total Complexity |
129 |
Dependencies |
4 |
Dependents |
0 |
Total lines |
661 |
Lines of code |
511 |
Logical lines of code |
272 |
Comment lines |
45 |
Methods |
22 |
Properties |
2 |
Methods 22
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
weight_based_shipping() |
B |
34 |
20 |
88 |
init() |
A |
43 |
15 |
38 |
calculate_shipping() |
A |
44 |
11 |
42 |
is_available() |
A |
51 |
12 |
25 |
per_item_shipping() |
A |
42 |
10 |
48 |
process_result() |
A |
49 |
11 |
28 |
add_found_rates() |
A |
53 |
9 |
22 |
prepare_rate() |
A |
49 |
7 |
31 |
generate_ma_pu_tab_html() |
S |
48 |
3 |
46 |
ma_get_cost_based_on_currency() |
S |
65 |
5 |
9 |
ma_get_tabs_name_url() |
S |
58 |
4 |
13 |
validate_services_field() |
S |
59 |
3 |
14 |
ma_get_postcode_city() |
S |
54 |
3 |
12 |
get_pu_single_array() |
S |
64 |
3 |
11 |
init_form_fields() |
S |
64 |
3 |
10 |
ma_get_package_piece() |
S |
65 |
3 |
9 |
createPWSSOAPClient() |
S |
53 |
1 |
24 |
get_pu_request() |
S |
53 |
1 |
23 |
debug() |
S |
74 |
2 |
5 |
__construct() |
S |
67 |
1 |
7 |
admin_options() |
S |
81 |
1 |
3 |
sort_rates() |
S |
82 |
1 |
3 |