Cookie_Law_Info_Script_Blocker D

Total Complexity 161
Dependencies 3
Dependents 0
Total lines 738
Lines of code 501
Logical lines of code 276
Comment lines 150
Methods 36
Properties 6

Methods 36

Method Rating Maintainability Complexity Lines of code
get_script_data()
B
44 17 38
replace_scripts()
A
41 12 62
strpos_arr()
A
51 12 28
get_script_category_slug_by_id()
A
50 10 29
insert_scripts()
A
52 10 21
wt_cli_plugin_is_active()
A
56 8 18
integrations_settings_page()
S
50 7 25
reset_scripts_category()
S
54 7 20
init_script_blocker()
S
63 7 9
change_plugin_status()
S
58 6 13
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
57 5 15
get_third_party_status()
S
61 5 12
load_integrations()
S
60 4 13
get_category_by_script_slug()
S
64 4 9
install_tables()
S
55 2 22
get_script_blocker_status()
S
68 3 7
update_js_blocking_status()
S
66 3 8
get_scripts()
S
72 2 6
third_party_scripts()
S
72 2 6
advanced_rendering_enabled()
S
72 2 6
end_buffer()
S
75 2 5
get_blocking_status()
S
72 2 6
get_non_necessary_category_id()
S
66 2 8
update_table_columns()
S
69 2 6
__construct()
S
59 1 13
add_blocking_control()
S
60 1 13
cli_script_update_category()
S
74 1 4
register_settings_page()
S
65 1 10
init_scripts()
S
82 1 3
init()
S
77 1 4
start_buffer()
S
80 1 3
update_integration_data()
S
91 1 2
update_script_status()
S
71 1 5