PP_Calendar D

Total Complexity 659
Dependencies 12
Dependents 0
Total lines 5,281
Lines of code 3,874
Logical lines of code 1,708
Comment lines 686
Methods 89
Properties 18

Methods 89

Method Rating Maintainability Complexity Lines of code
content_calendar_filter_options()
D
12
60 375
getCalendarDataForMultipleWeeks()
D
18
62 215
createItem()
D
27
37 124
update_user_filters()
C
33 26 88
content_calendar_customize_filter_form()
C
30 21 140
enqueue_admin_scripts()
C
23
14 225
getPostTypeFields()
C
31 21 117
calendar_filter_options()
C
31 20 123
render_admin_page()
B
25
12 216
generateVTimeZone()
B
34 20 95
generate_post_li_html()
B
31 16 125
handle_ics_subscription()
B
32 17 104
get_post_information_fields()
B
35 18 85
get_inner_information()
B
31 14 135
settings_validate()
A
40 14 64
get_calendar_posts_for_week()
A
40 14 57
get_calendar_filters()
A
34 10 104
moveCalendarItemToNewDate()
A
44 14 41
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
get_content_calendar_datas()
A
42 10 52
update_content_calendar_form_action()
A
55 12 15
searchAuthors()
A
45 10 40
print_top_navigation()
A
36 5 114
current_user_can_modify_post()
A
53 8 23
add_admin_styles()
S
48 6 38
getCalendarData()
S
49 6 31
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
init()
S
45 4 38
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
extractPostDataForTheCalendar()
S
51 4 25
searchTerms()
S
53 4 23
get_content_calendar_form_filters()
S
48 3 35
handle_public_calendar_feed()
S
55 4 20
settings_posts_publish_time_format_option()
S
51 3 32
__construct()
S
41 1 61
getTimezoneString()
S
59 4 15
content_calendar_filters()
S
58 4 14
settings_ics_subscription_option()
S
50 3 28
filter_calendar_total_weeks_public_feed()
S
55 3 18
install()
S
63 4 10
add_admin_body_class()
S
67 4 7
upgrade()
S
60 3 13
filter_calendar_start_date_public_feed()
S
62 3 11
alter_post_modification_time()
S
68 3 7
isPostStatusValid()
S
66 3 9
filter_admin_menu_slug()
S
70 3 6
getCalendarTimeFormat()
S
69 3 7
getPostStatusName()
S
66 3 9
showPostsPublishTime()
S
64 3 10
fetchCalendarDataJson()
S
61 2 12
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
settings_show_calendar_posts_full_title_option()
S
65 2 9
getPostTerms()
S
67 2 8
getPostTypeObject()
S
70 2 6
pre_select_all_post_types()
S
68 2 7
get_time_period_header()
S
65 2 9
setDefaultCapabilities()
S
69 2 7
settings_ics_subscription_public_visibility_option()
S
65 2 9
filterPostsOrderBy()
S
68 2 8
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
get_ending_of_week()
S
63 1 9
currentUserCanViewCalendar()
S
80 1 3
formatDateFromString()
S
74 1 4
getPostTagsNames()
S
79 1 3
getPostCategoriesNames()
S
79 1 3
getPostTypeName()
S
76 1 4
get_beginning_of_week()
S
63 1 9
do_ics_escaping()
S
70 1 6
get_filters()
S
81 1 3
calendar_filters()
S
64 1 10
settings_default_publish_time_option()
S
66 1 9
settings_number_weeks_option()
S
71 1 6
getViewCapability()
S
66 1 9