TimedContentPlugin D

Total Complexity 305
Dependencies 5
Dependents 0
Total lines 2,535
Lines of code 2,076
Logical lines of code 856
Comment lines 278
Methods 43
Properties 15

Methods 43

Method Rating Maintainability Complexity Lines of code
get_schedule_description()
D
21
27 271
get_schedule_description_by_id()
D
26
32 182
get_rule_periods()
D
26
33 155
server_show_html()
D
25
31 178
setup_custom_fields()
C
21
10 312
validate()
B
40 19 62
rules_show_html()
B
41 16 49
get_nth_weekday_of_month()
A
41 14 59
client_show_html()
A
41 13 60
get_rule_periods_by_id()
A
43 10 46
add_admin_header_code()
A
42 7 58
get_next_month()
A
49 8 31
add_rules_count()
A
48 7 38
convert_date_time_parameters_to_iso()
S
51 7 29
init()
S
36 3 86
get_rules_js()
S
49 5 30
set_tinymce_plugin_vars()
S
54 5 22
convert_time_to_iso()
S
57 5 16
timed_content_plugin_get_rule_periods_ajax()
S
51 4 26
timed_content_plugin_get_tinymce_dialog()
S
44 2 55
get_next_week()
S
54 4 20
add_desc_column_content()
S
59 4 16
timed_content_rule_updated_messages()
S
49 3 31
get_post_array_param()
S
62 4 11
timed_content_plugin_get_schedule_description_ajax()
S
52 3 23
init_tinymce_plugin()
S
64 4 9
timed_content_rule_type_init()
S
46 1 42
date_time_to_english()
S
51 1 32
timed_content_pre_get_posts()
S
65 3 9
add_header_code()
S
63 2 11
add_post_type_icons()
S
58 1 25
__construct()
S
51 1 24
get_post_param()
S
68 2 7
loop_test()
S
71 2 6
strip_array_indices()
S
72 2 6
set_format_timezone()
S
71 2 6
format_timestamp()
S
64 2 10
add_timed_content_tinymce_plugin()
S
76 1 4
register_tinymce_button()
S
76 1 4
add_desc_column_head()
S
70 1 6
get_next_year()
S
79 1 3
get_next_hour()
S
79 1 3
get_next_day()
S
79 1 3