Code Analysis: JWT Authentication for WP-API 1.3.6

Function Rating Maintainability Complexity Lines of code
Jwt_Auth_Public::validate_token()
A
38 11 81
Jwt_Auth_Public::determine_current_user()
A
48 13 32
Jwt_Auth_Public::generate_token()
A
41 5 62
Jwt_Auth_Admin::enqueue_plugin_assets()
S
50 5 31
Jwt_Auth_Cron::collect()
S
50 4 28
Jwt_Auth_Admin::display_admin_notice()
S
59 2 18
Jwt_Auth_Loader::run()
S
66 3 8
Jwt_Auth_Public::add_cors_support()
S
66 3 8
Jwt_Auth_Cron::remove()
S
60 2 13
Jwt_Auth_Admin::register_plugin_settings()
S
58 1 19
Jwt_Auth_Cron::allow_shared_data()
S
74 2 4
Jwt_Auth_Admin::add_action_link()
S
69 2 7
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
deactivate_jwt_auth()
S
83 1 3
Jwt_Auth_Public::__construct()
S
72 1 5
Jwt_Auth_i18n::load_plugin_textdomain()
S
69 1 7
Jwt_Auth_Admin::register_menu_page()
S
65 1 10
Jwt_Auth_Admin::__construct()
S
77 1 4
Jwt_Auth::__construct()
S
68 1 8
Jwt_Auth::load_dependencies()
S
65 1 9
Jwt_Auth::set_locale()
S
72 1 5
Jwt_Auth::define_admin_hooks()
S
64 1 9
Jwt_Auth::get_plugin_name()
S
82 1 3
Jwt_Auth::run()
S
82 1 3
Jwt_Auth_Admin::render_admin_page()
S
83 1 5
Jwt_Auth_Loader::add_filter()
S
77 1 3
Jwt_Auth::define_public_hooks()
S
67 1 7
Jwt_Auth_Loader::add_action()
S
77 1 3
Jwt_Auth_Loader::__construct()
S
77 1 4
Jwt_Auth_Loader::add()
S
64 1 10
run_jwt_auth()
S
77 1 4
jwt_auth_share_data()
S
83 1 3
Jwt_Auth::get_version()
S
82 1 3
Jwt_Auth::get_loader()
S
82 1 3
Jwt_Auth_i18n::set_domain()
S
81 1 3