AMP_Form_Sanitizer A

Total Complexity 54
Dependencies 7
Dependents 3
Total lines 342
Lines of code 196
Logical lines of code 118
Comment lines 107
Methods 8
Properties 3

Methods 8

Method Rating Maintainability Complexity Lines of code
get_action_url()
B
43 18 47
sanitize()
A
45 14 44
ensure_response_message_elements()
A
40 9 61
normalize_target_attribute()
S
63 5 10
convert_post_form_to_action_xhr()
S
60 3 12
handle_native_post_form()
S
65 2 10
is_comments_form_element()
S
68 2 7
normalize_action_attribute()
S
73 1 5