Code Analysis: JWT Authentication for WP-API 1.2.6

Most Complex Classes

Class Rating Complexity
Jwt_Auth_Public
S
28
Jwt_Auth
S
8
GeneralTest
S
7
Jwt_Auth_Loader
S
7
Jwt_Auth_i18n
S
2

Most Complex Functions

Function Rating Complexity
Jwt_Auth_Public::validate_token()
A
12
Jwt_Auth_Public::generate_token()
S
4
Jwt_Auth_Public::determine_current_user()
S
5
GeneralTest::test_jwt_write_access()
S
1
GeneralTest::test_validate_jwt_token()
S
1
Jwt_Auth_Loader::run()
S
3
Jwt_Auth_Public::add_cors_support()
S
3
Jwt_Auth_Public::rest_pre_dispatch()
S
2
GeneralTest::test_get_jwt_token()
S
1
GeneralTest::test_is_jwt_installed()
S
1
Jwt_Auth_Loader::__construct()
S
1
GeneralTest::test_is_wp_api_installed()
S
1