Forminator_Poll_Model B

Total Complexity 88
Dependencies 3
Dependents 19
Total lines 475
Lines of code 290
Logical lines of code 205
Comment lines 127
Methods 11
Properties 3

Methods 11

Method Rating Maintainability Complexity Lines of code
opening_status()
C
36 25 78
poll_votes_method_browser_cookie()
A
43 14 47
poll_votes_method_user_ip()
A
43 13 49
maybe_add_element_id_on_answers()
A
46 13 39
pluck_fields_array()
S
53 6 25
prepare_data_for_preview()
S
58 5 15
current_user_can_vote()
S
66 3 10
load()
S
65 3 9
is_method_browser_cookie()
S
67 3 7
is_allow_multiple_votes()
S
67 2 7
resave_and_reload()
S
77 1 4