ShiptimizeOrder B

Total Complexity 85
Dependencies 3
Dependents 6
Total lines 897
Lines of code 351
Logical lines of code 120
Comment lines 341
Methods 36
Properties 48

Methods 36

Method Rating Maintainability Complexity Lines of code
get_api_props()
B
36 16 76
normalizeData()
A
45 15 38
is_address_valid()
S
60 6 12
escape_text_data()
S
55 5 18
escape_non_latin1()
S
35 1 66
append_errors()
S
60 4 13
update_order_meta()
S
56 1 22
grant_order_meta_exists()
S
68 2 7
get_error_messages()
S
69 2 7
is_valid()
S
79 2 3
add_message()
S
63 2 10
is_name_valid()
S
71 2 6
get_order_meta()
S
73 2 4
is_weight_valid()
S
79 2 3
set_label_meta()
S
62 2 10
add_order_meta()
S
60 1 15
get_state()
S
82 1 3
get_shop_item_id()
S
82 1 3
get_client_reference()
S
82 1 3
get_order_message()
S
82 1 3
__construct()
S
77 1 4
get_order_status()
S
82 1 3
get_carrier_id()
S
82 1 3
executeSQL()
S
100 1 0
get_valid_status_to_export_all()
S
100 1 0
set_tracking_id()
S
100 1 0
set_status_from_api()
S
100 1 0
set_status()
S
78 1 3
get_formated_message()
S
78 1 3
set_message()
S
78 1 3
set_client_reference()
S
100 1 0
bootstrap()
S
100 1 0
sqlSelect()
S
100 1 0
set_transporter()
S
81 1 3
set_order_status()
S
74 1 4
get_country()
S
82 1 3