Awpa_Ratings_Rest_Controller S

Total Complexity 48
Dependencies 4
Dependents 1
Total lines 330
Lines of code 264
Logical lines of code 129
Comment lines 8
Methods 13
Properties 1

Methods 13

Method Rating Maintainability Complexity Lines of code
awpa_pro_api_post_rating_review()
C
33 23 92
awpa_pro_set_rating_settings()
S
52 6 24
awpa_pro_get_rating_settings()
S
59 5 15
awpa_pro_api_get_post_rating_review()
S
51 3 25
awpa_ratings_register_routes()
S
48 1 46
awpa_pro_rating_setting_default_options()
S
54 1 21
awpa_pro_insert_rating_settings()
S
69 2 7
checkIfUserReviewedPost()
S
65 2 8
__construct()
S
75 1 4
awpa_permission_check()
S
80 1 3
awpa_checkuser_permession()
S
80 1 3
awpa_pro_api_get_rating_settings()
S
65 1 9
awpa_pro_api_set_rating_settings()
S
68 1 7