Code Analysis: Social Media Auto Publish 3.3

Function Rating Maintainability Complexity Lines of code
xyz_link_publish()
D
0
408 1,531
xyz_smap_addpostmetatags()
D
0
100 1,093
xyz_smap_add_custom_box()
D
36 46 53
xyz_link_smap_future_to_publish()
D
32 38 91
xyz_smap_insert_og_twitter_card()
C
34 29 82
smap_install_free()
A
31 9 122
SMAPOAuth2::makeRequestToAssetAPI()
A
45 13 39
SMAPLinkedInOAuth2::xyz_smap_fetch_user_data()
A
43 12 43
SMAPOAuth2::makeRequest_ln_header()
A
45 12 36
SMAPOAuth2::makeRequest()
A
46 12 34
xyz_smap_free_selected_pages_auto_update_ln_fn()
A
45 11 41
xyz_smap_split_replace()
A
47 11 35
SMAPLinkedInOAuth2::check_status_linkedin_asset()
A
45 10 36
xyz_smap_del_entries_ln_fn()
A
46 9 37
xyz_smap_del_entries_ig_fn()
A
46 9 37
xyz_smap_del_entries_fn()
A
47 9 36
xyz_smap_del_entries_tw_fn()
A
47 9 35
SMAPOAuthRequest::from_request()
A
48 9 31
xyz_smap_post_to_smap_api()
A
48 8 30
xyz_smap_ig_publish_media()
A
48 8 29
xyz_smap_string_limit()
A
53 8 23
xyz_smap_ajax_backlink_call()
A
53 8 23
SMAPOAuthUtil::get_headers()
A
50 7 31
SMAPLinkedInOAuth2::getGroupPosts()
S
48 7 30
SMAPLinkedInOAuth2::postToGroup()
S
51 7 25
SMAPOAuthUtil::parse_parameters()
S
55 7 19
smap_free_destroy()
S
36 2 93
SMAPOAuthRequest::get_normalized_http_url()
S
59 7 13
xyz_smap_free_tw_account_details_auto_update_fn()
S
52 6 25
xyz_smap_free_selected_ig_pages_auto_update_fn()
S
52 6 24
xyz_smap_free_selected_pages_auto_update_fn()
S
52 6 24
SMAPOAuthRequest::to_header()
S
53 6 22
xyz_smap_xyzscripts_accinfo_auto_update_fn()
S
56 6 19
SMAPOAuthUtil::split_header()
S
55 6 18
SMAPLinkedInOAuth2::getUploadUrlResponses()
S
50 5 26
SMAPLinkedInOAuth2::getProfile()
S
53 5 21
xyz_smap_del_fb_entries_fn()
S
54 5 21
SMAPLinkedIn::fnGetLinkedCompanyPages()
S
54 5 20
xyz_smap_del_lnuser_entries_fn()
S
54 5 20
xyz_smap_del_twuser_entries_fn()
S
54 5 20
xyz_smap_del_iguser_entries_fn()
S
54 5 20
SMAPOAuthUtil::build_http_query()
S
55 5 19
smap_free_network_destroy()
S
58 5 16
smap_free_network_install()
S
58 5 16
wp_smap_admin_notice()
S
43 2 57
SMAPLinkedIn::fnLinkedInConnect()
S
55 4 18
SMAPLinkedIn::fnGetLinkedInCompanyUpdates()
S
57 4 17
SMAPLinkedIn::fnGetLinkedInUserProfileUpdates()
S
57 4 17
xyz_smap_get_post_gallery_images_with_info()
S
58 4 16
SMAPLinkedInOAuth2::getStatuses()
S
58 4 14
SMAPLinkedInOAuth2::getCompanyUpdates()
S
57 4 14
SMAPLinkedInOAuth2::getUserStatuses()
S
58 4 14
xyz_trim_deep()
S
60 4 13
SMAPLinkedInOAuth2::getGroupPostResponses()
S
54 3 20
SMAPOAuthServer::get_signature_method()
S
58 3 16
xyz_smap_getimage()
S
58 3 16
xyz_smap_clear_open_graph_cache()
S
58 3 15
xyz_smap_is_session_started()
S
66 4 8
SMAPOAuthRequest::set_parameter()
S
64 4 10
SMAPOAuthServer::check_nonce()
S
60 3 15
SMAPLinkedIn::fnPostMessage()
S
59 3 15
SMAPOAuth2::getAccessToken()
S
58 3 15
SMAPOAuthUtil::urlencode_rfc3986()
S
61 3 13
SMAPLinkedInOAuth2::getAuthorizeUrl()
S
60 3 13
SMAPLinkedIn::fnGetLinkedCompanyInformation()
S
62 3 12
SMAPOAuthServer::check_timestamp()
S
62 3 12
SMAPLinkedIn::fnGetLinkedUserProfile()
S
62 3 12
SMAPOAuth2::preparePostFields()
S
62 3 11
SMAPOAuthRequest::from_consumer_and_token()
S
61 3 11
SMAPOAuthServer::get_consumer()
S
63 3 11
xyz_smap_ig_create_media_container()
S
53 2 22
SMAPLinkedInOAuth2::getGroup()
S
55 2 19
SMAPLinkedInOAuth2::getCompany()
S
55 2 19
xyz_smap_make_fb_post()
S
56 2 17
SMAPOAuthServer::check_signature()
S
57 2 17
xyz_smap_menu()
S
61 3 9
SMAPOAuthServer::get_version()
S
64 3 10
xyz_smap_fb_get_album()
S
58 2 14
xyz_smap_scrape_url()
S
60 2 13
xyz_smap_links()
S
62 2 12
SMAPLinkedInOAuth2::getAccessToken()
S
62 2 11
SMAPOAuthSignatureMethod_HMAC_SHA1::build_signature()
S
62 2 11
xyz_smap_add_admin_scripts()
S
52 1 23
SMAPLinkedInOAuth2::getUserProfile()
S
56 1 18
SMAPLinkedInOAuth2::getGroups()
S
56 1 18
SMAPOAuthRequest::get_signable_parameters()
S
69 2 7
xyz_smap_plugin_get_version()
S
68 2 6
SMAPOAuthSignatureMethod_PLAINTEXT::build_signature()
S
64 2 10
SMAPOAuthRequest::__construct()
S
68 2 7
SMAPOAuthRequest::get_parameter()
S
78 2 3
SMAPOAuthServer::get_token()
S
64 2 10
SMAPOAuthRequest::to_url()
S
67 2 8
SMAPOAuth2::getAuthorizeUrl()
S
63 2 10
SMAPLinkedInOAuth2::getCompanies()
S
60 1 13
SMAPLinkedInOAuth2::shareStatus()
S
59 1 13
SMAPLinkedInOAuth2::getFollowedCompanies()
S
60 1 13
SMAPLinkedInOAuth2::getPostMeta()
S
60 1 13
SMAPLinkedInOAuth2::getImagePostResponses()
S
60 1 12
SMAPLinkedInOAuth2::postToCompany()
S
60 1 12
SMAPLinkedInOAuth2::getImagePostResponses1()
S
61 1 11
SMAPLinkedInOAuth2::getAdminCompanies()
S
61 1 11
SMAPOAuthSignatureMethod::check_signature()
S
74 1 4
SMAPOAuthServer::add_signature_method()
S
77 1 4
SMAPOAuthDataStore::lookup_nonce()
S
100 1 2
SMAPLinkedInOAuth2::getConnections()
S
66 1 8
SMAPOAuthServer::fetch_request_token()
S
65 1 9
SMAPOAuthRequest::build_signature()
S
75 1 4
SMAPLinkedInOAuth2::commentToNetworkPost()
S
62 1 10
SMAPLinkedInOAuth2::deleteFromGroup()
S
69 1 6
xyz_smap_credit()
S
78 1 4
SMAPOAuthConsumer::__construct()
S
74 1 5
SMAPOAuthSignatureMethod::get_name()
S
100 1 0
esc_textarea()
S
76 1 4
xyz_smap_suggest_feature()
S
73 1 5
SMAPOAuthDataStore::lookup_consumer()
S
100 1 2
SMAPOAuthToken::__construct()
S
77 1 4
SMAPOAuthServer::__construct()
S
82 1 3
plugin_load_smaptextdomain()
S
78 1 3
xyz_smap_local_date_time()
S
78 1 3
xyz_smap_add_action_links()
S
70 1 6
SMAPOAuthRequest::sign_request()
S
66 1 9
SMAPOAuthUtil::urldecode_rfc3986()
S
80 1 3
SMAPLinkedIn::__construct()
S
74 1 5
SMAPOAuthRequest::unset_parameter()
S
80 1 3
xyz_smap_logs()
S
66 1 9
SMAPLinkedInOAuth2::__construct()
S
71 1 6
SMAPLinkedInOAuth2::getCompanyUpdateResponses()
S
65 1 8
SMAPLinkedInOAuth2::getNetworkPostResponses()
S
67 1 7
SMAPOAuthDataStore::new_request_token()
S
100 1 2
SMAPOAuthSignatureMethod_RSA_SHA1::get_name()
S
82 1 3
SMAPOAuthDataStore::lookup_token()
S
100 1 2
SMAPOAuthToken::__toString()
S
82 1 3
SMAPOAuthSignatureMethod_RSA_SHA1::build_signature()
S
65 1 9
SMAPOAuthConsumer::__toString()
S
80 1 3
SMAPOAuthSignatureMethod_RSA_SHA1::fetch_private_cert()
S
100 1 0
SMAPOAuthRequest::generate_timestamp()
S
80 1 3
SMAPOAuthSignatureMethod_RSA_SHA1::check_signature()
S
64 1 9
xyz_smap_about()
S
73 1 5
SMAPLinkedInOAuth2::commentToGroupPost()
S
62 1 10
SMAPOAuthSignatureMethod::build_signature()
S
100 1 0
xyz_smap_settings()
S
66 1 9
SMAPOAuthRequest::__toString()
S
81 1 3
SMAPOAuthRequest::generate_nonce()
S
72 1 5
SMAPOAuthToken::to_string()
S
72 1 6
SMAPOAuthDataStore::new_access_token()
S
100 1 2
SMAPOAuthRequest::get_signature_base_string()
S
66 1 9
SMAPOAuthRequest::get_parameters()
S
82 1 3
xyz_smap_manage_authorizations()
S
73 1 5
SMAPOAuth2::__construct()
S
74 1 5
SMAPOAuthSignatureMethod_PLAINTEXT::get_name()
S
82 1 3
SMAPOAuthServer::verify_request()
S
68 1 7
SMAPOAuthRequest::get_normalized_http_method()
S
80 1 3
SMAPOAuthRequest::to_postdata()
S
80 1 3
SMAPOAuthSignatureMethod_RSA_SHA1::fetch_public_cert()
S
100 1 0
SMAPOAuthSignatureMethod_HMAC_SHA1::get_name()
S
83 1 3
SMAPOAuthServer::fetch_access_token()
S
65 1 9