Code Analysis: ou.gd: WordPress to Twitter 1.4.2

Function Rating Maintainability Complexity Lines of code
Services_JSON::decode()
D
20
67 174
Services_JSON::encode()
D
28
36 123
wp_ozh_yourls_do_page()
C
25
17 233
wp_ozh_yourls_api_call()
B
37 16 70
wp_ozh_yourls_oauth_confirm()
A
50 10 25
wp_ozh_yourls_wp_get_shortlink()
A
54 10 20
OAuthRequest::from_request()
A
48 9 31
wp_ozh_yourls_maketweet()
A
43 8 44
wp_ozh_yourls_settings_are_ok()
A
58 10 13
wp_ozh_yourls_send_request()
A
51 9 26
wp_ozh_yourls_newpost()
S
50 7 29
wp_ozh_yourls_drawbox()
S
45 6 42
wp_ozh_yourls_check_yourls()
S
47 6 39
OAuthUtil::parse_parameters()
S
55 7 19
OAuthRequest::get_normalized_http_url()
S
59 7 13
wp_ozh_yourls_handle_action_links()
S
51 6 26
TwitterOAuth::oAuthRequest()
S
53 6 22
OAuthUtil::split_header()
S
55 6 18
wp_ozh_yourls_get_new_short_url()
S
57 6 17
wp_ozh_yourls_geturl()
S
59 6 13
Services_JSON::utf82utf16()
S
55 5 19
OAuthUtil::build_http_query()
S
55 5 19
Services_JSON::utf162utf8()
S
55 5 18
wp_ozh_yourls_service()
S
65 6 9
wp_ozh_yourls_twitter_keys_empty()
S
60 5 13
wp_ozh_yourls_sanitize()
S
59 5 13
wp_ozh_yourls_oauth_start()
S
53 4 21
wp_ozh_yourls_twitter_button_or_infos()
S
54 4 18
OAuthUtil::get_headers()
S
57 4 17
OAuthRequest::to_header()
S
57 4 16
wp_ozh_yourls_add_head_link()
S
66 5 9
Services_JSON::isError()
S
64 5 9
wp_ozh_yourls_admin_init()
S
60 4 13
wp_ozh_yourls_find_yourls_loader()
S
61 4 12
wp_ozh_yourls_twitter_check()
S
62 4 12
wp_ozh_yourls_fetch_url()
S
60 4 11
OAuthServer::get_signature_method()
S
58 3 16
OAuthServer::get_version()
S
64 4 10
OAuthRequest::set_parameter()
S
64 4 10
wp_ozh_yourls_get_auth_infos()
S
69 4 6
OAuthUtil::urlencode_rfc3986()
S
61 3 13
wp_ozh_yourls_head_linkrel()
S
61 3 12
wp_ozh_yourls_init()
S
62 3 12
OAuthRequest::from_consumer_and_token()
S
61 3 11
OAuthServer::get_consumer()
S
63 3 11
wp_ozh_yourls_reset_url()
S
54 2 22
OAuthServer::check_signature()
S
57 2 17
wp_ozh_yourls_promote()
S
56 2 17
TwitterOAuth::oAuthParseResponse()
S
64 3 9
TwitterOAuth::__construct()
S
65 3 9
wp_ozh_yourls_raw_url()
S
66 3 9
OAuthSignatureMethod_PLAINTEXT::build_signature()
S
61 2 13
wp_ozh_yourls_get_connect_link()
S
60 2 13
wp_ozh_yourls_admin_notice()
S
60 2 13
OAuthSignatureMethod_HMAC_SHA1::build_signature()
S
62 2 11
OAuthServer::check_nonce()
S
64 2 11
wp_ozh_yourls_tweet_on()
S
74 2 4
wp_ozh_yourls_url()
S
62 2 10
wp_ozh_yourls_get_twitter_screen_name()
S
72 2 6
OAuthRequest::get_parameter()
S
78 2 3
wp_ozh_yourls_generate_on()
S
74 2 4
wp_ozh_yourls_add_css_js_post()
S
64 2 9
wp_ozh_yourls_addbox()
S
73 2 4
OAuthRequest::to_url()
S
67 2 8
OAuthRequest::__construct()
S
71 2 6
wp_ozh_yourls_activate_plugin()
S
70 2 6
wp_ozh_yourls_validate_key()
S
70 2 6
Services_JSON::name_value()
S
69 2 7
TwitterOAuth::getAuthenticateURL()
S
74 2 4
OAuthServer::get_token()
S
64 2 10
TwitterOAuth::getAuthorizeURL()
S
74 2 4
OAuthRequest::get_signable_parameters()
S
69 2 7
OAuthServer::check_timestamp()
S
67 2 8
wp_ozh_yourls_get_twitter_profile_pic()
S
72 2 6
wp_ozh_yourls_get_twitter_follower_count()
S
72 2 6
wp_ozh_yourls_remote_json()
S
66 2 8
wp_ozh_yourls_session_destroy()
S
68 2 7
Services_JSON_Error::Services_JSON_Error()
S
100 1 2
wp_ozh_yourls_pluginurl()
S
80 1 3
TwitterOAuth::lastStatusCode()
S
94 1 1
OAuthSignatureMethod_RSA_SHA1::check_signature()
S
64 1 9
OAuthRequest::__toString()
S
81 1 3
OAuthRequest::sign_request()
S
66 1 9
Services_JSON_Error::Services_JSON_Error()
S
78 1 3
OAuthSignatureMethod_RSA_SHA1::build_signature()
S
65 1 9
OAuthSignatureMethod_HMAC_SHA1::get_name()
S
83 1 3
OAuthSignatureMethod::check_signature()
S
74 1 4
OAuthSignatureMethod_PLAINTEXT::get_name()
S
82 1 3
TwitterOAuth::getAccessToken()
S
70 1 6
OAuthSignatureMethod_RSA_SHA1::get_name()
S
82 1 3
OAuthRequest::unset_parameter()
S
80 1 3
OAuthRequest::build_signature()
S
75 1 4
TwitterOAuth::requestTokenURL()
S
91 1 1
OAuthRequest::get_signature_base_string()
S
66 1 9
OAuthRequest::get_normalized_http_method()
S
80 1 3
OAuthServer::add_signature_method()
S
77 1 4
OAuthDataStore::new_access_token()
S
100 1 2
OAuthToken::__construct()
S
77 1 4
OAuthRequest::generate_nonce()
S
72 1 5
OAuthSignatureMethod_RSA_SHA1::fetch_public_cert()
S
80 1 3
wp_ozh_yourls_admin_notice_twitter_key()
S
78 1 5
OAuthConsumer::__construct()
S
77 1 4
OAuthToken::__toString()
S
82 1 3
Services_JSON::Services_JSON()
S
82 1 3
OAuthToken::to_string()
S
72 1 6
OAuthDataStore::lookup_token()
S
100 1 2
wp_ozh_yourls_add_css_js_plugin()
S
68 1 7
wp_ozh_yourls_customicon()
S
80 1 3
wp_ozh_yourls_tweet_it()
S
65 1 9
OAuthDataStore::new_request_token()
S
100 1 2
wp_ozh_yourls_add_page()
S
64 1 9
TwitterOAuth::authenticateURL()
S
91 1 1
OAuthDataStore::lookup_consumer()
S
100 1 2
TwitterOAuth::authorizeURL()
S
91 1 1
TwitterOAuth::lastAPICall()
S
94 1 1
OAuthDataStore::lookup_nonce()
S
100 1 2
OAuthUtil::urldecode_rfc3986()
S
80 1 3
OAuthRequest::generate_timestamp()
S
80 1 3
OAuthServer::verify_request()
S
68 1 7
OAuthServer::fetch_access_token()
S
66 1 8
OAuthSignatureMethod_RSA_SHA1::fetch_private_cert()
S
80 1 3
wp_ozh_yourls_plugin_actions()
S
77 1 4
wp_ozh_yourls_send_tweet()
S
70 1 6
TwitterOAuth::getRequestToken()
S
70 1 6
OAuthRequest::to_postdata()
S
80 1 3
Services_JSON::reduce_string()
S
68 1 8
OAuthServer::fetch_request_token()
S
67 1 8
OAuthConsumer::__toString()
S
80 1 3
wp_ozh_yourls_remote_simple()
S
81 1 3
OAuthServer::__construct()
S
82 1 3
OAuthRequest::get_parameters()
S
82 1 3
TwitterOAuth::accessTokenURL()
S
91 1 1