PWS_Core D

Total Complexity 190
Dependencies 4
Dependents 2
Total lines 1,291
Lines of code 895
Logical lines of code 572
Comment lines 68
Methods 50
Properties 4

Methods 50

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
get_map_share_link()
A
51 8 25
edit_checkout_cities_field()
S
46 6 38
get_shipping_methods()
S
53 7 21
log()
S
53 7 21
cart_shipping_packages()
S
57 5 15
pws_sort_state()
S
45 3 43
state_city_taxonomy()
S
49 3 32
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
get_map_order_location()
S
67 4 7
checkout_update_order_review()
S
63 4 10
init_hooks()
S
44 1 45
get_terms_option()
S
59 3 14
states()
S
58 3 14
get_all_shipping_zones()
S
63 3 11
enqueue_select2_scripts()
S
58 2 15
shipping_method_image()
S
64 3 8
get_settings_general()
S
67 3 8
add_shipping_method()
S
67 3 8
get_city()
S
73 3 4
get_order_map_share_link()
S
68 2 7
set_option()
S
67 2 7
get_option()
S
66 2 8
instance()
S
72 2 6
order_formatted_shipping_address()
S
71 2 6
edit_state_city_rows_taxonomy()
S
72 2 6
checkout_get_value()
S
70 2 6
order_formatted_billing_address()
S
71 2 6
types()
S
69 2 7
load_maps_init()
S
71 1 6
load_shipping_init()
S
66 1 9
enqueue_admin_scripts()
S
71 1 5
iran_states()
S
76 1 4
pws_pro_url()
S
79 1 3
edit_state_city_columns_taxonomy()
S
73 1 5
get_state()
S
75 1 4
localisation_address_formats()
S
76 1 4
delete_term_option()
S
80 1 3
set_term_option()
S
74 1 4
get_term_option()
S
74 1 4
convert_currency()
S
75 1 4
__construct()
S
68 1 8
my_account_my_address_formatted_address()
S
74 1 4