YOP_Poll_Votes D

Total Complexity 365
Dependencies 13
Dependents 4
Total lines 1,849
Lines of code 1,834
Logical lines of code 930
Comment lines 5
Methods 38
Properties 7

Methods 38

Method Rating Maintainability Complexity Lines of code
paginate()
D
24
33 222
send_votes_to_download()
D
27
34 136
add()
D
31 34 106
validate_voter_against_blocks()
D
29 28 140
get_vote_details()
C
30 28 124
validate_data()
B
36 22 85
get_votes_to_display()
B
34 20 96
send_email_notification()
B
33 17 106
generate_response()
B
36 16 83
get_voter_ip()
B
40 17 64
record()
A
37 10 73
prepare_for_mail()
A
46 10 40
create_meta_data()
A
43 7 58
validate_captcha()
A
51 8 25
delete_vote()
A
47 7 35
validate_recaptcha_v3()
A
44 6 49
validate_voter_against_limits()
A
49 7 33
validate_cloudflare_turnstile()
S
47 5 41
get_export_votes()
S
51 6 26
validate_hcaptcha()
S
47 5 41
validate_recaptcha_invisible()
S
47 5 41
validate_recaptcha()
S
47 5 41
get_vote()
S
54 5 22
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
validate_voter_against_bans()
S
58 2 15
get_voter_cookie()
S
67 3 7
get_owner()
S
60 2 13
get_content_between_tags()
S
66 2 8
get_instance()
S
69 2 7
delete_all_for_poll()
S
62 1 12
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
set_voter_cookie()
S
76 1 3
generate_voter_cookie()
S
78 1 3