Code Analysis: افزونه حمل و نقل ووکامرس 2.2.8

Function Rating Maintainability Complexity Lines of code
PWS_get_state_city()
D
8
2 840
PWS_Status::change_status_callback()
D
22
32 206
PWS_Core::checkout_cities_field()
C
34 24 77
PWS_Tapin_Method::calculate_rates()
B
38 18 65
PWS_Core::checkout_process()
B
41 19 50
PWS_state_city_taxonomy::nabik_edit_state_callback()
B
30 9 151
PWS_Settings::admin_init()
A
43 15 45
WC_Forehand_Method::calculate_shipping()
A
40 13 57
WC_Custom_Method::calculate_shipping()
A
40 13 57
PWS_Core::check_states_beside()
A
31 6 160
PWS_Core::formatted_address_replacements()
A
50 15 24
PWS_Tapin::checkout_process()
A
44 13 43
PWS_Version::update_219()
A
39 11 67
PWS_Tapin::check_states_beside()
A
33 4 153
PWS_Notice::notices()
A
42 10 53
PWS_Tapin_Method::calculate_shipping()
A
42 9 49
PWS_Tapin::checkout_update_order_meta()
A
47 10 33
PWS_Settings_SMS::get_fields()
A
35 4 115
PWS_Core::state_city_taxonomy()
A
42 8 49
PWS_Ajax::load_districts_callback()
A
48 9 31
PWS_Notice::admin_notices()
A
47 8 41
PWS_Tapin_Method::rates()
A
33 1 141
PWS_Status::check_status_callback()
A
44 7 47
PWS_Settings_Tapin::get_fields()
A
37 4 91
PWS_Status::save_order_meta_box()
A
51 8 25
PWS_Tapin::zone()
S
49 7 29
PWS_Core::edit_checkout_cities_field()
S
46 6 39
PWS_Tools::admin_bar_menu()
S
46 6 38
PWS_Core::checkout_update_order_meta()
S
53 7 22
PWS_Core::process_shop_order_meta()
S
53 7 21
PWS_Ajax::load_cities_callback()
S
53 7 20
WC_Tipax_Method::is_available()
S
55 7 19
WC_Courier_Method::is_available()
S
55 7 19
PWS_Core::log()
S
55 7 18
PWS_Status::order_meta_box_callback()
S
43 4 63
PWS_Admin::admin_menu()
S
45 5 44
PWS_Settings::get_sanitize_callback()
S
59 7 14
PWS_SMS::order_status_changed()
S
53 6 23
PWS_Tapin::cities()
S
54 6 20
PWS_Order::get_order_weight()
S
54 6 20
PWS_Shipping_Method::is_available()
S
55 6 19
PWS_state_city_taxonomy::state_city_edit_form_fields()
S
43 2 72
PWS_Settings::script()
S
100 1 85
WC_Courier_Method::init_form_fields()
S
48 4 35
WC_Tipax_Method::init_form_fields()
S
48 4 35
PWS_Order::get_shipping_method()
S
56 5 18
PWS_Settings::callback_wysiwyg()
S
56 5 16
PWS_Core::cart_shipping_packages()
S
59 5 13
PWS_Core::pws_sort_state()
S
45 3 43
PWS_Shipping_Method::init()
S
47 3 40
PWS_Tapin::request()
S
47 3 36
WC_Courier_Method::calculate_shipping()
S
57 4 16
PWS_Tapin::shop()
S
57 4 16
WC_Tipax_Method::calculate_shipping()
S
57 4 16
PWS_Core::get_terms_option()
S
58 4 15
PWS_Tapin::get_cart_weight()
S
59 4 14
PWS_Version::__construct()
S
58 4 14
PWS_Core::convert_currency()
S
61 4 14
PWS_Status::enqueue_scripts()
S
60 4 13
PWS_Tapin::states()
S
59 4 13
PWS_Core::admin_billing_fields()
S
51 3 28
PWS_Core::admin_shipping_fields()
S
51 3 28
PWS_Tools::__construct()
S
61 4 12
PWS_Status::add_order_statuses()
S
62 4 12
PWS_Core::pws_single_country_field()
S
52 3 27
PWS_Settings::callback_select()
S
60 4 11
PWS_Version::update_220()
S
53 3 23
PWS_SMS::send()
S
52 3 23
PWS_Tapin::admin_footer()
S
58 3 20
PWS_Settings_Tools::get_fields()
S
47 1 48
PWS_Core::cities()
S
57 3 17
PWS_Status::get_statues()
S
57 3 17
PWS_Tools::hide_when_free()
S
63 4 10
PWS_Tools::hide_when_courier()
S
63 4 10
PWS_Settings::callback_file()
S
61 4 10
PWS_Settings::callback_text()
S
64 4 8
PWS_Status::top_order_list()
S
63 3 15
PWS_Core::init_hooks()
S
44 1 45
PWS_Core::checkout_update_order_review()
S
63 4 10
PWS_SMS::save_order_post_barcode()
S
59 3 14
PWS_state_city_taxonomy::__construct()
S
59 3 13
PWS_Settings::callback_multicheck()
S
59 3 13
PWS_Status::reports_statuses()
S
61 3 12
PWS_Status::paid_statuses()
S
61 3 12
PWS_Tools::new_order_note_data()
S
61 3 11
PWS_Settings::show_navigation()
S
62 3 11
PWS_Settings::show_forms()
S
55 2 25
PWS_get_states()
S
47 1 35
PWS_state_city_taxonomy::state_city_add_form_fields()
S
54 1 32
PWS_Status::__construct()
S
56 2 16
PWS_Tapin::enqueue_select2_scripts()
S
57 2 16
PWS_Settings::callback_textarea()
S
66 3 7
PWS_Core::get_city()
S
73 3 4
PWS_Tapin::formatted_address_replacements()
S
66 3 8
PWS_Settings::callback_password()
S
66 3 7
PWS_Shipping_Method::free_shipping()
S
68 3 7
PWS_Settings::sanitize_options()
S
64 3 10
PWS_Core::get_settings_general()
S
67 3 8
PWS_Core::enqueue_select2_scripts()
S
58 2 15
PWS_Core::add_shipping_method()
S
67 3 8
PWS_Core::shipping_method_image()
S
64 3 8
PWS_state_city_taxonomy::save_state_city()
S
71 3 5
PWS_Shipping_Method::get_destination()
S
69 3 6
PWS_Tapin_Method::is_available()
S
65 3 10
PWS_Settings::callback_color()
S
66 3 7
PWS_Notice::set_dismiss()
S
66 3 7
PWS_Admin::parent_file()
S
70 3 6
PWS_Core::states()
S
59 2 14
WC_Tipax_Method::__construct()
S
61 2 13
WC_Courier_Method::__construct()
S
61 2 13
PWS_Settings::callback_radio()
S
60 2 12
PWS_Status::register_order_statuses()
S
61 2 12
WC_Forehand_Method::init_form_fields()
S
54 1 25
PWS_Tapin_Method::init_form_fields()
S
54 1 25
PWS_SMS::sanitize_phone()
S
52 1 25
WC_Custom_Method::init_form_fields()
S
53 1 25
PWS_Tapin::__construct()
S
55 1 22
PWS_Settings_SMS::get_sections()
S
60 1 16
PWS_Status::check_status_scheduled()
S
73 2 5
PWS_Settings_Tapin::instance()
S
72 2 6
PWS_Core::order_formatted_shipping_address()
S
70 2 6
PWS_Settings_SMS::instance()
S
72 2 6
PWS_Settings_Tools::instance()
S
72 2 6
PWS()
S
72 2 6
PWS_Core::get_option()
S
66 2 8
PWS_Core::instance()
S
72 2 6
PWS_Core::order_formatted_billing_address()
S
70 2 6
PWS_Tapin::instance()
S
72 2 6
PWS_Core::types()
S
69 2 7
PWS_Core::checkout_get_value()
S
70 2 6
PWS_Settings::get_field_description()
S
66 2 8
PWS_state_city_taxonomy::flush_cache()
S
67 2 7
PWS_Status::bulk_actions()
S
67 2 7
PWS_Tapin::set_gateway()
S
73 2 5
PWS_SMS::__construct()
S
67 2 7
PWS_Settings::get_option()
S
69 2 7
PWS_Core::edit_state_city_rows_taxonomy()
S
72 2 6
PWS_state_city_taxonomy::state_city_row_actions()
S
66 2 8
PWS_Tapin::cart_shipping_packages()
S
69 2 6
PWS_Settings_Tools::get_sections()
S
64 1 12
PWS_Core::get_term_options()
S
61 1 12
PWS_Settings::add_field()
S
63 1 11
WC_Forehand_Method::__construct()
S
68 1 7
PWS_Core::localisation_address_formats()
S
76 1 4
PWS_Core::iran_states()
S
76 1 4
PWS_Settings::get_sections()
S
83 1 3
Tapin_Pishtaz_Method::__construct()
S
68 1 7
PWS_Settings_Tapin::output()
S
69 1 7
PWS_SMS::tags()
S
63 1 10
PWS_Notice::__construct()
S
75 1 4
PWS_Settings_SMS::output()
S
69 1 7
PWS_Settings::callback_number()
S
82 1 3
PWS_Notice::dismiss_notice()
S
73 1 5
PWS_Tapin::state_city_admin_menu()
S
91 1 2
PWS_Settings::callback_html()
S
81 1 3
WC_Courier_Method::init()
S
67 1 7
PWS_Settings_Tapin::get_sections()
S
69 1 8
PWS_Tapin::is_enable()
S
78 1 3
PWS_Settings_Tools::output()
S
69 1 7
WC_Custom_Method::init()
S
67 1 7
PWS_Admin::__construct()
S
72 1 5
Tapin_Sefareshi_Method::__construct()
S
68 1 7
PWS_Shipping_Method::add_rate_cost()
S
66 1 8
PWS_Settings::add_section()
S
77 1 4
PWS_Core::get_state()
S
75 1 4
PWS_Tapin_Method::init()
S
69 1 6
PWS_Core::__construct()
S
67 1 9
PWS_Notice::is_dismiss()
S
78 1 3
PWS_Settings::__construct()
S
75 1 4
WC_Custom_Method::__construct()
S
68 1 7
PWS_Admin::includes()
S
73 1 6
PWS_state_city_taxonomy::admin_menu()
S
71 1 6
PWS_Settings::admin_enqueue_scripts()
S
72 1 6
PWS_Settings::get_fields()
S
83 1 3
WC_Forehand_Method::init()
S
67 1 7
PWS_Settings::callback_checkbox()
S
62 1 10
PWS_Core::my_account_my_address_formatted_address()
S
74 1 4
PWS_Core::edit_state_city_columns_taxonomy()
S
73 1 5
PWS_Tapin::get_city()
S
75 1 4
PWS_Core::load_shipping_init()
S
65 1 10
PWS_Shipping_Method::__construct()
S
68 1 8
PWS_Settings::callback_url()
S
82 1 3
PWS_Status::order_meta_box()
S
77 1 3
PWS_Tapin::localisation_address_formats()
S
76 1 4
WC_Tipax_Method::init()
S
67 1 7
PWS_Core::set_option()
S
69 1 6