Total Complexity | 53 |
Dependencies | 2 |
Dependents | 1 |
Total lines | 448 |
Lines of code | 299 |
Logical lines of code | 151 |
Comment lines | 84 |
Methods | 13 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
add_user_rate_to_post() | 29 | 22 | 139 | |
ajax_user_rate_post() | 39 | 11 | 64 | |
get_name_of_slug() | 64 | 5 | 10 | |
check_user_rate_post_before() | 56 | 3 | 19 | |
get_post_criteria_slug_name() | 58 | 2 | 17 | |
convert_object_to_array() | 65 | 2 | 10 | |
add_user_rate_to_author_review_box() | 70 | 2 | 7 | |
__construct() | 100 | 1 | 2 | |
register() | 75 | 1 | 4 | |
init() | 72 | 1 | 5 | |
get_users_rate_template() | 66 | 1 | 9 | |
add_action_when_post_delete() | 79 | 1 | 3 | |
delete_users_rate() | 65 | 1 | 10 |