PP_Calendar D

Total Complexity 472
Dependencies 10
Dependents 0
Total lines 4,068
Lines of code 2,883
Logical lines of code 1,206
Comment lines 584
Methods 83
Properties 11

Methods 83

Method Rating Maintainability Complexity Lines of code
enqueue_admin_scripts()
D
20
29 247
createItem()
D
27
37 124
calendar_filter_options()
C
31 20 123
generate_post_li_html()
B
31 16 125
generateVTimeZone()
B
34 18 93
render_admin_page()
B
27
11 195
get_post_information_fields()
B
35 18 85
get_inner_information()
B
31 14 135
fetchCalendarDataJson()
B
39 16 66
handle_ics_subscription()
B
34 13 94
settings_validate()
A
41 13 59
moveCalendarItemToNewDate()
A
44 14 41
getCalendarDataForMultipleWeeks()
A
41 12 55
getPostData()
A
35 9 91
sanitize_filter()
A
46 12 40
get_editable_html()
A
43 11 51
get_calendar_posts_for_week()
A
42 10 51
getPostTypeFields()
A
41 9 61
print_top_navigation()
A
36 5 114
current_user_can_modify_post()
A
53 8 23
add_admin_styles()
S
48 6 38
getPostStatusOptions()
S
54 7 19
getCalendarData()
S
48 6 33
settings_show_posts_publish_time_option()
S
48 6 33
searchAuthors()
S
50 6 27
handle_regenerate_calendar_feed_secret()
S
51 6 26
filter_post_date_column_status()
S
54 6 22
settings_sort_by_option()
S
49 5 34
validateAuthorForPost()
S
56 6 18
update_user_filters()
S
48 5 32
get_filters()
S
48 5 32
init()
S
46 4 37
get_pagination_link()
S
54 5 20
get_selected_post_types()
S
60 5 14
get_post_status_options()
S
52 4 26
settings_max_visible_posts_per_date()
S
52 4 26
searchTerms()
S
53 4 22
handle_public_calendar_feed()
S
55 4 20
register_settings()
S
43 1 64
settings_posts_publish_time_format_option()
S
51 3 32
getTimezoneString()
S
59 4 15
settings_ics_subscription_option()
S
50 3 28
getUserAuthorizedPostStatusOptions()
S
61 4 12
__construct()
S
43 1 54
filter_calendar_total_weeks_public_feed()
S
55 3 18
upgrade()
S
60 3 13
filter_calendar_start_date_public_feed()
S
62 3 11
getPostStatusName()
S
66 3 9
filter_admin_menu_slug()
S
70 3 6
showPostsPublishTime()
S
64 3 10
isPostStatusValid()
S
66 3 9
alter_post_modification_time()
S
68 3 7
getCalendarTimeFormat()
S
69 3 7
action_admin_menu_page()
S
62 2 12
settings_post_types_option()
S
63 2 11
addTaxQueryToArgs()
S
63 2 11
print_configure_view()
S
54 1 24
getPostTypeObject()
S
70 2 6
setDefaultCapabilities()
S
69 2 7
settings_show_calendar_posts_full_title_option()
S
65 2 9
getPostTerms()
S
67 2 8
pre_select_all_post_types()
S
68 2 7
get_time_period_header()
S
65 2 9
filterPostsOrderBy()
S
68 2 8
extractPostDataForTheCalendar()
S
60 1 13
action_admin_submenu()
S
62 1 12
posts_where_week_range()
S
61 1 12
action_clean_li_html_cache()
S
75 1 4
sanitize_author_input()
S
79 1 3
sanitize_text_input()
S
80 1 3
settings_number_weeks_option()
S
71 1 6
formatDateFromString()
S
74 1 4
getPostTagsNames()
S
79 1 3
getPostCategoriesNames()
S
79 1 3
getPostTypeName()
S
76 1 4
calendar_filters()
S
64 1 10
settings_default_publish_time_option()
S
66 1 9
get_ending_of_week()
S
63 1 9
get_beginning_of_week()
S
63 1 9
do_ics_escaping()
S
70 1 6
currentUserCanViewCalendar()
S
80 1 3
install()
S
91 1 2
getViewCapability()
S
66 1 9