CoCart_Authentication A

Total Complexity 59
Dependencies 4
Dependents 5
Total lines 432
Lines of code 181
Logical lines of code 111
Comment lines 215
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
__construct()
S
59 4 13
cors_headers()
S
51 3 28
authenticate()
S
64 4 10
is_wp_environment_local()
S
67 4 8
cocart_user_logged_in()
S
66 3 8
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