Contentools_Rest B

Total Complexity 88
Dependencies 2
Dependents 1
Total lines 750
Lines of code 415
Logical lines of code 190
Comment lines 100
Methods 15
Properties 3

Methods 15

Method Rating Maintainability Complexity Lines of code
action_publish_media()
C
27
28 128
action_publish_post()
B
38 15 66
determine_current_user()
A
48 9 32
authenticate()
S
59 7 12
response()
S
48 4 27
action_list_posts()
S
47 3 34
action_find_post()
S
47 3 33
action_list_categories()
S
57 4 17
intercept_request()
S
57 4 15
action_list_users()
S
58 3 15
register_routes()
S
60 2 13
register_endpoints()
S
72 2 5
rest_authentication_errors()
S
70 2 7
__construct()
S
77 1 4
set_headers()
S
69 1 7