gdrts_method_stars_rating B

Total Complexity 77
Dependencies 5
Dependents 1
Total lines 585
Lines of code 400
Logical lines of code 254
Comment lines 39
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
prepare_loop_single()
A
39 13 63
calculate()
A
42 10 49
update_list_item()
A
47 8 35
remove_vote_by_log()
A
45 7 42
validate_vote()
S
48 7 30
vote()
S
50 6 29
_get_args_single()
S
47 4 38
_get_args_list()
S
52 3 26
labels()
S
63 4 9
json_single()
S
57 2 17
json_list()
S
59 2 14
prepare_loop_list()
S
61 2 11
rating()
S
63 2 10
distribution_array()
S
66 2 8
trigger_enqueue()
S
77 1 4
get_max_value()
S
80 1 3
load_rest_api()
S
80 1 3
load_admin()
S
80 1 3
__construct()
S
71 1 6