Iubenda_Code_Extractor A

Total Complexity 68
Dependencies 2
Dependents 4
Total lines 563
Lines of code 253
Logical lines of code 137
Comment lines 222
Methods 22
Properties 12

Methods 22

Method Rating Maintainability Complexity Lines of code
extract_html_tags_with_dom()
A
44 11 42
extract_html_tags_with_simple_html_dom()
A
46 10 40
wp_sanitize_script_attributes()
S
56 7 17
extract_html_tags()
S
59 5 16
handle_scripts()
S
53 4 25
iub_add_attribute_to_scripts()
S
60 4 12
handle_styles()
S
61 3 13
add_iub_cs_skip_class()
S
64 3 9
may_escape_script_from_body()
S
66 3 8
fetch_script_attributes()
S
64 3 10
remove_first_script_tag()
S
67 2 8
set_auto_blocking_state()
S
66 2 8
dispatch_scripts_in_head()
S
71 2 6
enqueue_embed_code()
S
65 1 9
get_site_id()
S
82 1 3
get_cookie_policy_id()
S
82 1 3
get_scripts()
S
82 1 3
fetch_attributes_and_add_skip_class()
S
76 1 4
check_tampered_script()
S
73 1 4
has_tampered_scripts()
S
73 1 5
clean_tampered_scripts()
S
74 1 5
is_auto_blocking_enabled()
S
82 1 3