YOP_Poll_Votes D

Total Complexity 329
Dependencies 13
Dependents 4
Total lines 1,556
Lines of code 1,540
Logical lines of code 828
Comment lines 5
Methods 35
Properties 7

Methods 35

Method Rating Maintainability Complexity Lines of code
paginate()
D
24
33 201
send_votes_to_download()
D
28
33 123
validate_voter_against_blocks()
C
30 28 130
get_vote_details()
C
33 28 98
add()
C
34 28 90
get_votes_to_display()
B
36 20 75
validate_data()
B
38 19 73
send_email_notification()
B
33 15 103
generate_response()
B
36 15 83
get_voter_ip()
A
45 12 46
record()
A
38 10 71
prepare_for_mail()
A
46 10 40
create_meta_data()
A
44 6 55
validate_captcha()
A
52 8 23
validate_voter_against_limits()
A
49 7 33
delete_vote()
A
48 7 31
validate_recaptcha_v3()
S
46 5 41
get_export_votes()
S
51 6 26
get_vote()
S
54 5 22
validate_recaptcha()
S
48 4 33
get_votes_for_user()
S
55 4 21
validate_start_end_date()
S
59 4 16
validate_gdpr()
S
62 3 11
add_manually()
S
57 2 16
get_voter_cookie()
S
68 3 7
validate_voter_against_bans()
S
59 2 14
get_owner()
S
60 2 12
get_instance()
S
69 2 7
get_content_between_tags()
S
66 2 8
get_poll_voters_sorted()
S
71 1 5
get_total_votes_by_poll()
S
71 1 5
get_vote_by_poll()
S
70 1 5
delete_all_for_poll()
S
64 1 10
set_voter_cookie()
S
76 1 3
generate_voter_cookie()
S
78 1 3