PP_Calendar D

Total Complexity 448
Dependencies 9
Dependents 0
Total lines 3,901
Lines of code 2,755
Logical lines of code 1,162
Comment lines 556
Methods 81
Properties 10

Methods 81

Method Rating Maintainability Complexity Lines of code
createItem()
D
27
37 124
calendar_filter_options()
C
31 20 123
render_admin_page()
B
25
13 216
enqueue_admin_scripts()
B
28
15 156
generate_post_li_html()
B
31 16 125
get_post_information_fields()
B
35 18 85
get_inner_information()
B
31 14 135
generateVTimeZone()
B
35 17 89
handle_ics_subscription()
A
34 13 90
moveCalendarItemToNewDate()
A
44 14 39
getCalendarDataForMultipleWeeks()
A
41 12 55
settings_validate()
A
42 12 54
getPostData()
A
35 9 91
handle_ajax_drag_and_drop()
A
41 11 57
fetchCalendarDataJson()
A
45 12 42
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
settings_show_posts_publish_time_option()
S
48 6 33
getCalendarData()
S
49 6 32
searchAuthors()
S
51 6 26
handle_regenerate_calendar_feed_secret()
S
51 6 26
filter_post_date_column_status()
S
54 6 22
get_filters()
S
48 5 34
settings_sort_by_option()
S
49 5 34
validateAuthorForPost()
S
56 6 18
get_pagination_link()
S
54 5 20
add_admin_styles()
S
51 4 30
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
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
register_settings()
S
45 1 57
__construct()
S
44 1 52
init()
S
47 2 34
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
showPostsPublishTime()
S
64 3 10
filter_admin_menu_slug()
S
70 3 6
isPostStatusValid()
S
66 3 9
alter_post_modification_time()
S
68 3 7
getPostStatusName()
S
66 3 9
action_admin_menu_page()
S
62 2 12
addTaxQueryToArgs()
S
63 2 11
settings_post_types_option()
S
63 2 11
print_configure_view()
S
54 1 24
setDefaultCapabilities()
S
67 2 8
getPostTerms()
S
67 2 8
getPostStatusOptions()
S
64 2 10
getPostTypeObject()
S
70 2 6
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
posts_where_week_range()
S
61 1 12
action_admin_submenu()
S
62 1 12
do_ics_escaping()
S
70 1 6
get_ending_of_week()
S
63 1 9
sanitize_author_input()
S
79 1 3
sanitize_text_input()
S
80 1 3
settings_default_publish_time_option()
S
66 1 9
get_beginning_of_week()
S
63 1 9
action_clean_li_html_cache()
S
75 1 4
install()
S
91 1 2
formatDateFromString()
S
74 1 4
calendar_filters()
S
64 1 10
check_capability()
S
73 1 5
getPostTagsNames()
S
79 1 3
getPostCategoriesNames()
S
79 1 3
getPostTypeName()
S
76 1 4
settings_number_weeks_option()
S
71 1 6