Cookie_Law_Info_Cookies D

Total Complexity 196
Dependencies 4
Dependents 3
Total lines 1,121
Lines of code 947
Logical lines of code 414
Comment lines 71
Methods 63
Properties 4

Methods 63

Method Rating Maintainability Complexity Lines of code
get_cookie_category_options()
A
40 14 58
manage_posts_custom_columns()
A
44 13 45
migrate_cookie_terms()
A
45 13 39
update_non_necessary_cookie_settings()
A
61 10 10
migrate()
A
52 8 21
get_non_necessary_cookie_settings()
A
54 8 18
order_category_by_key()
A
56 8 18
load_default_terms()
S
49 7 30
enqueue_scripts()
S
54 6 21
load_default_cookies()
S
50 5 29
check_if_category_has_changed()
S
55 5 20
save_custom_metaboxes()
S
59 5 15
get_necessary_cookie_settings()
S
56 4 17
admin_non_necessary_cookie_page()
S
60 4 12
admin_necessary_cookie_page()
S
60 4 12
get_default_cookies()
S
46 1 53
register_settings_page()
S
56 3 20
update_necessary_cookie_settings()
S
68 4 6
register_custom_post_type()
S
46 1 41
get_necessary_category_ids()
S
63 3 11
add_cookie_migration_notice()
S
53 2 24
create_taxonomy()
S
55 2 20
get_cookies_by_term()
S
57 2 19
get_default_cookie_categories()
S
50 1 34
get_cookies_by_meta()
S
59 2 17
cookie_edit_defaultstate()
S
58 2 16
get_cookies()
S
65 3 10
get_cookie_category_terms()
S
59 2 15
finish_request()
S
65 3 8
save_scripts_meta()
S
69 3 6
wt_cli_post_exists_by_slug()
S
59 2 15
get_term_data_by_slug()
S
66 3 8
cookie_save_defaultstate()
S
64 3 10
edit_scripts_meta()
S
56 1 23
add_scripts_meta()
S
61 1 18
get_allowed_html()
S
58 1 18
__construct()
S
56 1 17
metabox_cookie_duration()
S
63 2 10
update_term_meta()
S
69 2 6
get_meta_data_from_db()
S
65 2 9
wp_term_is_shared()
S
66 2 8
check_if_old_category_table()
S
77 2 3
metabox_cookie_type()
S
64 2 9
check_strictly_necessary_category()
S
69 2 7
metabox_cookie_sensitivity()
S
64 2 9
get_instance()
S
71 2 6
metabox_cookie_slugid()
S
64 2 9
manage_edit_columns()
S
60 1 13
get_non_necessary_defaults()
S
62 1 12
get_cookie_db_version()
S
75 1 4
cookie_add_defaultstate()
S
66 1 10
add_meta_box()
S
68 1 6
load_default_plugin_settings()
S
78 1 4
edit_category_form_fields()
S
77 1 4
edit_category_meta()
S
77 1 4
add_category_meta()
S
74 1 5
get_term_meta()
S
78 1 3
get_necessary_defaults()
S
66 1 9
save_priority_meta()
S
79 1 3
get_cookie_category_options_old()
S
69 1 7
get_strictly_necessory_categories()
S
75 1 4
init()
S
73 1 5
add_category_form_fields()
S
77 1 4