Code Analysis: PantherMedia Stock Photo 1.8.4

Function Rating Maintainability Complexity Lines of code
PantherMedia_HTTP::request()
C
33 23 89
PantherMediaStockPhoto::ajax_admin()
B
44 20 35
PantherMediaStockPhoto::api_checkInfo()
B
47 20 28
PantherMediaStockPhoto::api_getMediaInfo_licenses_singlebuy()
A
41 12 59
PantherMediaStockPhoto::api_downloadImage()
A
45 13 37
PantherMediaStockPhoto::ajax_admin_media_search_filters()
A
50 12 26
PantherMediaStockPhoto::ajax_admin_media_detail_downloaded()
A
49 11 28
PantherMediaStockPhoto::ajax_admin_media_licenses()
A
47 9 33
PantherMediaStockPhoto::api_getDownloadedImages()
A
50 9 26
PantherMediaStockPhoto::api_downloadImage_settings()
A
47 8 32
PantherMediaStockPhoto::createSearchFilter()
A
49 8 32
PantherMediaStockPhoto::api_getMediaInfo_licenses()
A
51 8 26
PantherMediaStockPhoto::admin_menu_login()
A
52 8 23
PantherMediaStockPhoto::ajax_admin_media_detail()
A
49 7 31
PantherMediaStockPhoto::ajax_admin_saveSettings_filter()
S
50 7 25
PantherMediaStockPhoto_writeDebug()
S
52 7 23
PantherMediaStockPhoto::api_getLang()
S
52 7 21
PantherMediaStockPhoto::api_getMediaInfo_check()
S
55 7 17
PantherMediaStockPhoto::ajax_admin_media_licenses_images()
S
49 6 31
PantherMediaStockPhoto::ajax_admin_media_search_filters_control()
S
58 7 14
PantherMediaStockPhoto::api_getMediaInfo_licenses_other()
S
50 6 27
PantherMediaStockPhoto::is_https()
S
62 7 12
PantherMediaStockPhoto::searchFilter()
S
54 6 22
PantherMediaStockPhoto::ajax_admin_media_available()
S
54 6 20
PantherMediaStockPhoto::config_default()
S
55 6 19
PantherMediaStockPhoto::ajax_admin_image_buy()
S
58 6 14
PantherMediaStockPhoto::ajax_admin_image_download()
S
58 6 14
PantherMediaStockPhoto::api_getMediaInfo_licenses_singlebuy_extended_rights()
S
53 5 23
PantherMediaStockPhoto::ajax_admin_saveSettings_capability()
S
55 5 21
PantherMediaStockPhoto::getLoginSettings()
S
55 5 20
PantherMediaStockPhoto::ajax_admin_media_search()
S
54 5 18
PantherMediaStockPhoto::ajax_admin_saveSettings()
S
56 5 16
PantherMediaStockPhoto::api_isLogged()
S
58 5 15
PantherMediaStockPhoto::load_style_and_scripts()
S
49 4 30
PantherMediaStockPhoto::getOS()
S
44 3 44
PantherMediaStockPhoto_debug()
S
59 5 13
PantherMediaStockPhoto::__construct()
S
50 4 27
PantherMediaStockPhoto::ajax_admin_media_paging()
S
53 4 23
PantherMediaStockPhoto::api_getUserData()
S
53 4 22
PantherMediaStockPhoto::ajax_admin_media_search_thumb()
S
55 4 20
PantherMediaStockPhoto::api_getMediaInfo_licenses_marking()
S
55 4 19
PantherMediaStockPhoto::api_getMediaInfo()
S
54 4 18
PantherMediaStockPhoto::ajax_admin_saveSettings_usability()
S
56 4 17
PantherMediaStockPhoto::image_info()
S
56 4 16
PantherMediaStockPhoto::api_token_valid()
S
56 4 16
PantherMediaStockPhoto::setLoginSettings()
S
58 4 15
PantherMediaStockPhoto::api_getAuthURL()
S
56 4 15
PantherMediaStockPhoto::getMediaLink()
S
62 5 10
PantherMediaStockPhoto::api_getSearchFilter()
S
61 4 11
PantherMediaStockPhoto::ajax_admin_media_detail_downloaded_controlDB()
S
55 3 18
PantherMediaStockPhoto::plugin_deactivation()
S
56 3 17
PantherMedia_HTTP::request_token()
S
61 4 10
PantherMediaStockPhoto::ajax_admin_openauth()
S
61 3 13
PantherMediaStockPhoto::usedMediaCache()
S
60 3 13
PantherMediaStockPhoto::check_capability()
S
60 3 12
PantherMediaStockPhoto::admin_menu()
S
54 2 18
PantherMediaStockPhoto::ajax_admin_saveSettings_setDefault()
S
57 2 16
PantherMediaStockPhoto::config_plugin()
S
58 2 15
PantherMedia_HTTP::search()
S
62 3 10
PantherMediaStockPhoto::config_pmlinks()
S
65 3 9
PantherMedia_HTTP::get_media_info()
S
65 3 8
PantherMediaStockPhoto::image_dimension()
S
65 3 8
PantherMediaStockPhoto::delTree()
S
66 3 7
PantherMedia_HTTP::download_image()
S
62 3 10
PantherMediaStockPhoto::image_info_mm()
S
61 3 10
PantherMedia_HTTP::createToken()
S
62 3 10
PantherMedia_HTTP::setUser_Authentication()
S
74 3 4
PantherMedia_HTTP::getUser_Authentication()
S
68 3 7
PantherMediaStockPhoto::ajax_admin_saveSettings_getFilter()
S
61 2 12
PantherMediaStockPhoto::mimetype()
S
67 2 8
PantherMediaStockPhoto::plugins_loaded()
S
66 2 8
PantherMediaStockPhoto::ajax_admin_saveSettings_filterDelete()
S
65 2 9
PantherMediaStockPhoto::JSON_FixSingleElementArray()
S
69 2 7
PantherMedia_HTTP::get_user_profile()
S
68 2 7
PantherMediaStockPhoto::getFolder()
S
65 2 9
PantherMedia_HTTP::get_downloaded_images()
S
65 2 8
PantherMediaStockPhoto::formatBytes()
S
64 2 8
PantherMediaStockPhoto::ajax_admin_clearCache()
S
65 2 9
PantherMedia_HTTP::__construct()
S
74 1 5
PantherMediaStockPhoto::getSearchSettings()
S
74 1 4
PantherMedia_HTTP::get_user_deposit()
S
71 1 5
PantherMedia_HTTP::download_image_preview()
S
71 1 5
PantherMediaStockPhoto::config()
S
75 1 5
PantherMediaStockPhoto::api_setUserAgent()
S
67 1 7
PantherMedia_HTTP::token_valid_until()
S
71 1 5
PantherMediaStockPhoto::tab_iframe_search()
S
75 1 4
PantherMediaStockPhoto::tab_iframe_mymedia()
S
75 1 4
PantherMediaStockPhoto::link_plugin_admin_settings()
S
69 1 6
PantherMedia_HTTP::setSSL()
S
81 1 3
PantherMediaStockPhoto::ajax_admin_logout()
S
76 1 4
PantherMediaStockPhoto::getContent()
S
68 1 8
PantherMediaStockPhoto::load_media_tab_link()
S
71 1 5
PantherMediaStockPhoto::getUrl()
S
82 1 3
PantherMediaStockPhoto::plugin_activation()
S
72 1 5
PantherMediaStockPhoto::admin_menu_media()
S
78 1 3
PantherMediaStockPhoto::format_string()
S
62 1 10
PantherMedia_HTTP::get_search_filter()
S
74 1 4
PantherMediaStockPhoto::getDefaultAPISettings()
S
80 1 3
PantherMediaStockPhoto::admin_menu_settings()
S
79 1 3
PantherMediaStockPhoto::admin_menu_mymedia()
S
78 1 3
PantherMedia_HTTP::getResponseCode()
S
83 1 3
PantherMediaStockPhoto::getPerPage()
S
82 1 3
PantherMediaStockPhoto::plugin_uninstall()
S
68 1 7
PantherMedia_HTTP::set_user_agent()
S
82 1 3
PantherMedia_HTTP::get_rest_version()
S
82 1 3
PantherMedia_HTTP::host_info()
S
74 1 4
PantherMediaStockPhoto::setSearchSettings()
S
72 1 5
PantherMediaStockPhoto::admin_tabmenu_mymedia()
S
81 1 3
PantherMediaStockPhoto::admin_tabmenu_media()
S
81 1 3
PantherMedia_HTTP::setURI()
S
82 1 3