AMP_Meta_Sanitizer S

Total Complexity 33
Dependencies 6
Dependents 1
Total lines 314
Lines of code 147
Logical lines of code 75
Comment lines 116
Methods 9
Properties 3

Methods 9

Method Rating Maintainability Complexity Lines of code
ensure_viewport_is_present()
A
47 8 35
sanitize()
A
51 8 25
re_add_meta_tags_in_optimized_order()
S
62 4 12
ensure_boilerplate_is_present()
S
54 3 22
get_body_meta_tag_name_attribute_deny_pattern()
S
58 3 15
process_amp_script_meta_tags()
S
60 3 13
ensure_charset_is_present()
S
71 2 6
create_charset_element()
S
67 1 9
create_viewport_element()
S
65 1 10