WP_HTML_Tag_Processor D

Total Complexity 181
Dependencies 4
Dependents 0
Total lines 1,285
Lines of code 513
Logical lines of code 304
Comment lines 612
Methods 22
Properties 13

Methods 22

Method Rating Maintainability Complexity Lines of code
skip_script_data()
D
35 39 73
parse_next_tag()
C
39 25 62
matches()
B
43 23 45
class_name_updates_to_attributes_updates()
A
42 14 52
skip_rcdata()
A
47 15 34
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
__toString()
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
__construct()
S
81 1 3