Code Analysis: Decorator - WooCommerce Email Customizer 2.0.1

Function Rating Maintainability Complexity Lines of code
RP_Decorator_Preview::get_preview_email()
D
0
134 397
RP_Decorator_Settings::get_settings()
D
2
2 1,877
RP_Decorator_Customizer::prepare()
D
26
59 114
WP_Customize_Repeater_Control::iterate_array()
D
18
44 297
RP_Decorator_Preview::wt_customize_changeset_save_data()
D
28
47 123
RP_Decorator_WC::wt_alter_order_object_email_body()
D
25
46 133
RP_Decorator_Customizer::wt_apply_prebult_template()
D
20
35 276
RP_Decorator_Settings::get_default_value()
D
38 40 56
RP_Decorator_Preview::print_live_preview_scripts()
D
26
30 193
RP_Decorator_Settings::wt_get_custom_text_edit_settings()
D
18
17 384
RP_Decorator_Customizer::opt()
D
34 32 79
RP_Decorator_Settings::get_default_values()
C
16
13 359
RP_Decorator_Customizer::get_stored_value()
C
45 26 36
RP_Decorator_Customizer::add_controls()
B
38 22 71
RP_Decorator_Preview::wt_customize_save_response()
B
40 22 56
RP_Decorator::wt_change_style_storage_structure()
B
40 21 52
RP_Decorator_Preview::get_email_types()
B
30 16 116
Storefrog_Connector::save_tokens()
B
45 21 35
RP_Decorator_Customizer::__construct()
B
41 20 46
RP_Decorator_Customizer::wt_subtitle_shortcode_replace()
B
38 18 61
WP_Customize_Repeater_Control::__construct()
B
40 17 61
RP_Decorator::wt_localize_templates()
B
41 17 53
RP_Decorator_Customizer::reset()
A
43 15 41
RP_Decorator_WC::wt_alter_customer_object_email_body()
A
42 14 48
RP_Decorator_WC::wt_add_lineitem_image()
A
44 14 46
WP_Customize_Repeater_Control::repeater_control()
A
38 11 89
RP_Decorator_Customizer::wt_decorator_set_as_default()
A
46 14 33
RP_Decorator_Customizer::wt_decorator_delete_autosave_post()
A
48 14 31
RP_Decorator_Preview::get_wc_order_for_preview()
A
41 11 55
RP_Decorator_Uninstall_Feedback::deactivate_scripts()
A
36 3 154
WP_Customize_Repeater_Control::input_control()
A
46 10 44
RP_Decorator_Preview::get_body_compactible_email_types()
A
39 8 63
Storefrog_Connector::renew_token()
A
49 10 29
Storefrog_Connector::get_cart_table_html()
A
45 9 43
RP_Decorator_WC::wt_alter_placeholders()
A
45 9 40
RP_Decorator_Customizer::wt_ajax_send_user_email()
A
53 10 20
RP_Decorator_Customizer::wt_get_current_template()
A
56 10 16
RP_Decorator_Customizer::ajax_reset()
A
58 10 14
RP_Decorator_Preview::wt_supported_email_classes()
A
35 5 87
RP_Decorator_Customizer::get_styles_string()
A
52 9 24
RP_Decorator_Preview::wt_header_shortcode_replace()
A
42 7 51
RP_Decorator_Settings::get_sections()
A
36 2 109
RP_Decorator_Customizer::wt_ajax_wt_send_reset_slider()
S
58 8 14
Wt_Decorator_Review_Request::check_condition()
S
53 7 24
WP_Customize_Repeater_Control::render_content()
S
48 6 37
RP_Decorator_Customizer::maybe_add_section()
S
53 7 22
RP_Decorator_Customizer::add_settings()
S
55 7 20
RP_Decorator_Customizer::get_css_suffix()
S
40 4 65
RP_Decorator_WC::get_order_meta()
S
54 6 24
Wt_Decorator_Review_Request::process_user_action()
S
53 6 24
Storefrog_Connector::get_data_object()
S
48 5 34
RP_Decorator_Customizer::maybe_add_panel()
S
55 6 19
RP_Decorator_Uninstall_Feedback::send_uninstall_reason()
S
47 5 34
RP_Decorator_Preview::wt_scheduled_action()
S
56 6 18
RP_Decorator_Customizer::wt_decorator_button_text()
S
56 6 17
RP_Decorator::check_environment()
S
56 5 18
RP_Decorator_WC::remove_decorator_draft()
S
55 5 17
RP_Decorator_WC::overwrite_options()
S
57 5 16
RP_Decorator_WC::replace_woocommerce_email_settings()
S
54 4 22
WP_Customize_Repeater_Control::image_control()
S
58 4 17
RP_Decorator::wt_decorator_activate()
S
64 5 9
RP_Decorator::wc_version_gte()
S
64 5 9
WP_Customize_Repeater_Control::icon_type_choice()
S
51 3 28
WP_Customize_Repeater_Control::customizer_repeater_sanitize()
S
61 4 12
RP_Decorator_WC::get_username_from_id()
S
61 4 12
Storefrog_Connector::render_admin_page()
S
60 4 12
RP_Decorator_Uninstall_Feedback::get_uninstall_reasons()
S
45 1 53
RP_Decorator_Preview::wt_supported_email_type_status()
S
44 1 51
RP_Decorator_Settings::get_order_ids()
S
55 3 19
Wt_Decorator_Review_Request::add_banner_scripts()
S
50 1 49
RP_Decorator::on_plugins_loaded()
S
57 3 17
RP_Decorator_WC::wt_get_order()
S
76 4 3
RP_Decorator_Mockup_Order::is_download_permitted()
S
64 4 10
Storefrog_Connector::add_custom_attribute_to_script()
S
64 4 8
RP_Decorator_WC::wt_is_wc_hpos_enabled()
S
61 3 13
Wt_Decorator_Review_Request::show_banner()
S
55 2 26
RP_Decorator_Customizer::maybe_add_custom_styles()
S
63 3 11
RP_Decorator_Settings::get_panels()
S
54 2 23
WP_Customize_Wtloadtemplate_Control::render_content()
S
56 2 21
WP_Customize_Range_value_Control::render_content()
S
57 2 21
WP_Customize_Toggleswitch_Control::render_content()
S
59 2 18
RP_Decorator_WC::overwrite_default_email_settings()
S
64 3 10
RP_Decorator_Customizer::remove_unrelated_components()
S
67 3 8
Wt_Decorator_Review_Request::__construct()
S
57 2 15
RP_Decorator_Customizer::is_own_section()
S
66 3 8
RP_Decorator_Customizer::add_customize_capability()
S
66 3 8
Storefrog_Connector::disconnect_storefrog()
S
64 3 9
Storefrog_Connector::ajax_get_storefrog_data_object()
S
67 3 7
RP_Decorator_Preview::set_up_preview()
S
65 3 10
RP_Decorator_Preview::print_preview_email()
S
63 3 9
Storefrog_Connector::enqueue_scripts()
S
58 2 15
RP_Decorator_Mockup_Order::get_line_subtotal()
S
65 3 9
RP_Decorator::plugins_page_links()
S
60 2 12
RP_Decorator_WC::__construct()
S
60 2 11
WP_Customize_Shortcode_Control::render_content()
S
65 2 11
RP_Decorator_Customizer::enqueue_customizer_scripts()
S
51 1 25
RP_Decorator_Mockup_Order::get_items()
S
54 1 24
RP_Decorator_Mockup_Order::get_order_item_totals()
S
55 1 20
RP_Decorator_Mockup_Order::__construct()
S
56 1 18
RP_Decorator_Settings::get_font_families()
S
57 1 16
RP_Decorator_Mockup_Order::get_product_from_item()
S
69 2 6
RP_Decorator::wp_version_gte()
S
66 2 8
RP_Decorator_Customizer::get_instance()
S
71 2 6
RP_Decorator_WC::print_open_customizer_button()
S
60 1 15
RP_Decorator::is_own_preview_request()
S
77 2 3
RP_Decorator_Preview::get_email_class_name()
S
66 2 8
RP_Decorator_Customizer::maybe_add_custom_temp_style()
S
75 2 4
RP_Decorator_Customizer::remove_unrelated_sections()
S
71 2 6
RP_Decorator_Customizer::get_customizer_url()
S
63 2 10
RP_Decorator::get_instance()
S
71 2 6
Wt_Decorator_Review_Request::set_vars()
S
64 2 9
Storefrog_Connector::get_key()
S
74 2 4
RP_Decorator_WC::get_instance()
S
71 2 6
RP_Decorator_Preview::get_email_order_status()
S
66 2 8
RP_Decorator_Customizer::remove_unrelated_controls()
S
71 2 6
RP_Decorator::wt_decorator_activation_redirect()
S
68 2 7
RP_Decorator_WC::wt_get_order_id()
S
78 2 3
Storefrog_Connector::get_connection_data()
S
75 2 4
RP_Decorator::is_own_customizer_request()
S
77 2 3
Wt_Decorator_Review_Request::on_activate()
S
72 2 6
RP_Decorator_Preview::get_instance()
S
71 2 6
RP_Decorator::get_admin_capability()
S
70 2 6
Storefrog_Connector::is_token_expired()
S
67 2 7
RP_Decorator_Mockup_Order::email_order_items_table()
S
60 1 14
RP_Decorator_Settings::get_border_styles()
S
60 1 14
Storefrog_Connector::save_oauth_datas()
S
59 1 14
RP_Decorator_Mockup_Order::get_formatted_billing_address()
S
61 1 13
RP_Decorator_Mockup_Order::get_formatted_shipping_address()
S
61 1 13
WP_Customize_labels_Control::render_content()
S
68 1 11
RP_Decorator_WC::get_email_settings_page_url()
S
80 1 3
RP_Decorator_Mockup_Product::is_downloadable()
S
82 1 3
RP_Decorator_Settings::get_text_aligns()
S
67 1 8
Storefrog_Connector::add_admin_menu()
S
68 1 6
RP_Decorator_Mockup_Order::needs_shipping_address()
S
82 1 3
Storefrog_Connector::encrypt_data()
S
68 1 6
RP_Decorator::wc_disabled_notice()
S
76 1 3
Wt_Decorator_Review_Request::update_banner_state()
S
80 1 3
RP_Decorator::is_admin()
S
80 1 3
Storefrog_Connector::__construct()
S
65 1 8
Storefrog_Connector::get_asset_url()
S
80 1 3
RP_Decorator_Mockup_Order::get_status()
S
82 1 3
RP_Decorator_Settings::wt_get_prbuilt_email_templates()
S
80 1 3
RP_Decorator_Mockup_Order::get_total()
S
81 1 3
RP_Decorator_Mockup_Product::__construct()
S
81 1 3
RP_Decorator::wt_dec_load_plugin_textdomain()
S
73 1 4
RP_Decorator::wp_version_notice()
S
77 1 3
WP_Customize_Repeater_Control::enqueue()
S
65 1 8
RP_Decorator_Mockup_Product::exists()
S
82 1 3
RP_Decorator_Mockup_Order::get_order_number()
S
79 1 3
WP_Customize_labels_Control::enqueue()
S
91 1 2
RP_Decorator_Mockup_Order::display_item_downloads()
S
91 1 2
RP_Decorator_Mockup_Order::get_item_downloads()
S
82 1 3
RP_Decorator::wc_version_notice()
S
77 1 3
RP_Decorator_Customizer::wt_email_header_before()
S
76 1 4
RP_Decorator_Preview::admin_menu()
S
76 1 3
WP_Customize_Range_value_Control::abs_path_to_url()
S
67 1 8
WP_Customize_Toggleswitch_Control::enqueue()
S
78 1 3
WP_Customize_Range_value_Control::enqueue()
S
73 1 4
RP_Decorator_Preview::output()
S
81 1 3
wt_disabled_notice()
S
77 1 3
RP_Decorator_Preview::__construct()
S
63 1 10
Wt_Decorator_Review_Request::on_deactivate()
S
81 1 3
Storefrog_Connector::get_wc_auth_url()
S
80 1 3
Storefrog_Connector::get_dashboard_url()
S
80 1 3
Storefrog_Connector::get_auth_url()
S
74 1 4
RP_Decorator_Mockup_Order::get_view_order_url()
S
80 1 3
RP_Decorator::php_version_gte()
S
78 1 3
Storefrog_Connector::decrypt_data()
S
68 1 6
Wt_Decorator_Review_Request::reset_start_date()
S
80 1 3
WP_Customize_Wtloadtemplate_Control::enqueue()
S
78 1 3
RP_Decorator_Customizer::get_static_styles()
S
70 1 10
RP_Decorator_Mockup_Order::has_status()
S
82 1 3
Storefrog_Connector::get_refresh_token_url()
S
80 1 3
RP_Decorator_Preview::customize_controls_head()
S
76 1 4
RP_Decorator_Mockup_Product::get_sku()
S
82 1 3
RP_Decorator_Mockup_Product::get_image_id()
S
82 1 3
RP_Decorator::php_version_notice()
S
77 1 3
Storefrog_Connector::is_connected()
S
80 1 3
RP_Decorator_Uninstall_Feedback::__construct()
S
75 1 4
RP_Decorator::__construct()
S
65 1 8
RP_Decorator_Mockup_Order::get_order_currency()
S
81 1 3
RP_Decorator_Mockup_Order::get_checkout_payment_url()
S
81 1 3
RP_Decorator_Customizer::is_own_component()
S
81 1 3
RP_Decorator_Mockup_Order::get_formatted_line_subtotal()
S
78 1 3
RP_Decorator_WC::get_orders()
S
80 1 3
Storefrog_Connector::get_token_url()
S
78 1 3
RP_Decorator_Mockup_Order::get_formatted_billing_full_name()
S
77 1 3
RP_Decorator_Mockup_Product::get_id()
S
82 1 3
RP_Decorator_Mockup_Product::is_visible()
S
82 1 3