AMP_DOM_Utils S

Total Complexity 42
Dependencies 7
Dependents 25
Total lines 419
Lines of code 166
Logical lines of code 95
Comment lines 201
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
merge_amp_actions()
A
49 8 32
recursive_force_closing_tags()
S
53 6 23
copy_attributes()
S
55 6 20
get_node_attributes_as_assoc_array()
S
64 3 10
add_attributes_to_node()
S
65 3 9
add_amp_action()
S
61 2 14
get_dom()
S
65 2 8
get_dom_from_content()
S
64 2 9
is_node_empty()
S
78 2 3
has_class()
S
67 2 7
is_valid_head_node()
S
74 1 4
get_content_from_dom()
S
70 1 7
get_content_from_dom_node()
S
75 1 4
create_node()
S
72 1 5
is_self_closing_tag()
S
78 1 3
get_element_id()
S
67 1 8