CoCart_Authentication B

Total Complexity 100
Dependencies 6
Dependents 0
Total lines 860
Lines of code 325
Logical lines of code 176
Comment lines 467
Methods 20
Properties 3

Methods 20

Method Rating Maintainability Complexity Lines of code
check_api_permissions()
B
39 15 72
perform_basic_authentication()
A
43 14 46
get_ip_address()
A
46 11 38
cors_headers()
A
51 8 25
get_auth_header()
S
57 7 15
authentication_fallback()
S
60 7 13
send_headers()
S
57 5 16
get_username()
S
62 4 12
cocart_user_logged_in()
S
61 4 12
is_wp_environment_local()
S
67 4 8
authenticate()
S
64 4 10
get_user_by_phone()
S
62 3 11
check_authentication_error()
S
67 3 9
__construct()
S
62 2 10
is_preflight()
S
76 2 3
allow_all_cors()
S
68 2 7
validate_ip()
S
67 2 8
set_method()
S
81 1 3
get_error()
S
82 1 3
set_error()
S
77 1 4