Cookiebot_WP D

Total Complexity 211
Dependencies 1
Dependents 3
Total lines 1,931
Lines of code 1,394
Logical lines of code 618
Comment lines 378
Methods 48
Properties 2

Methods 48

Method Rating Maintainability Complexity Lines of code
settings_page()
D
14
46 414
debug_page()
B
34 17 80
add_js()
B
43 19 43
cookiebot_init()
B
39 15 63
network_settings_page()
A
32 1 173
automatic_updates()
A
55 9 19
activation()
A
53 8 22
_cookiebot_plugin_conflict_scripttags()
S
49 5 35
get_language()
S
57 6 18
get_wp_consent_api_mapping()
S
56 6 18
add_GTM()
S
53 5 24
show_declaration()
S
53 5 23
can_current_user_edit_theme()
S
62 5 14
cookiebot_valid_admin_recommendation()
S
61 5 13
add_GCM()
S
57 4 18
_cookiebot_plugin_conflict_divi()
S
67 5 9
get_cookie_blocking_mode()
S
64 5 10
support_page()
S
44 1 57
get_supported_languages()
S
42 1 50
get_cbid()
S
65 4 9
cookiebot_disabled_in_admin()
S
65 4 9
cookiebot_admin_notices()
S
51 2 25
GTM_page()
S
51 1 34
legislations_page()
S
53 1 33
save_notice_link()
S
64 3 10
dashboard_widget_status()
S
62 2 12
add_menu()
S
60 2 11
get_default_wp_consent_api_mapping()
S
56 1 20
register_cookiebot_settings()
S
57 1 19
iab_page()
S
59 1 18
instance()
S
72 2 6
network_settings_save()
S
59 1 15
gutenberg_block_setup()
S
67 2 8
is_wp_consent_api_active()
S
72 2 6
cookiebot_fix_plugin_conflicts()
S
100 1 2
gutenberg_block_admin_assets()
S
68 1 8
block_cookie_declaration()
S
82 1 3
load_textdomain()
S
78 1 3
cookiebot_enqueue_consent_api_scripts()
S
72 1 5
__construct()
S
70 1 6
register_widgets()
S
82 1 3
sgo_exclude_external_js()
S
81 1 3
wp_rocket_exclude_external_js()
S
74 1 5
add_menu_legislations()
S
77 1 3
add_menu_debug()
S
77 1 3
add_network_menu()
S
68 1 6
setting_page_placeholder()
S
79 1 3
add_dashboard_widgets()
S
78 1 3