WP_HTML_Tag_Processor D

Total Complexity 258
Dependencies 4
Dependents 9
Total lines 2,015
Lines of code 749
Logical lines of code 448
Comment lines 1,030
Methods 27
Properties 18

Methods 27

Method Rating Maintainability Complexity Lines of code
skip_script_data()
D
33 43 82
parse_next_tag()
D
33 39 89
matches()
C
42 25 48
class_name_updates_to_attributes_updates()
B
40 17 63
skip_rcdata()
B
45 18 40
next_tag()
B
45 17 40
parse_next_attribute()
A
40 14 67
parse_query()
A
47 14 37
set_attribute()
A
43 9 53
apply_attributes_updates()
A
49 9 32
get_updated_html()
S
54 6 22
get_attribute()
S
54 6 22
remove_attribute()
S
54 6 21
get_attribute_names_with_prefix()
S
60 5 13
set_bookmark()
S
56 4 18
get_enqueued_attribute_value()
S
58 4 15
sort_start_ascending()
S
62 4 11
seek()
S
54 3 23
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
66 1 9
__toString()
S
81 1 3
skip_whitespace()
S
79 1 3
__construct()
S
81 1 3