Cookie_Law_Info_Script_Blocker D

Total Complexity 168
Dependencies 3
Dependents 0
Total lines 773
Lines of code 518
Logical lines of code 290
Comment lines 143
Methods 38
Properties 6

Methods 38

Method Rating Maintainability Complexity Lines of code
get_script_data()
B
44 17 38
replace_scripts()
A
42 12 56
strpos_arr()
A
52 12 24
get_script_category_slug_by_id()
A
50 10 29
insert_scripts()
A
52 10 21
wt_cli_plugin_is_active()
A
57 8 16
integrations_settings_page()
S
50 7 25
reset_scripts_category()
S
54 7 20
cli_change_script_category()
S
59 6 12
activator()
S
52 5 23
replace_script_type_attribute()
S
55 5 17
update_script_blocker_status()
S
56 5 17
change_plugin_status()
S
58 5 14
get_third_party_status()
S
61 5 12
end_buffer()
S
68 5 7
load_integrations()
S
60 4 13
show_admin_notice_warning()
S
62 4 11
start_buffer()
S
71 4 5
get_category_by_script_slug()
S
64 4 9
install_tables()
S
54 2 23
update_js_blocking_status()
S
66 3 8
get_script_blocker_status()
S
68 3 7
save_notice_link()
S
72 3 5
get_non_necessary_category_id()
S
66 2 8
update_table_columns()
S
66 2 8
get_scripts()
S
72 2 6
third_party_scripts()
S
72 2 6
wt_cli_admin_notices()
S
63 2 10
advanced_rendering_enabled()
S
72 2 6
get_blocking_status()
S
72 2 6
__construct()
S
58 1 14
add_blocking_control()
S
60 1 13
cli_script_update_category()
S
71 1 5
register_settings_page()
S
65 1 10
init_scripts()
S
82 1 3
update_integration_data()
S
91 1 2
update_script_status()
S
71 1 5
init()
S
77 1 4