-
Home
-
Shiptimize for WooCommerce
-
3.1.86 (latest)
-
Code
-
Classes
- ShiptimizeOrder
| Total Complexity |
90 |
| Dependencies |
3 |
| Dependents |
6 |
| Total lines |
905 |
| Lines of code |
357 |
| Logical lines of code |
123 |
| Comment lines |
342 |
| Methods |
37 |
| Properties |
48 |
Methods 37
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_api_props() |
B |
36 |
16 |
76 |
| normalizeData() |
B |
45 |
17 |
38 |
| escape_text_data() |
S |
53 |
6 |
21 |
| is_address_valid() |
S |
60 |
6 |
12 |
| append_errors() |
S |
60 |
5 |
13 |
| escape_non_latin1() |
S |
35 |
1 |
66 |
| update_order_meta() |
S |
56 |
1 |
22 |
| add_order_meta() |
S |
60 |
1 |
15 |
| set_label_meta() |
S |
62 |
2 |
10 |
| add_message() |
S |
63 |
2 |
10 |
| grant_order_meta_exists() |
S |
68 |
2 |
7 |
| get_order_meta() |
S |
73 |
2 |
4 |
| get_error_messages() |
S |
69 |
2 |
7 |
| is_valid() |
S |
79 |
2 |
3 |
| is_name_valid() |
S |
71 |
2 |
6 |
| is_weight_valid() |
S |
79 |
2 |
3 |
| __construct() |
S |
77 |
1 |
4 |
| executeSQL() |
S |
100 |
1 |
0 |
| set_order_status() |
S |
74 |
1 |
4 |
| set_transporter() |
S |
81 |
1 |
3 |
| sqlSelect() |
S |
100 |
1 |
0 |
| bootstrap() |
S |
100 |
1 |
0 |
| set_client_reference() |
S |
100 |
1 |
0 |
| set_message() |
S |
78 |
1 |
3 |
| get_formated_message() |
S |
78 |
1 |
3 |
| getClientReferenceCode() |
S |
82 |
1 |
3 |
| set_status() |
S |
78 |
1 |
3 |
| set_status_from_api() |
S |
100 |
1 |
0 |
| set_tracking_id() |
S |
100 |
1 |
0 |
| get_valid_status_to_export_all() |
S |
100 |
1 |
0 |
| get_country() |
S |
82 |
1 |
3 |
| get_carrier_id() |
S |
82 |
1 |
3 |
| get_order_status() |
S |
82 |
1 |
3 |
| get_order_message() |
S |
82 |
1 |
3 |
| get_client_reference() |
S |
82 |
1 |
3 |
| get_shop_item_id() |
S |
82 |
1 |
3 |
| get_state() |
S |
82 |
1 |
3 |