AMP_Validation_Manager D

Total Complexity 333
Dependencies 29
Dependents 8
Total lines 2,657
Lines of code 1,530
Logical lines of code 701
Comment lines 862
Methods 55
Properties 14

Methods 55

Method Rating Maintainability Complexity Lines of code
locate_sources()
D
23
45 196
validate_url()
C
31 30 103
update_admin_bar_item()
B
36 15 84
add_admin_bar_menu_items()
B
35 14 92
get_validate_url_error_message()
B
34 12 107
handle_block_source_comment_replacement()
A
42 14 52
enqueue_block_validation()
A
37 11 74
maybe_send_cached_validate_response()
A
41 10 56
wrap_hook_callbacks()
A
43 10 50
finalize_validation()
A
50 11 28
add_validation_error()
A
48 10 31
get_validate_response_data()
A
46 9 39
filter_sanitizer_args()
A
49 9 30
send_validate_response()
A
44 7 44
override_validation_error_statuses()
A
50 8 28
post_supports_validation()
S
56 7 19
get_validate_request_args()
S
50 6 31
can_output_buffer()
S
54 6 20
decorate_filter_source()
S
51 5 27
wrap_block_callbacks()
S
53 5 23
filter_the_editor_to_detect_sources()
S
56 5 18
find_done_dependent_handles()
S
59 5 15
has_dependency()
S
60 5 14
add_validation_error_sourcing()
S
52 4 23
init_validate_request()
S
55 4 21
validate_url_and_store()
S
55 4 20
wrap_buffer_with_source_comments()
S
57 4 17
is_matching_script()
S
57 4 16
has_parameters_passed_by_reference()
S
60 4 14
maybe_fail_validate_request()
S
60 4 13
decorate_shortcode_source()
S
55 3 21
init()
S
55 3 19
wrap_widget_callbacks()
S
57 3 16
unserialize_validation_error_messages()
S
59 3 14
should_validate_response()
S
60 3 13
filter_options_when_force_standard_mode_request()
S
63 3 11
map_meta_cap()
S
65 3 9
is_sanitization_auto_accepted()
S
66 3 8
add_block_source_comments()
S
57 1 19
has_cap()
S
70 2 6
validate_validation_url()
S
64 2 10
remove_illegal_source_stack_comments()
S
72 2 5
get_source_comment()
S
66 2 8
parse_source_comment()
S
65 2 8
decorate_embed_source()
S
60 1 14
is_validate_request()
S
80 1 3
print_edit_form_validation_status()
S
79 1 3
reset_validation_results()
S
68 1 9
get_amp_validate_nonce()
S
78 1 3
wrapped_callback()
S
80 1 3
validate_queued_posts_on_frontend()
S
79 1 3
handle_save_post_prompting_validation()
S
79 1 3
serialize_validation_error_messages()
S
73 1 4
get_source()
S
67 1 9
get_dev_tools_user_access()
S
76 1 4