YOP_Poll_Polls D

Total Complexity 569
Dependencies 10
Dependents 7
Total lines 2,360
Lines of code 2,292
Logical lines of code 1,043
Comment lines 32
Methods 38
Properties 23

Methods 38

Method Rating Maintainability Complexity Lines of code
validate_data()
D
0
291 745
convert_meta_data_for_style()
D
32 33 115
accept_votes_from_anonymous()
C
32 28 113
paginate()
C
27
17 203
get_polls()
B
32 21 99
add()
B
34 20 85
get_poll_for_results()
B
34 17 94
get_results_for_frontend()
B
37 18 79
update()
B
35 14 85
add_votes_manually()
A
40 13 61
get_poll_for_voting()
A
43 9 50
create_meta_data()
A
33 3 106
clone_poll()
A
40 6 60
accept_votes_from_user()
A
48 7 35
generate_results_after_vote()
S
46 6 36
delete()
S
47 5 39
get_poll_for_admin()
S
51 5 26
is_ended()
S
54 5 22
is_show_results_after_vote()
S
55 5 20
is_show_results_before_vote()
S
55 5 20
has_other_answers()
S
59 5 14
ends_soon()
S
56 4 18
has_ended_frontend()
S
57 4 17
has_started_frontend()
S
57 4 17
get_names()
S
59 4 13
get_info()
S
62 3 11
reset_poll()
S
55 2 19
get_polls_for_cron()
S
57 2 16
get_meta_data()
S
62 2 11
get_owner()
S
62 2 11
check_for_name()
S
64 2 9
update_meta_data()
S
63 1 10
get_text_sizes()
S
80 1 3
reset_stats_for_poll()
S
66 1 8
add_vote()
S
67 1 7
get_random()
S
72 1 5
get_current_active()
S
72 1 5
get_latest()
S
72 1 5