AMP_Meta_Sanitizer S

Total Complexity 31
Dependencies 6
Dependents 0
Total lines 303
Lines of code 144
Logical lines of code 75
Comment lines 110
Methods 9
Properties 2

Methods 9

Method Rating Maintainability Complexity Lines of code
sanitize()
A
49 9 31
ensure_viewport_is_present()
S
51 5 26
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