Code Analysis: Trusted Shops Easy Integration for WooCommerce 2.0.3

Function Rating Maintainability Complexity Lines of code
Vendidero\TrustedShopsEasyIntegration\SecretsHelper::maybe_insert_missing_key()
B
41 16 58
Vendidero\TrustedShopsEasyIntegration\OrderExporter::generate_row_data()
A
43 15 45
Vendidero\TrustedShopsEasyIntegration\Ajax::update_settings()
A
42 13 49
Vendidero\TrustedShopsEasyIntegration\API\Rest::get_response()
A
42 12 53
Vendidero\TrustedShopsEasyIntegration\Package::get_product_data()
A
52 11 23
Vendidero\TrustedShopsEasyIntegration\API\Events::trigger()
A
40 8 61
Vendidero\TrustedShopsEasyIntegration\Hooks::register_scripts()
A
50 10 27
Vendidero\TrustedShopsEasyIntegration\Hooks::fallback_scripts()
A
50 10 23
Vendidero\TrustedShopsEasyIntegration\SecretsHelper::decrypt()
A
45 8 41
Vendidero\TrustedShopsEasyIntegration\Package::get_woo_order_statuses()
A
45 7 44
Vendidero\TrustedShopsEasyIntegration\Package::delete_settings()
A
51 8 25
Vendidero\TrustedShopsEasyIntegration\Hooks::single_product_title_widgets()
A
54 8 22
Vendidero\TrustedShopsEasyIntegration\Ajax::export_orders()
A
43 6 51
Vendidero\TrustedShopsEasyIntegration\Package::get_product_image_src()
A
55 8 20
Vendidero\TrustedShopsEasyIntegration\Install::install()
A
55 8 19
Vendidero\TrustedShopsEasyIntegration\Package::get_widgets()
S
57 8 15
Vendidero\TrustedShopsEasyIntegration\Shortcodes::widget()
S
47 6 40
Vendidero\TrustedShopsEasyIntegration\Package::init()
S
53 6 24
Vendidero\TrustedShopsEasyIntegration\Hooks::filter_script_loader_tag()
S
55 6 17
Vendidero\TrustedShopsEasyIntegration\Compatibility\WPML::export_args()
S
56 6 17
Vendidero\TrustedShopsEasyIntegration\Admin\Helper::product_options_variable()
S
49 5 32
Vendidero\TrustedShopsEasyIntegration\Package::log()
S
58 6 15
Vendidero\TrustedShopsEasyIntegration\Package::get_product_brand()
S
58 6 15
Vendidero\TrustedShopsEasyIntegration\Admin\Helper::async_script_support()
S
57 6 15
Vendidero\TrustedShopsEasyIntegration\SecretsHelper::get_encryption_key_data()
S
52 5 24
Vendidero\TrustedShopsEasyIntegration\Package::register_order_hooks()
S
53 5 24
Vendidero\TrustedShopsEasyIntegration\Package::update_setting()
S
56 5 17
Vendidero\TrustedShopsEasyIntegration\Package::get_product_identifier()
S
58 5 16
Vendidero\TrustedShopsEasyIntegration\Admin\Helper::is_settings_request()
S
64 6 8
Vendidero\TrustedShopsEasyIntegration\Compatibility\WPML::wpml_lang_query()
S
52 4 28
Vendidero\TrustedShopsEasyIntegration\Compatibility\WPML::register_sales_channels()
S
50 4 28
Vendidero\TrustedShopsEasyIntegration\Package::get_service_widgets_by_location()
S
61 5 12
Vendidero\TrustedShopsEasyIntegration\Hooks::get_hook_name()
S
61 5 11
Vendidero\TrustedShopsEasyIntegration\Package::force_load_german_language_variant()
S
61 5 11
Vendidero\TrustedShopsEasyIntegration\Admin\Helper::admin_scripts()
S
43 2 53
Vendidero\TrustedShopsEasyIntegration\Package::get_channels()
S
56 4 17
Vendidero\TrustedShopsEasyIntegration\SecretsHelper::get_encryption_key_notice()
S
56 4 16
Vendidero\TrustedShopsEasyIntegration\Hooks::is_shop_request()
S
76 5 3
Vendidero\TrustedShopsEasyIntegration\Hooks::register_sidebar()
S
64 5 9
Vendidero\TrustedShopsEasyIntegration\Admin\Helper::download_export()
S
61 5 10
Vendidero\TrustedShopsEasyIntegration\Package::get_product_widgets_by_location()
S
61 4 12
Vendidero\TrustedShopsEasyIntegration\Package::load_compatibilities()
S
62 4 12
Vendidero\TrustedShopsEasyIntegration\Package::get_widget_by_type()
S
62 4 11
Vendidero\TrustedShopsEasyIntegration\Package::get_setting()
S
61 4 11
Vendidero\TrustedShopsEasyIntegration\API\Rest::maybe_encode_body()
S
63 4 11
Vendidero\TrustedShopsEasyIntegration\Admin\Helper::save_product()
S
62 4 11
Vendidero\TrustedShopsEasyIntegration\API\Rest::auth()
S
56 3 18
Vendidero\TrustedShopsEasyIntegration\Package::get_trustbadge()
S
66 4 7
Vendidero\TrustedShopsEasyIntegration\Hooks::thankyou()
S
64 4 9
Vendidero\TrustedShopsEasyIntegration\SecretsHelper::log_error()
S
64 4 9
Vendidero\TrustedShopsEasyIntegration\Compatibility\WPML::order_locale()
S
65 4 9
Vendidero\TrustedShopsEasyIntegration\Ajax::suppress_errors()
S
69 4 6
Vendidero\TrustedShopsEasyIntegration\Admin\Helper::init()
S
57 3 15
Vendidero\TrustedShopsEasyIntegration\Admin\Helper::save_variation()
S
63 4 10
Vendidero\TrustedShopsEasyIntegration\Package::is_frontend()
S
76 4 3
Vendidero\TrustedShopsEasyIntegration\Package::get_order_locale()
S
61 3 12
Vendidero\TrustedShopsEasyIntegration\SecretsHelper::encrypt()
S
60 3 12
Vendidero\TrustedShopsEasyIntegration\Package::load_plugin_textdomain()
S
59 3 12
Vendidero\TrustedShopsEasyIntegration\Package::get_available_order_statuses()
S
62 3 11
Vendidero\TrustedShopsEasyIntegration\Hooks::product_loop_rating_widgets()
S
63 3 11
Vendidero\TrustedShopsEasyIntegration\OrderExporter::get_default_column_names()
S
55 2 21
Vendidero\TrustedShopsEasyIntegration\Package::get_ts_locale()
S
56 2 20
Vendidero\TrustedShopsEasyIntegration\OrderExporter::get_orders()
S
56 2 17
Vendidero\TrustedShopsEasyIntegration\Hooks::maybe_do_single_product_title_hooks()
S
72 3 5
Vendidero\TrustedShopsEasyIntegration\Package::is_integration()
S
76 3 3
Vendidero\TrustedShopsEasyIntegration\Package::is_frontend_request()
S
77 3 3
Vendidero\TrustedShopsEasyIntegration\Package::get_sales_channels_map()
S
71 3 6
Vendidero\TrustedShopsEasyIntegration\Hooks::render_single_widget()
S
65 3 8
Vendidero\TrustedShopsEasyIntegration\Package::get_setting_key()
S
65 3 9
Vendidero\TrustedShopsEasyIntegration\Package::get_etrusted_channel_ref()
S
63 3 10
Vendidero\TrustedShopsEasyIntegration\Package::is_configured()
S
68 3 7
Vendidero\TrustedShopsEasyIntegration\Package::get_trustbadge_id()
S
70 3 6
Vendidero\TrustedShopsEasyIntegration\Package::has_valid_trustbadge()
S
69 3 6
Vendidero\TrustedShopsEasyIntegration\Hooks::product_loop_inner_widgets()
S
67 3 8
Vendidero\TrustedShopsEasyIntegration\Package::get_product_identifier_name()
S
65 3 9
Vendidero\TrustedShopsEasyIntegration\Package::get_widgets_by_location()
S
64 3 10
Vendidero\TrustedShopsEasyIntegration\SecretsHelper::get_encryption_key_constant()
S
73 3 4
Vendidero\TrustedShopsEasyIntegration\Hooks::after_template()
S
65 3 9
Vendidero\TrustedShopsEasyIntegration\SecretsHelper::supports_auto_insert()
S
66 3 8
Vendidero\TrustedShopsEasyIntegration\API\Rest::get_request_url()
S
69 3 6
Vendidero\TrustedShopsEasyIntegration\Ajax::get_settings()
S
58 2 15
Vendidero\TrustedShopsEasyIntegration\Package::is_rest_api_request()
S
65 3 9
Vendidero\TrustedShopsEasyIntegration\Hooks::maybe_enqueue_widget_script()
S
72 3 5
Vendidero\TrustedShopsEasyIntegration\Ajax::disconnect()
S
60 2 13
Vendidero\TrustedShopsEasyIntegration\Ajax::add_ajax_events()
S
62 2 12
Vendidero\TrustedShopsEasyIntegration\API\Rest::get_header()
S
62 2 11
Vendidero\TrustedShopsEasyIntegration\Hooks::init()
S
52 1 22
Vendidero\TrustedShopsEasyIntegration\Admin\Helper::product_options()
S
55 1 22
Vendidero\TrustedShopsEasyIntegration\OrderExporter::__construct()
S
56 1 20
Vendidero\TrustedShopsEasyIntegration\Admin\Helper::get_order_statuses()
S
68 2 7
Vendidero\TrustedShopsEasyIntegration\Hooks::register_custom_review_tab()
S
63 2 10
Vendidero\TrustedShopsEasyIntegration\Shortcodes::init()
S
67 2 8
Vendidero\TrustedShopsEasyIntegration\Compatibility\WPML::sales_channel_by_order()
S
70 2 6
Vendidero\TrustedShopsEasyIntegration\Admin\Helper::encryption_key_missing_notice()
S
64 2 10
Vendidero\TrustedShopsEasyIntegration\API\Rest::has_auth()
S
69 2 7
Vendidero\TrustedShopsEasyIntegration\API\RestResponse::get()
S
74 2 4
Vendidero\TrustedShopsEasyIntegration\SecretsHelper::memzero()
S
69 2 7
Vendidero\TrustedShopsEasyIntegration\Hooks::header_widgets()
S
73 2 5
Vendidero\TrustedShopsEasyIntegration\Hooks::sidebar_widgets()
S
73 2 5
Vendidero\TrustedShopsEasyIntegration\OrderExporter::prepare_data_to_export()
S
69 2 7
Vendidero\TrustedShopsEasyIntegration\Ajax::generate_file_suffix()
S
66 2 8
Vendidero\TrustedShopsEasyIntegration\Package::get_german_language_variant()
S
69 2 6
Vendidero\TrustedShopsEasyIntegration\Package::declare_feature_compatibility()
S
68 2 6
Vendidero\TrustedShopsEasyIntegration\OrderExporter::set_days_to_export()
S
71 2 6
Vendidero\TrustedShopsEasyIntegration\SecretsHelper::get_random_encryption_key()
S
67 2 7
Vendidero\TrustedShopsEasyIntegration\Package::support_german_language_variants()
S
70 2 6
Vendidero\TrustedShopsEasyIntegration\Compatibility\WPML::get_sales_channel_id_by_language()
S
65 2 9
Vendidero\TrustedShopsEasyIntegration\Package::is_connected()
S
71 2 5
Vendidero\TrustedShopsEasyIntegration\Package::get_events_api()
S
71 2 6
Vendidero\TrustedShopsEasyIntegration\Package::has_mapped_channel()
S
74 2 4
Vendidero\TrustedShopsEasyIntegration\Package::init_hooks()
S
70 2 6
Vendidero\TrustedShopsEasyIntegration\Hooks::footer_widgets()
S
73 2 5
Vendidero\TrustedShopsEasyIntegration\API\Rest::get_basic_auth()
S
71 2 6
Vendidero\TrustedShopsEasyIntegration\Package::sales_channel_is_mapped()
S
73 2 4
Vendidero\TrustedShopsEasyIntegration\Package::get_system_version()
S
78 2 3
Vendidero\TrustedShopsEasyIntegration\Hooks::needs_custom_reviews_tab()
S
67 2 8
Vendidero\TrustedShopsEasyIntegration\Package::is_debug_mode()
S
78 2 3
Vendidero\TrustedShopsEasyIntegration\Package::action_links()
S
66 2 8
Vendidero\TrustedShopsEasyIntegration\Hooks::single_product_widgets()
S
73 2 5
Vendidero\TrustedShopsEasyIntegration\API\Rest::get_timeout()
S
79 2 3
Vendidero\TrustedShopsEasyIntegration\Hooks::register_header()
S
74 2 5
Vendidero\TrustedShopsEasyIntegration\Package::get_sales_channel()
S
68 2 7
Vendidero\TrustedShopsEasyIntegration\Hooks::register_footer()
S
74 2 5
Vendidero\TrustedShopsEasyIntegration\Hooks::homepage_widgets()
S
73 2 5
Vendidero\TrustedShopsEasyIntegration\Hooks::register_homepage()
S
73 2 5
Vendidero\TrustedShopsEasyIntegration\Package::get_widget_integration_url()
S
77 2 3
Vendidero\TrustedShopsEasyIntegration\Package::get_lib_assets_url()
S
77 2 3
Vendidero\TrustedShopsEasyIntegration\Hooks::product_loop_widgets()
S
73 2 5
Vendidero\TrustedShopsEasyIntegration\Hooks::single_product_description_widgets()
S
73 2 5
Vendidero\TrustedShopsEasyIntegration\Package::get_product_sku()
S
67 2 7
Vendidero\TrustedShopsEasyIntegration\Admin\SettingsPage::output()
S
68 2 8
Vendidero\TrustedShopsEasyIntegration\Package::get_sales_channels()
S
60 1 14
Vendidero\TrustedShopsEasyIntegration\Hooks::get_theme_custom_hook_names()
S
64 1 11
Vendidero\TrustedShopsEasyIntegration\Ajax::init()
S
80 1 3
Vendidero\TrustedShopsEasyIntegration\OrderExporter::get_file_path()
S
74 1 4
Vendidero\TrustedShopsEasyIntegration\Admin\Settings::get_settings_url()
S
80 1 3
Vendidero\TrustedShopsEasyIntegration\Admin\Helper::get_screen_ids()
S
76 1 4
Vendidero\TrustedShopsEasyIntegration\OrderExporter::send_headers()
S
72 1 6
Vendidero\TrustedShopsEasyIntegration\API\Rest::get()
S
78 1 3
Vendidero\TrustedShopsEasyIntegration\API\Rest::get_access_token()
S
76 1 4
Vendidero\TrustedShopsEasyIntegration\Hooks::register_single_product_description_content_filter()
S
69 1 7
Vendidero\TrustedShopsEasyIntegration\API\RestResponse::is_error()
S
80 1 3
Vendidero\TrustedShopsEasyIntegration\API\Rest::get_url()
S
82 1 3
Vendidero\TrustedShopsEasyIntegration\Admin\SettingsPage::__construct()
S
72 1 5
Vendidero\TrustedShopsEasyIntegration\Hooks::register_product_loop()
S
80 1 3
Vendidero\TrustedShopsEasyIntegration\API\RestResponse::get_body()
S
79 1 3
Vendidero\TrustedShopsEasyIntegration\Install::add_options()
S
89 1 2
Vendidero\TrustedShopsEasyIntegration\OrderExporter::set_include_product_data()
S
80 1 3
Vendidero\TrustedShopsEasyIntegration\API\Events::get_url()
S
82 1 3
Vendidero\TrustedShopsEasyIntegration\API\Rest::put()
S
78 1 3
Vendidero\TrustedShopsEasyIntegration\Admin\SettingsPage::get_sections()
S
75 1 4
Vendidero\TrustedShopsEasyIntegration\OrderExporter::set_sales_channel()
S
81 1 3
Vendidero\TrustedShopsEasyIntegration\SecretsHelper::has_valid_encryption_key()
S
79 1 3
Vendidero\TrustedShopsEasyIntegration\Package::has_dependencies()
S
80 1 3
Vendidero\TrustedShopsEasyIntegration\Package::uninstall()
S
77 1 4
Vendidero\TrustedShopsEasyIntegration\API\Rest::post()
S
78 1 3
Vendidero\TrustedShopsEasyIntegration\SecretsHelper::has_errors()
S
78 1 3
Vendidero\TrustedShopsEasyIntegration\Hooks::register_product_loop_inner()
S
80 1 3
Vendidero\TrustedShopsEasyIntegration\API\RestResponse::get_code()
S
82 1 3
Vendidero\TrustedShopsEasyIntegration\Compatibility\WPML::unregister_lang_meta_query()
S
78 1 3
Vendidero\TrustedShopsEasyIntegration\OrderExporter::set_filename_suffix()
S
79 1 3
Vendidero\TrustedShopsEasyIntegration\Package::get_product_mpn()
S
77 1 3
Vendidero\TrustedShopsEasyIntegration\Compatibility\WPML::register_lang_meta_query()
S
78 1 3
Vendidero\TrustedShopsEasyIntegration\Package::install()
S
77 1 4
Vendidero\TrustedShopsEasyIntegration\Compatibility\WPML::set_current_sales_channel()
S
73 1 5
Vendidero\TrustedShopsEasyIntegration\Package::get_template()
S
77 1 3
Vendidero\TrustedShopsEasyIntegration\Admin\Settings::before_save()
S
89 1 2
Vendidero\TrustedShopsEasyIntegration\Admin\Settings::output()
S
70 1 8
Vendidero\TrustedShopsEasyIntegration\Hooks::register_single_product_description()
S
80 1 3
Vendidero\TrustedShopsEasyIntegration\Hooks::add_single_product_description_content_filter()
S
75 1 4
Vendidero\TrustedShopsEasyIntegration\Admin\Settings::after_save()
S
89 1 2
Vendidero\TrustedShopsEasyIntegration\Package::get_trustbadges()
S
75 1 4
Vendidero\TrustedShopsEasyIntegration\Package::get_sales_channel_by_order()
S
78 1 3
Vendidero\TrustedShopsEasyIntegration\Package::get_url()
S
79 1 3
Vendidero\TrustedShopsEasyIntegration\Package::get_template_html()
S
77 1 3
Vendidero\TrustedShopsEasyIntegration\Hooks::remove_single_product_description_content_filter()
S
78 1 3
Vendidero\TrustedShopsEasyIntegration\Admin\SettingsPage::save()
S
75 1 5
Vendidero\TrustedShopsEasyIntegration\Package::get_path()
S
80 1 3
Vendidero\TrustedShopsEasyIntegration\Package::get_version()
S
80 1 3
Vendidero\TrustedShopsEasyIntegration\Package::get_product_gtin()
S
77 1 3
Vendidero\TrustedShopsEasyIntegration\Package::get_used_order_statuses()
S
75 1 4
Vendidero\TrustedShopsEasyIntegration\Admin\Helper::register_settings()
S
76 1 4
Vendidero\TrustedShopsEasyIntegration\Package::get_settings()
S
66 1 9
Vendidero\TrustedShopsEasyIntegration\API\RestResponse::get_body_raw()
S
82 1 3
Vendidero\TrustedShopsEasyIntegration\Admin\SettingsPage::get_settings()
S
74 1 4
Vendidero\TrustedShopsEasyIntegration\Package::get_order_payment_method()
S
80 1 3
Vendidero\TrustedShopsEasyIntegration\Compatibility\WPML::is_active()
S
80 1 3
Vendidero\TrustedShopsEasyIntegration\Install::uninstall()
S
77 1 4
Vendidero\TrustedShopsEasyIntegration\Package::dependency_notice()
S
73 1 5
Vendidero\TrustedShopsEasyIntegration\Admin\Settings::get_help_url()
S
81 1 3
Vendidero\TrustedShopsEasyIntegration\Admin\Settings::get_description()
S
81 1 3
Vendidero\TrustedShopsEasyIntegration\Package::get_current_sales_channel()
S
79 1 3
Vendidero\TrustedShopsEasyIntegration\Compatibility\WPML::init()
S
64 1 9
Vendidero\TrustedShopsEasyIntegration\Ajax::get_request_data()
S
75 1 4
Vendidero\TrustedShopsEasyIntegration\API\RestResponse::__construct()
S
73 1 5
Vendidero\TrustedShopsEasyIntegration\Hooks::register_lazy_hooks()
S
64 1 8
Vendidero\TrustedShopsEasyIntegration\Admin\Settings::get_sections()
S
81 1 3
Vendidero\TrustedShopsEasyIntegration\API\Rest::get_content_type()
S
82 1 3
Vendidero\TrustedShopsEasyIntegration\Admin\Settings::get_settings()
S
81 1 3
Vendidero\TrustedShopsEasyIntegration\OrderExporter::include_product_data()
S
82 1 3
Vendidero\TrustedShopsEasyIntegration\Install::update()
S
89 1 2
Vendidero\TrustedShopsEasyIntegration\Admin\Helper::get_current_admin_locale()
S
80 1 3
Vendidero\TrustedShopsEasyIntegration\Hooks::register_review_tab()
S
77 1 4
Vendidero\TrustedShopsEasyIntegration\API\RestResponse::get_type()
S
82 1 3
Vendidero\TrustedShopsEasyIntegration\Admin\SettingsPage::get_settings_for_section_core()
S
80 1 3
Vendidero\TrustedShopsEasyIntegration\Package::get_assets_url()
S
79 1 3
Vendidero\TrustedShopsEasyIntegration\OrderExporter::get_sales_channel()
S
82 1 3