WP_HTML_Tag_Processor D

Total Complexity 189
Dependencies 4
Dependents 4
Total lines 1,324
Lines of code 537
Logical lines of code 322
Comment lines 619
Methods 23
Properties 13

Methods 23

Method Rating Maintainability Complexity Lines of code
skip_script_data()
D
35 40 74
parse_next_tag()
C
35 30 80
matches()
B
43 23 45
skip_rcdata()
A
46 16 35
class_name_updates_to_attributes_updates()
A
42 14 53
parse_query()
A
52 12 25
next_tag()
A
51 11 24
parse_next_attribute()
A
44 8 51
set_attribute()
A
44 8 47
get_attribute()
S
58 4 15
get_updated_html()
S
55 3 20
apply_attributes_updates()
S
61 3 12
get_tag()
S
68 2 7
remove_attribute()
S
64 2 10
add_class()
S
73 2 5
remove_class()
S
73 2 5
skip_tag_closer_attributes()
S
75 2 5
parse_tag_opener_attributes()
S
75 2 5
sort_start_ascending()
S
80 1 3
after_tag()
S
70 1 7
skip_whitespace()
S
79 1 3
__toString()
S
81 1 3
__construct()
S
81 1 3