Cookiebot_WP D

Total Complexity 211
Dependencies 1
Dependents 3
Total lines 2,056
Lines of code 1,525
Logical lines of code 658
Comment lines 378
Methods 48
Properties 2

Methods 48

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