GeoDir_REST_Reviews_Controller D

Total Complexity 215
Dependencies 9
Dependents 0
Total lines 1,570
Lines of code 1,013
Logical lines of code 479
Comment lines 323
Methods 25
Properties 1

Methods 25

Method Rating Maintainability Complexity Lines of code
create_item()
C
32 30 92
prepare_item_for_database()
B
39 22 58
update_item()
B
38 21 62
get_items()
B
34 17 91
create_item_permissions_check()
B
41 19 51
get_items_permissions_check()
B
45 19 36
handle_status_param()
A
49 11 33
get_item_schema()
A
31 3 152
check_read_permission()
A
54 10 20
prepare_links()
A
44 7 48
check_read_post_permission()
A
53 8 20
get_item_permissions_check()
A
55 8 17
get_collection_params()
S
35 1 120
prepare_item_for_response()
S
42 5 51
prepare_status_response()
S
58 7 18
normalize_query_param()
S
55 5 21
get_comment()
S
56 5 18
register_routes()
S
46 1 44
reviews_clauses()
S
60 3 12
check_comment_author_email()
S
63 3 11
update_item_permissions_check()
S
63 3 10
check_edit_permission()
S
65 3 9
get_item()
S
65 2 9
__construct()
S
72 1 5
get_review()
S
71 1 5