AMP_DOM_Utils S

Total Complexity 44
Dependencies 5
Dependents 21
Total lines 482
Lines of code 172
Logical lines of code 96
Comment lines 257
Methods 19
Properties 0

Methods 19

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
add_attributes_to_node()
S
65 3 9
get_node_attributes_as_assoc_array()
S
64 3 10
add_amp_action()
S
61 2 14
is_node_empty()
S
78 2 3
get_dom_from_content()
S
67 2 7
has_class()
S
67 2 7
get_content_from_dom()
S
70 1 7
get_content_from_dom_node()
S
75 1 4
create_node()
S
72 1 5
is_valid_head_node()
S
74 1 4
restore_amp_bind_attributes()
S
76 1 4
convert_amp_bind_attributes()
S
76 1 4
is_self_closing_tag()
S
78 1 3
get_element_id()
S
67 1 8
get_amp_bind_placeholder_prefix()
S
76 1 4
get_dom()
S
74 1 4