Code Analysis: Enable Mastodon Apps 0.1.0

Function Rating Maintainability Complexity Lines of code
Enable_Mastodon_Apps\Mastodon_App::register_taxonomy()
D
26
27 182
Enable_Mastodon_Apps\Mastodon_Admin::process_admin()
C
32 26 119
Enable_Mastodon_Apps\Mastodon_API::get_friend_account_data()
C
29
22 141
Enable_Mastodon_Apps\Mastodon_Admin::admin_page()
B
26
13 214
Enable_Mastodon_Apps\Mastodon_API::get_status_array()
B
31 18 119
Enable_Mastodon_Apps\Mastodon_API::api_submit_post()
A
39 13 66
Enable_Mastodon_Apps\Mastodon_API::api_account_relationships()
A
42 13 50
Enable_Mastodon_Apps\Mastodon_API::add_rest_routes()
A
30 1 209
Enable_Mastodon_Apps\Mastodon_API::api_get_post_context()
A
42 10 54
Enable_Mastodon_Apps\Mastodon_API::api_account_follow()
A
47 11 32
Enable_Mastodon_Apps\Mastodon_API::webfinger()
A
45 9 41
Enable_Mastodon_Apps\Mastodon_API::get_json()
A
48 9 37
Enable_Mastodon_Apps\Mastodon_API::api_account_unfollow()
A
51 9 24
Enable_Mastodon_Apps\OAuth2\AuthorizeHandler::handle()
A
54 9 18
Enable_Mastodon_Apps\Mastodon_API::convert_activity_to_status()
A
39 5 78
Enable_Mastodon_Apps\Mastodon_API::get_activitypub_url()
A
55 8 18
Enable_Mastodon_Apps\Mastodon_OAuth::handle_oauth()
A
49 7 32
Enable_Mastodon_Apps\Mastodon_API::rewrite_rules()
A
44 6 46
Enable_Mastodon_Apps\OAuth2\AuthenticateHandler::handle()
S
46 6 37
Enable_Mastodon_Apps\Mastodon_App::modify_wp_query_args()
S
46 5 45
Enable_Mastodon_Apps\Mastodon_App::is_outdated()
S
60 7 13
Enable_Mastodon_Apps\Mastodon_API::api_account_statuses()
S
52 6 23
Enable_Mastodon_Apps\Mastodon_API::api_search()
S
47 5 38
td_timestamp()
S
49 5 36
Enable_Mastodon_Apps\Mastodon_API::api_apps()
S
48 5 34
Enable_Mastodon_Apps\Mastodon_API::get_posts()
S
54 5 21
Enable_Mastodon_Apps\OAuth2\AuthorizationCodeStorage::setAuthorizationCode()
S
55 5 19
Enable_Mastodon_Apps\OAuth2\AccessTokenStorage::setAccessToken()
S
56 5 18
Enable_Mastodon_Apps\Mastodon_API::get_posts_query_args()
S
51 4 28
Enable_Mastodon_Apps\Mastodon_App::save()
S
50 4 27
Enable_Mastodon_Apps\OAuth2\AuthenticateHandler::render_consent_screen()
S
46 2 48
Enable_Mastodon_Apps\Mastodon_App::check_redirect_uri()
S
60 4 14
Enable_Mastodon_Apps\Mastodon_App::delete_outdated()
S
63 4 11
Enable_Mastodon_Apps\Mastodon_Admin::admin_menu()
S
52 3 25
Enable_Mastodon_Apps\OAuth2\AccessTokenStorage::getAll()
S
57 3 17
Enable_Mastodon_Apps\OAuth2\AccessTokenStorage::getAccessToken()
S
57 3 17
Enable_Mastodon_Apps\OAuth2\AuthorizationCodeStorage::getAll()
S
57 3 17
Enable_Mastodon_Apps\OAuth2\AuthorizationCodeStorage::getAuthorizationCode()
S
57 3 17
Enable_Mastodon_Apps\Mastodon_API::api_get_media()
S
58 3 15
Enable_Mastodon_Apps\Mastodon_App::get_all()
S
59 3 15
Enable_Mastodon_Apps\Mastodon_API::api_nodeinfo()
S
47 1 42
Enable_Mastodon_Apps\OAuth2\AccessTokenStorage::cleanupOldTokens()
S
56 2 19
Enable_Mastodon_Apps\OAuth2\AuthorizationCodeStorage::cleanupOldCodes()
S
56 2 19
Enable_Mastodon_Apps\Mastodon_API::api_post_media()
S
56 2 17
Enable_Mastodon_Apps\OAuth2\AccessTokenStorage::__construct()
S
59 2 15
Enable_Mastodon_Apps\Mastodon_API::get_acct()
S
63 3 10
Enable_Mastodon_Apps\OAuth2\AuthenticateHandler::render_no_permission_screen()
S
53 1 30
Enable_Mastodon_Apps\OAuth2\AuthorizationCodeStorage::__construct()
S
59 2 15
Enable_Mastodon_Apps\OAuth2\MastodonAppStorage::checkClientCredentials()
S
64 3 10
Enable_Mastodon_Apps\Mastodon_App::get_post_formats()
S
67 3 7
Enable_Mastodon_Apps\Mastodon_App::check_scopes()
S
65 3 9
Enable_Mastodon_Apps\Mastodon_API::logged_in_for_private_permission()
S
64 3 10
Enable_Mastodon_Apps\Mastodon_API::convert_outbox_to_status()
S
64 3 10
Enable_Mastodon_Apps\Mastodon_App::get_by_client_id()
S
61 2 13
Enable_Mastodon_Apps\Mastodon_Admin::post_format_select()
S
62 2 13
Enable_Mastodon_Apps\OAuth2\AccessTokenStorage::uninstall()
S
62 2 12
Enable_Mastodon_Apps\OAuth2\AuthorizationCodeStorage::uninstall()
S
62 2 12
Enable_Mastodon_Apps\OAuth2\MastodonAppStorage::getClientDetails()
S
63 2 11
mastodon_api_pixelfed_nodeinfo_software()
S
66 2 9
Enable_Mastodon_Apps\Mastodon_API::logged_in_permission()
S
64 2 10
Enable_Mastodon_Apps\Mastodon_API::api_timelines()
S
66 2 8
Enable_Mastodon_Apps\Mastodon_OAuth::authenticate()
S
64 2 10
Enable_Mastodon_Apps\Mastodon_API::check_url()
S
66 2 8
Enable_Mastodon_Apps\OAuth2\MastodonAppStorage::isPublicClient()
S
68 2 7
Enable_Mastodon_Apps\OAuth2\AuthorizationCodeStorage::expireAuthorizationCode()
S
68 2 7
Enable_Mastodon_Apps\Mastodon_API::allow_cors()
S
64 2 10
Enable_Mastodon_Apps\OAuth2\MastodonAppStorage::getClientScope()
S
69 2 7
Enable_Mastodon_Apps\OAuth2\AccessTokenStorage::unsetAccessToken()
S
68 2 7
Enable_Mastodon_Apps\OAuth2\MastodonAppStorage::checkRestrictedGrantType()
S
70 2 6
Enable_Mastodon_Apps\Mastodon_App::was_used()
S
70 2 6
mastodon_api_pixelfed_post_formats()
S
71 2 6
Enable_Mastodon_Apps\Mastodon_API::api_favourite_post()
S
65 2 9
Enable_Mastodon_Apps\Mastodon_API::api_unfavourite_post()
S
65 2 9
Enable_Mastodon_Apps\Mastodon_API::api_get_post()
S
69 2 7
Enable_Mastodon_Apps\Mastodon_API::api_instance()
S
60 1 13
Enable_Mastodon_Apps\Mastodon_OAuth::__construct()
S
60 1 12
Enable_Mastodon_Apps\Mastodon_API::api_public_timeline()
S
82 1 3
Enable_Mastodon_Apps\Mastodon_Admin::__construct()
S
75 1 4
Enable_Mastodon_Apps\Mastodon_App::get_query_args()
S
79 1 3
Enable_Mastodon_Apps\Mastodon_OAuth::get_token_storage()
S
80 1 3
Enable_Mastodon_Apps\Mastodon_App::delete()
S
79 1 3
Enable_Mastodon_Apps\Mastodon_OAuth::authenticate_handler()
S
68 1 7
Enable_Mastodon_Apps\OAuth2\RevokationHandler::handle()
S
79 1 3
Enable_Mastodon_Apps\Mastodon_App::get_client_secret()
S
79 1 3
Enable_Mastodon_Apps\Mastodon_App::get_scopes()
S
79 1 3
Enable_Mastodon_Apps\OAuth2\AuthorizationCodeStorage::sanitize_expires()
S
80 1 3
Enable_Mastodon_Apps\OAuth2\TokenHandler::__construct()
S
81 1 3
Enable_Mastodon_Apps\OAuth2\AuthorizationCodeStorage::sanitize_scope()
S
78 1 3
Enable_Mastodon_Apps\OAuth2\MastodonAppStorage::has()
S
75 1 4
Enable_Mastodon_Apps\Mastodon_API::query_vars()
S
77 1 4
Enable_Mastodon_Apps\Mastodon_App::__construct()
S
81 1 3
Enable_Mastodon_Apps\Mastodon_API::get_user_acct()
S
78 1 3
Enable_Mastodon_Apps\Mastodon_API::api_verify_credentials()
S
80 1 3
Enable_Mastodon_Apps\OAuth2\AccessTokenStorage::sanitize_redirect_uri()
S
78 1 3
Enable_Mastodon_Apps\Mastodon_App::get_client_id()
S
82 1 3
Enable_Mastodon_Apps\Mastodon_App::get_last_used()
S
79 1 3
Enable_Mastodon_Apps\Mastodon_OAuth::get_code_storage()
S
80 1 3
Enable_Mastodon_Apps\Mastodon_API::__construct()
S
72 1 6
Enable_Mastodon_Apps\Mastodon_API::register_hooks()
S
69 1 6
Enable_Mastodon_Apps\OAuth2\MastodonAppStorage::get()
S
80 1 3
Enable_Mastodon_Apps\OAuth2\AuthorizationCodeStorage::sanitize_redirect_uri()
S
78 1 3
Enable_Mastodon_Apps\Mastodon_App::get_redirect_uris()
S
79 1 3
Enable_Mastodon_Apps\OAuth2\TokenHandler::handle()
S
80 1 3
Enable_Mastodon_Apps\OAuth2\AuthenticateHandler::get_cancel_url()
S
65 1 10
Enable_Mastodon_Apps\Mastodon_App::set_post_formats()
S
70 1 6
Enable_Mastodon_Apps\OAuth2\AuthorizationCodeStorage::sanitize_client_id()
S
78 1 3
Enable_Mastodon_Apps\OAuth2\AccessTokenStorage::sanitize_token()
S
78 1 3
Enable_Mastodon_Apps\Mastodon_API::api_account()
S
79 1 3
Enable_Mastodon_Apps\OAuth2\AccessTokenStorage::sanitize_client_id()
S
78 1 3
Enable_Mastodon_Apps\OAuth2\AuthorizeHandler::__construct()
S
81 1 3
Enable_Mastodon_Apps\OAuth2\RevokationHandler::__construct()
S
81 1 3
Enable_Mastodon_Apps\Mastodon_App::get_website()
S
79 1 3
Enable_Mastodon_Apps\Mastodon_API::public_api_permission()
S
77 1 4
Enable_Mastodon_Apps\Mastodon_App::get_creation_date()
S
79 1 3
Enable_Mastodon_Apps\Mastodon_App::get_client_name()
S
79 1 3
Enable_Mastodon_Apps\OAuth2\AuthorizationCodeStorage::sanitize_user_id()
S
80 1 3