YOP_Poll_Polls D

Total Complexity 593
Dependencies 10
Dependents 7
Total lines 2,517
Lines of code 2,419
Logical lines of code 1,085
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
32 28 113
paginate()
C
26
17 215
get_polls()
C
31 21 115
add()
B
34 20 85
get_results_for_frontend()
B
37 18 79
get_poll_for_results()
B
34 17 94
update()
B
35 16 85
add_votes_manually()
A
40 13 61
get_poll_for_voting()
A
43 9 50
create_meta_data()
A
32 3 123
clone_poll()
A
40 6 60
accept_votes_from_user()
A
48 7 35
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
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
get_ended_polls_for_archive()
S
55 5 19
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
57 4 17
get_info()
S
62 3 11
reset_poll()
S
55 2 19
get_polls_for_cron()
S
57 2 16
get_all_polls_for_archive()
S
59 2 14
get_owner()
S
62 2 11
get_meta_data()
S
62 2 11
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_current_active()
S
72 1 5
get_random()
S
72 1 5