Iubenda_Code_Extractor A

Total Complexity 66
Dependencies 2
Dependents 4
Total lines 543
Lines of code 248
Logical lines of code 133
Comment lines 205
Methods 21
Properties 11

Methods 21

Method Rating Maintainability Complexity Lines of code
extract_html_tags_with_dom()
A
44 11 44
extract_html_tags_with_simple_html_dom()
A
47 9 37
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
fetch_script_attributes()
S
64 3 10
add_iub_cs_skip_class()
S
64 3 9
may_escape_script_from_body()
S
66 3 8
set_auto_blocking_state()
S
68 2 7
dispatch_scripts_in_head()
S
71 2 6
remove_first_script_tag()
S
67 2 8
get_site_id()
S
82 1 3
get_scripts()
S
82 1 3
enqueue_embed_code()
S
65 1 9
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