SWPSM_Plugin_Settings C

Total Complexity 124
Dependencies 3
Dependents 4
Total lines 1,178
Lines of code 1,090
Logical lines of code 306
Comment lines 28
Methods 50
Properties 2

Methods 50

Method Rating Maintainability Complexity Lines of code
swpsm_import_templates_settings()
A
33 7 132
add_settings_fiels()
A
37 3 94
sanitize_widget_settings_callback()
S
52 7 24
elt_container_feature_warning()
S
53 7 24
swpsm_dashboard_page()
S
42 1 103
swpsm_settings_get_pro_promo()
S
44 2 77
initialize_plugin_options()
S
49 4 34
render_select_options()
S
55 4 24
editor_preview_product_cbk()
S
50 3 31
get_editor_preview_product_id_from_settings()
S
65 5 8
render_input_for_slug()
S
57 3 19
add_plugin_pages()
S
47 1 47
cart_template_sf_cbk()
S
54 2 27
checkout_template_sf_cbk()
S
54 2 26
thankyou_template_sf_cbk()
S
54 2 26
myaccount_login_template_sf_cbk()
S
54 2 26
myaccount_template_sf_cbk()
S
54 2 26
before_checkout_template_sf_cbk()
S
55 2 24
empty_cart_template_sf_cbk()
S
56 2 23
single_prod_template_sf_cbk()
S
56 2 22
quickview_template_sf_cbk()
S
56 2 22
archive_template_sf_cbk()
S
58 2 19
sanitize_template_options_callback()
S
64 3 9
get_single_prod_template_id()
S
66 3 8
get_shop_template_id()
S
66 3 8
get_cart_template_id()
S
65 3 9
get_empty_cart_template_id()
S
66 3 8
get_before_checkout_template_id()
S
66 3 8
get_checkout_template_id()
S
65 3 9
get_myaccount_login_template_id()
S
66 3 8
get_myaccount_template_id()
S
65 3 9
get_quickview_template_id()
S
66 3 8
get_thankyou_template_id()
S
65 3 9
swpsm_templates_settings()
S
60 1 22
swpsm_widget_settings()
S
60 1 21
swpsm_settings_quick_links()
S
62 1 17
__construct()
S
71 2 5
render_promo_templates_in_settings()
S
69 2 6
try_pro_options()
S
61 1 15
get_elementor_templates_as_array()
S
70 2 7
get_plugin_option()
S
69 2 7
get_mc_api_key()
S
74 2 4
get_mc_list_id()
S
74 2 4
get_cf_recipient_email()
S
74 2 4
initialize_data()
S
80 1 3
widget_settings_cbk()
S
73 1 6
template_options_cbk()
S
68 1 9
mc_api_key_cbk()
S
79 1 3
mc_list_id_cbk()
S
79 1 3
swpsm_cf_recipient_email_cbk()
S
79 1 3