YOP_Poll_Polls D

Total Complexity 596
Dependencies 10
Dependents 7
Total lines 2,562
Lines of code 2,460
Logical lines of code 1,101
Comment lines 32
Methods 42
Properties 24

Methods 42

Method Rating Maintainability Complexity Lines of code
validate_data()
D
0
299 761
convert_meta_data_for_style()
D
32 33 115
accept_votes_from_anonymous()
C
31 28 123
paginate()
C
26
17 215
get_polls()
C
31 21 115
add()
B
34 20 87
get_poll_for_results()
B
34 17 95
get_results_for_frontend()
B
37 18 79
update()
B
34 16 89
add_votes_manually()
A
40 13 61
get_poll_for_voting()
A
43 9 51
create_meta_data()
A
32 3 123
clone_poll()
A
39 6 63
accept_votes_from_user()
A
47 7 37
generate_results_after_vote()
S
46 6 37
delete()
S
47 5 39
get_active_polls_for_archive()
S
52 6 23
get_poll_for_admin()
S
50 5 27
is_ended()
S
54 5 22
is_show_results_after_vote()
S
55 5 20
is_show_results_before_vote()
S
55 5 20
get_ended_polls_for_archive()
S
55 5 19
has_other_answers()
S
59 5 14
ends_soon()
S
56 4 18
has_started_frontend()
S
57 4 17
get_names()
S
57 4 17
has_ended_frontend()
S
57 4 17
get_current_active()
S
57 4 16
get_info()
S
61 3 12
get_polls_for_cron()
S
55 2 19
reset_poll()
S
55 2 19
get_all_polls_for_archive()
S
59 2 14
get_meta_data()
S
61 2 12
get_owner()
S
61 2 12
check_for_name()
S
64 2 9
get_allowed_tags_for_templates_and_skins()
S
80 1 3
update_meta_data()
S
63 1 10
reset_stats_for_poll()
S
66 1 8
add_vote()
S
65 1 9
get_text_sizes()
S
80 1 3
get_latest()
S
72 1 5
get_random()
S
72 1 5