WP_HTML_Tag_Processor D

Total Complexity 211
Dependencies 4
Dependents 5
Total lines 1,435
Lines of code 600
Logical lines of code 365
Comment lines 652
Methods 22
Properties 16

Methods 22

Method Rating Maintainability Complexity Lines of code
skip_script_data()
D
33 43 82
parse_next_tag()
D
34 32 89
matches()
C
42 25 48
skip_rcdata()
B
45 18 40
next_tag()
A
45 16 40
parse_next_attribute()
A
40 14 66
class_name_updates_to_attributes_updates()
A
42 14 53
parse_query()
A
50 13 29
set_attribute()
A
45 8 47
get_updated_html()
S
54 4 22
get_attribute()
S
58 4 15
apply_attributes_updates()
S
61 3 12
remove_attribute()
S
64 3 10
add_class()
S
67 3 8
remove_class()
S
67 3 8
get_tag()
S
68 2 7
sort_start_ascending()
S
80 1 3
is_tag_closer()
S
82 1 3
__toString()
S
81 1 3
after_tag()
S
66 1 9
skip_whitespace()
S
79 1 3
__construct()
S
81 1 3