AMP_Meta_Sanitizer S

Total Complexity 34
Dependencies 6
Dependents 1
Total lines 323
Lines of code 153
Logical lines of code 77
Comment lines 117
Methods 9
Properties 3

Methods 9

Method Rating Maintainability Complexity Lines of code
sanitize()
A
49 9 31
ensure_viewport_is_present()
A
47 8 35
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