WC_API_Authentication A

Total Complexity 53
Dependencies 4
Dependents 0
Total lines 400
Lines of code 185
Logical lines of code 111
Comment lines 151
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
check_oauth_signature()
A
45 10 35
check_api_key_permissions()
A
55 11 18
check_oauth_timestamp_and_nonce()
S
50 7 28
perform_ssl_authentication()
S
55 7 18
authenticate()
S
56 4 18
perform_oauth_authentication()
S
59 3 13
get_keys_by_consumer_key()
S
60 2 13
get_user_by_id()
S
68 2 7
urlencode_rfc3986()
S
67 2 7
__construct()
S
78 1 3
exit_with_unauthorized_headers()
S
69 1 6
is_consumer_secret_valid()
S
79 1 3
normalize_parameters()
S
70 1 6
update_api_key_last_access()
S
64 1 10