Cookie_Notice D

Total Complexity 272
Dependencies 10
Dependents 3
Total lines 1,565
Lines of code 814
Logical lines of code 478
Comment lines 422
Methods 47
Properties 28

Methods 47

Method Rating Maintainability Complexity Lines of code
update_notice()
D
28
50 97
multi_array_merge()
C
43 27 41
plugin_action_links()
B
46 20 30
ajax_dismiss_admin_notice()
A
45 14 38
cookies_policy_link_shortcode()
A
46 13 32
__construct()
A
42 11 50
ajax_review_notice()
A
47 12 32
set_status_data()
A
45 11 45
get_url()
A
56 9 17
update_legacy_options()
A
49 8 30
deactivate_plugin()
S
50 7 28
cookies_accepted()
S
60 8 11
cookies_revoke_shortcode()
S
54 7 17
get_allowed_html()
S
41 3 67
deactivation()
S
54 6 21
set_network_data()
S
65 6 7
deactivate_plugin_template()
S
46 3 40
activation()
S
57 4 16
check_legacy_options()
S
61 4 12
cookies_accepted_shortcode()
S
62 4 11
display_notice()
S
62 4 10
deactivate_site()
S
60 3 14
admin_enqueue_scripts()
S
53 2 21
instance()
S
57 2 18
check_subscription()
S
72 3 4
add_notice()
S
63 3 9
check_status()
S
72 3 4
cookies_set()
S
67 2 7
wpsc_add_cookie()
S
70 2 6
wpsc_delete_cookie()
S
70 2 6
set_database_version()
S
70 2 6
is_cookie_policy_page()
S
66 2 7
includes()
S
61 1 13
set_plugin_links()
S
74 1 4
__clone()
S
98 1 1
register_shortcodes()
S
72 1 5
__wakeup()
S
98 1 1
load_textdomain()
S
78 1 3
is_plugin_network_active()
S
82 1 3
is_network_admin()
S
82 1 3
get_api_key()
S
82 1 3
get_cc_activation_datetime()
S
80 1 3
threshold_exceeded()
S
80 1 3
get_subscription()
S
80 1 3
get_status()
S
80 1 3
define_constants()
S
77 1 6
activate_site()
S
69 1 6