ELEX_Shipping_USPS D

Total Complexity 147
Dependencies 3
Dependents 0
Total lines 1,367
Lines of code 1,047
Logical lines of code 292
Comment lines 152
Methods 26
Properties 63

Methods 26

Method Rating Maintainability Complexity Lines of code
per_item_shipping()
B
31 19 112
init()
B
44 22 33
init_form_fields()
B
23
5 276
get_country_name()
B
21
2 256
calculate_shipping()
A
44 15 46
generate_usps_tabs_html()
A
37 6 101
validate_auth_services_field()
A
55 9 17
validate_services_field()
A
55 9 17
is_available()
A
57 9 15
wf_usps_add_delivery_time()
S
53 7 21
get_parsed_xml()
S
55 6 21
environment_check()
S
56 6 16
test_user_id()
S
58 6 15
prepare_rate()
S
54 4 23
get_package_requests()
S
60 4 15
debug()
S
63 4 10
sort_rates()
S
69 3 6
wf_load_product()
S
70 3 6
generate_marketing_content_html()
S
71 1 6
clear_transients()
S
75 1 4
generate_auth_services_html()
S
74 1 5
generate_package_id()
S
77 1 3
generate_services_html()
S
74 1 5
admin_options()
S
78 1 4
wf_get_variation_data_from_variation_id()
S
70 1 6
__construct()
S
66 1 8