AMP_Validated_URL_Post_Type D

Total Complexity 461
Dependencies 19
Dependents 3
Total lines 3,300
Lines of code 2,400
Logical lines of code 1,157
Comment lines 625
Methods 50
Properties 1

Methods 50

Method Rating Maintainability Complexity Lines of code
print_stylesheets_meta_box()
D
10
65 435
render_sources_column()
C
30 29 119
output_custom_column()
C
32 30 93
print_status_meta_box()
C
27
21 168
store_validation_errors()
C
30 22 122
print_admin_notice()
C
30 21 129
handle_validation_error_status_update()
B
37 20 73
register()
B
35 17 84
handle_validate_request()
B
38 15 69
get_post_staleness()
B
42 16 51
display_invalid_url_validation_error_counts_summary()
A
41 12 61
get_recent_validation_errors_by_source()
A
45 11 43
get_invalid_url_validation_errors()
A
45 11 42
enqueue_edit_post_screen_scripts()
A
45 11 41
filter_post_row_actions()
A
44 10 46
is_post_safe_to_garbage_collect()
A
45 9 46
handle_bulk_action()
A
44 9 44
get_validated_url_title()
A
54 9 19
enqueue_post_list_screen_scripts()
S
44 5 50
render_php_fatal_error_admin_notice()
S
52 6 24
recheck_post()
S
53 6 24
count_invalid_url_validation_errors()
S
54 6 23
add_admin_hooks()
S
39 3 68
add_meta_boxes()
S
48 5 34
update_validated_url_menu_item()
S
55 6 18
get_validated_environment()
S
49 5 32
render_link_to_error_index_screen()
S
53 5 24
normalize_url_for_storage()
S
52 5 23
get_invalid_url_post()
S
54 5 22
add_post_columns()
S
48 4 35
render_single_url_list_table()
S
44 3 49
filter_the_title_in_post_list_table()
S
67 6 6
get_validation_error_urls_count()
S
51 4 29
get_url_from_post()
S
60 5 12
garbage_collect_validated_urls()
S
53 4 24
print_url_as_title()
S
56 4 21
handle_plugin_update()
S
54 4 20
add_taxonomy()
S
62 5 10
get_recheck_url()
S
59 4 14
delete_stylesheets_postmeta_batch()
S
53 3 24
filter_bulk_post_updated_messages()
S
52 2 28
add_single_post_columns()
S
48 1 41
filter_bulk_actions()
S
63 3 10
render_post_filters()
S
70 3 6
is_validated_url_admin_screen()
S
64 3 10
get_terms_per_page()
S
69 2 7
filter_admin_title()
S
66 2 8
filter_table_views()
S
67 2 7
get_markup_status_preview_url()
S
70 1 7
is_amp_enabled_on_post()
S
71 1 5