Code Analysis: CookieLegit 1.0.0

Function Rating Maintainability Complexity Lines of code
Cookie_Legit\Public\Cookie_Legit_Blocker::maybe_block_scripts()
S
53 7 19
Cookie_Legit\Models\Cookie_Legit_Settings::default_settings()
S
37 1 100
Cookie_Legit\Public\Cookie_Legit_Blocker::maybe_block_iframes()
S
53 6 19
Cookie_Legit_View_Loader::load()
S
56 6 17
cookie_legit_current_language()
S
61 6 12
Cookie_Legit\Models\Cookie_Legit_Settings::sanitize()
S
57 5 19
Cookie_Legit\Public\Cookie_Legit_Pixel_Loader::get_tracking_scripts()
S
56 5 17
Cookie_Legit\Public\Cookie_Legit_Notice::get_cookie_notice()
S
54 4 20
Cookie_Legit_Autoloader::load()
S
56 4 16
Cookie_Legit\Models\Cookie_Legit_Settings::sanitizeMany()
S
60 4 12
Cookie_Legit\Admin\Cookie_Legit_Admin_Pages::settings()
S
53 3 21
Cookie_Legit\Admin\Cookie_Legit_Admin_Requests::save_settings()
S
62 4 9
Cookie_Legit\Public\Cookie_Legit_Notice::enqueue_assets()
S
60 3 11
cookie_legit_is_translatable()
S
70 3 7
Cookie_Legit\Public\Cookie_Legit_Pixel_Loader::load_gmt_consent_scripts()
S
62 3 10
Cookie_Legit_View_Loader::allowed_html()
S
52 1 28
Cookie_Legit\Admin\Cookie_Legit_Admin_Menu::register_sub_menus()
S
54 1 26
Cookie_Legit\Models\Cookie_Legit_Settings::notices_types()
S
54 1 24
Cookie_Legit_Main::get_instance()
S
71 2 6
Cookie_Legit\Models\Cookie_Legit_Settings::get_blocking_settings()
S
73 2 4
Cookie_Legit\Models\Cookie_Legit_Settings::get_additional_settings()
S
73 2 4
Cookie_Legit\Models\Cookie_Legit_Settings::get_translation_addition()
S
71 2 6
Cookie_Legit\Admin\Cookie_Legit_Admin_Assets::load_styles()
S
69 2 6
Cookie_Legit\Models\Cookie_Legit_Settings::get_notice_settings()
S
73 2 4
Cookie_Legit\Admin\Cookie_Legit_Admin_Assets::load_scripts()
S
69 2 6
Cookie_Legit_Activate::register_settings()
S
72 2 5
Cookie_Legit_Main::boot()
S
69 2 7
Cookie_Legit\Models\Cookie_Legit_Settings::get_pixel_settings()
S
73 2 4
Cookie_Legit\Admin\Cookie_Legit_Admin_Menu::register_main_menu()
S
64 1 11
Cookie_Legit\Public\Cookie_Legit_Action_Loader::load()
S
61 1 11
Cookie_Legit\Admin\Cookie_Legit_Admin_Loader::load()
S
67 1 7
Cookie_Legit_Autoloader::register()
S
79 1 3
Cookie_Legit\Models\Cookie_Legit_Settings::get_default_settings()
S
79 1 3
Cookie_Legit\Models\Cookie_Legit_Settings::get_setting_types()
S
79 1 3
Cookie_Legit_Main::__construct()
S
91 1 2
SampleTest::test_sample()
S
81 1 3
Cookie_Legit_Translations::load()
S
79 1 3
Cookie_Legit\Models\Cookie_Legit_Settings::get_additional_settings_name()
S
81 1 3
_manually_load_plugin()
S
79 1 3
Cookie_Legit\Models\Cookie_Legit_Settings::get_notice_settings_name()
S
79 1 3
SettingsTest::test_the_truth()
S
81 1 3
Cookie_Legit\Models\Cookie_Legit_Settings::get_blocking_settings_name()
S
79 1 3
Cookie_Legit\Models\Cookie_Legit_Settings::get_translated_notice_type()
S
68 1 7
Cookie_Legit\Public\Cookie_Legit_Pixel_Loader::maybe_load_gtm_consent_footer_pixels()
S
80 1 3
Cookie_Legit_Translations::load_text_domain()
S
79 1 3
Cookie_Legit\Models\Cookie_Legit_Settings::get_pixel_settings_name()
S
81 1 3
Cookie_Legit_Activate::activate()
S
80 1 3
Cookie_Legit\Public\Cookie_Legit_Pixel_Loader::maybe_load_gtm_consent_header_pixels()
S
80 1 3
Cookie_Legit_View_Loader::exists()
S
73 1 4