PP_Calendar D

Total Complexity 496
Dependencies 11
Dependents 0
Total lines 4,239
Lines of code 3,019
Logical lines of code 1,262
Comment lines 593
Methods 82
Properties 11

Methods 82

Method Rating Maintainability Complexity Lines of code
enqueue_admin_scripts()
D
20
29 249
createItem()
D
27
37 124
getPostTypeFields()
C
31 21 117
calendar_filter_options()
C
31 20 123
generateVTimeZone()
B
34 20 95
generate_post_li_html()
B
31 16 125
render_admin_page()
B
27
11 195
handle_ics_subscription()
B
32 17 104
get_post_information_fields()
B
35 18 85
get_inner_information()
B
31 14 135
fetchCalendarDataJson()
B
39 16 66
settings_validate()
A
40 14 64
get_calendar_posts_for_week()
A
40 14 57
moveCalendarItemToNewDate()
A
44 14 41
getCalendarDataForMultipleWeeks()
A
41 12 55
getPostData()
A
35 9 91
settings_show_posts_publish_time_option()
A
38 10 72
sanitize_filter()
A
46 12 40
get_editable_html()
A
43 11 51
searchAuthors()
A
45 10 40
print_top_navigation()
A
36 5 114
current_user_can_modify_post()
A
53 8 23
get_post_status_options()
S
46 6 41
add_admin_styles()
S
48 6 38
getCalendarData()
S
48 6 33
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
get_filters()
S
48 5 32
update_user_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
settings_max_visible_posts_per_date()
S
52 4 26
register_settings()
S
42 1 71
searchTerms()
S
53 4 23
handle_public_calendar_feed()
S
55 4 20
settings_posts_publish_time_format_option()
S
51 3 32
getTimezoneString()
S
59 4 15
settings_ics_subscription_option()
S
50 3 28
__construct()
S
42 1 56
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
getCalendarTimeFormat()
S
69 3 7
getPostStatusName()
S
66 3 9
showPostsPublishTime()
S
64 3 10
isPostStatusValid()
S
66 3 9
alter_post_modification_time()
S
68 3 7
filter_admin_menu_slug()
S
70 3 6
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
getPostTerms()
S
67 2 8
setDefaultCapabilities()
S
69 2 7
settings_ics_subscription_public_visibility_option()
S
65 2 9
getPostTypeObject()
S
70 2 6
settings_show_calendar_posts_full_title_option()
S
65 2 9
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
getPostTagsNames()
S
79 1 3
get_ending_of_week()
S
63 1 9
get_beginning_of_week()
S
63 1 9
formatDateFromString()
S
74 1 4
getPostCategoriesNames()
S
79 1 3
settings_number_weeks_option()
S
71 1 6
settings_default_publish_time_option()
S
66 1 9
getPostTypeName()
S
76 1 4
action_clean_li_html_cache()
S
75 1 4
do_ics_escaping()
S
70 1 6
currentUserCanViewCalendar()
S
80 1 3
sanitize_text_input()
S
80 1 3
sanitize_author_input()
S
79 1 3
install()
S
91 1 2
calendar_filters()
S
64 1 10
getViewCapability()
S
66 1 9