AMP_Form_Sanitizer A

Total Complexity 58
Dependencies 7
Dependents 3
Total lines 357
Lines of code 207
Logical lines of code 126
Comment lines 108
Methods 8
Properties 3

Methods 8

Method Rating Maintainability Complexity Lines of code
get_action_url()
B
41 22 58
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