PP_Calendar D

Total Complexity 221
Dependencies 10
Dependents 0
Total lines 1,799
Lines of code 1,093
Logical lines of code 571
Comment lines 374
Methods 45
Properties 19

Methods 45

Method Rating Maintainability Complexity Lines of code
update_user_filters()
C
33 26 89
handle_ics_subscription()
B
32 17 104
get_post_information_fields()
B
35 18 85
render_admin_page()
B
32 12 120
settings_validate()
B
39 15 69
get_calendar_posts_for_week()
A
40 14 57
update_content_calendar_form_action()
A
52 14 19
sanitize_filter()
A
46 12 40
get_content_calendar_datas()
A
42 10 52
validateAuthorForPost()
S
56 6 18
getPostData()
S
52 5 23
init()
S
45 4 37
get_selected_post_types()
S
60 5 14
getPostTypeFields()
S
59 5 13
__construct()
S
40 1 67
enqueue_admin_scripts()
S
53 4 21
handle_public_calendar_feed()
S
55 4 20
content_calendar_filters()
S
58 4 14
install()
S
63 4 10
upgrade()
S
60 3 13
fetchCalendarDataJson()
S
51 2 25
getCalendarTimeFormat()
S
69 3 7
getPostStatusName()
S
66 3 9
filter_admin_menu_slug()
S
70 3 6
action_admin_menu_page()
S
62 2 12
addTaxQueryToArgs()
S
63 2 11
get_content_calendar_form_filters()
S
63 2 11
print_configure_view()
S
54 1 24
getPostTypeObject()
S
70 2 6
get_calendar_filters()
S
58 1 15
setDefaultCapabilities()
S
69 2 7
getPostTerms()
S
67 2 8
action_admin_submenu()
S
62 1 12
posts_where_week_range()
S
61 1 12
load_utilities_files()
S
76 1 4
sanitize_text_input()
S
80 1 3
sanitize_author_input()
S
79 1 3
action_clean_li_html_cache()
S
75 1 4
getPostTypeName()
S
76 1 4
formatDateFromString()
S
74 1 4
getPostTagsNames()
S
79 1 3
getPostCategoriesNames()
S
79 1 3
currentUserCanViewCalendar()
S
80 1 3
get_filters()
S
81 1 3
getViewCapability()
S
66 1 9