WP_HTML_Tag_Processor D

Total Complexity 269
Dependencies 4
Dependents 17
Total lines 2,044
Lines of code 784
Logical lines of code 478
Comment lines 1,016
Methods 27
Properties 16

Methods 27

Method Rating Maintainability Complexity Lines of code
parse_next_tag()
D
28
50 119
skip_script_data()
D
33 43 83
matches()
C
42 25 48
class_name_updates_to_attributes_updates()
B
40 17 63
skip_rcdata()
B
44 18 41
next_tag()
B
45 17 40
parse_next_attribute()
A
40 14 67
parse_query()
A
47 14 37
apply_attributes_updates()
A
45 11 44
set_attribute()
A
43 9 53
get_attribute()
S
54 6 22
remove_attribute()
S
54 6 21
set_bookmark()
S
56 5 18
get_attribute_names_with_prefix()
S
60 5 13
get_enqueued_attribute_value()
S
58 4 15
sort_start_ascending()
S
62 4 11
seek()
S
55 3 21
get_updated_html()
S
58 3 16
add_class()
S
66 3 9
remove_class()
S
66 3 9
get_tag()
S
68 2 7
release_bookmark()
S
69 2 7
is_tag_closer()
S
82 1 3
after_tag()
S
68 1 8
skip_whitespace()
S
79 1 3
__toString()
S
81 1 3
__construct()
S
81 1 3