Code Analysis: JWT Authentication for WP-API 1.3.3

Function Rating Maintainability Complexity Lines of code
Jwt_Auth_Public::validate_token()
A
38 11 80
Jwt_Auth_Public::determine_current_user()
A
49 12 28
Jwt_Auth_Public::generate_token()
A
41 5 61
Jwt_Auth_Public::add_cors_support()
S
67 3 7
Jwt_Auth_Loader::run()
S
66 3 8
Jwt_Auth_Public::rest_pre_dispatch()
S
72 2 6
Jwt_Auth_Public::get_algorithm()
S
68 2 7
Jwt_Auth_Public::add_api_routes()
S
62 1 12
Jwt_Auth_i18n::set_domain()
S
81 1 3
Jwt_Auth::define_public_hooks()
S
67 1 7
Jwt_Auth_Loader::add_filter()
S
77 1 3
Jwt_Auth::set_locale()
S
72 1 5
Jwt_Auth::run()
S
82 1 3
Jwt_Auth::get_plugin_name()
S
82 1 3
Jwt_Auth::get_loader()
S
82 1 3
Jwt_Auth::get_version()
S
82 1 3
Jwt_Auth_Public::__construct()
S
72 1 5
Jwt_Auth::__construct()
S
69 1 7
Jwt_Auth_Loader::add_action()
S
77 1 3
Jwt_Auth_Loader::add()
S
64 1 10
Jwt_Auth_i18n::load_plugin_textdomain()
S
69 1 7
Jwt_Auth_Loader::__construct()
S
77 1 4
Jwt_Auth::load_dependencies()
S
66 1 8
run_jwt_auth()
S
77 1 4