CoCart_Authentication A

Total Complexity 58
Dependencies 4
Dependents 6
Total lines 429
Lines of code 180
Logical lines of code 110
Comment lines 214
Methods 14
Properties 3

Methods 14

Method Rating Maintainability Complexity Lines of code
check_api_permissions()
A
44 15 41
perform_basic_authentication()
A
49 10 28
authentication_fallback()
S
60 7 13
cors_headers()
S
50 4 30
authenticate()
S
64 4 10
is_wp_environment_local()
S
67 4 8
cocart_user_logged_in()
S
66 3 8
__construct()
S
63 2 10
is_rest_api_request()
S
64 2 9
check_authentication_error()
S
72 2 6
allow_all_cors()
S
68 2 7
set_error()
S
77 1 4
get_error()
S
82 1 3
set_method()
S
81 1 3