PWS_Core D

Total Complexity 165
Dependencies 2
Dependents 2
Total lines 1,158
Lines of code 824
Logical lines of code 517
Comment lines 38
Methods 44
Properties 4

Methods 44

Method Rating Maintainability Complexity Lines of code
checkout_cities_field()
C
34 24 81
checkout_process()
B
41 18 50
formatted_address_replacements()
A
50 15 24
check_states_beside()
A
32 4 160
checkout_update_order_meta()
A
45 11 43
edit_checkout_cities_field()
S
46 6 38
log()
S
53 7 21
cart_shipping_packages()
S
57 5 15
pws_sort_state()
S
45 3 43
state_city_taxonomy()
S
47 3 36
cities()
S
56 4 17
convert_currency_to_IRR()
S
61 4 14
convert_currency_from_IRR()
S
61 4 14
pws_single_country_field()
S
52 3 27
checkout_update_order_review()
S
63 4 10
get_terms_option()
S
59 3 14
states()
S
58 3 14
init_hooks()
S
44 1 44
shipping_method_image()
S
64 3 8
get_settings_general()
S
67 3 8
add_shipping_method()
S
67 3 8
enqueue_select2_scripts()
S
58 2 15
get_city()
S
73 3 4
get_option()
S
66 2 8
set_option()
S
67 2 7
instance()
S
72 2 6
order_formatted_billing_address()
S
71 2 6
types()
S
69 2 7
checkout_get_value()
S
70 2 6
order_formatted_shipping_address()
S
71 2 6
edit_state_city_rows_taxonomy()
S
72 2 6
delete_term_option()
S
80 1 3
load_shipping_init()
S
66 1 9
enqueue_admin_scripts()
S
66 1 8
iran_states()
S
76 1 4
edit_state_city_columns_taxonomy()
S
73 1 5
get_term_option()
S
74 1 4
set_term_option()
S
74 1 4
get_state()
S
75 1 4
convert_currency()
S
75 1 4
localisation_address_formats()
S
76 1 4
__construct()
S
68 1 8
my_account_my_address_formatted_address()
S
74 1 4
pws_pro_url()
S
79 1 3