Code Analysis: CookieLegit 1.0.0

Most Complex Functions

Function Rating Complexity
Cookie_Legit\Public\Cookie_Legit_Blocker::maybe_block_scripts()
S
7
Cookie_Legit\Models\Cookie_Legit_Settings::default_settings()
S
1
Cookie_Legit\Public\Cookie_Legit_Blocker::maybe_block_iframes()
S
6
Cookie_Legit_View_Loader::load()
S
6
cookie_legit_current_language()
S
6
Cookie_Legit\Models\Cookie_Legit_Settings::sanitize()
S
5
Cookie_Legit\Public\Cookie_Legit_Pixel_Loader::get_tracking_scripts()
S
5
Cookie_Legit\Public\Cookie_Legit_Notice::get_cookie_notice()
S
4
Cookie_Legit_Autoloader::load()
S
4
Cookie_Legit\Models\Cookie_Legit_Settings::sanitizeMany()
S
4
Cookie_Legit\Admin\Cookie_Legit_Admin_Pages::settings()
S
3
Cookie_Legit\Admin\Cookie_Legit_Admin_Requests::save_settings()
S
4