ELEX_Shipping_USPS D

Total Complexity 243
Dependencies 3
Dependents 0
Total lines 1,555
Lines of code 1,192
Logical lines of code 453
Comment lines 168
Methods 23
Properties 54

Methods 23

Method Rating Maintainability Complexity Lines of code
calculate_shipping()
D
2
135 347
per_item_shipping()
B
33 16 96
get_country_name()
B
21
2 256
init()
A
49 14 24
init_form_fields()
A
30 4 162
test_user_id()
A
45 11 41
generate_usps_tabs_html()
A
37 6 102
validate_services_field()
A
55 9 17
is_available()
A
57 9 15
get_parsed_xml()
S
55 6 21
environment_check()
S
56 6 16
prepare_rate()
S
54 4 23
get_package_requests()
S
60 4 15
debug()
S
63 4 10
wf_load_product()
S
70 3 6
sort_rates()
S
69 3 6
generate_marketing_content_html()
S
71 1 6
clear_transients()
S
75 1 4
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
68 1 7