Code Analysis: Sharkdropship & affiliate for AliExpress 2.2.3

Function Rating Maintainability Complexity Lines of code
wads_insertProductInWoocommerce()
D
13
81 264
WoosharkAliexpressImporter_OptionsManager::settingsPage()
D
18
2 787
wads_saveOptionsDB()
C
41 27 55
wads_insertReviewsIntoProduct()
A
49 9 28
wads_insertReviewsIntoProductRM_PREMUIM_PLUGIN()
A
49 9 28
wads_searchProductBySku()
A
43 7 51
wads_save_product_images()
A
49 8 31
wads_searchProductByIdReviews()
A
45 7 42
WoosharkAliexpressImporter_OptionsManager::roleToCapability()
A
57 8 19
wads_get_all_Products()
S
46 6 40
wads_getAlreadyImportedProducts()
S
46 6 38
wads_getProductsDraft()
S
46 6 38
wads_getSKuAbdUrlByCategory()
S
46 5 42
wads_removeProductFromShop()
S
55 5 21
WoosharkAliexpressImporter_Plugin::initOptions()
S
65 5 9
wads_save_single_variation_image()
S
59 4 14
wads_WoosharkAliexpressImporter_init()
S
59 3 15
wads_my_admin_scripts_init_for_Aliexpreee_freeVersion()
S
60 3 13
wads_our_plugin_action_links()
S
63 3 11
wads_get_categories_FROMWP()
S
58 2 16
WoosharkAliexpressImporter_OptionsManager::deleteSavedOptions()
S
65 3 9
WoosharkAliexpressImporter_OptionsManager::getOption()
S
67 3 8
WoosharkAliexpressImporter_OptionsManager::getRoleOption()
S
68 3 7
WoosharkAliexpressImporter_ShortCodeLoader::registerShortcodeToFunction()
S
65 3 10
upload_image()
S
53 1 21
wads_initOriginalProductUrl()
S
61 1 20
wads_getProductsCount_FROM_WP()
S
58 1 17
wads_woo_add_custom_general_fields_originalProductUrl()
S
67 1 16
WoosharkAliexpressImporter_InstallIndicator::getPluginHeaderValue()
S
64 2 9
WoosharkAliexpressImporter_OptionsManager::registerSettings()
S
68 2 7
WoosharkAliexpressImporter_OptionsManager::isUserRoleEqualOrBetterThan()
S
69 2 7
WoosharkAliexpressImporter_OptionsManager::canUserDoRoleOption()
S
69 2 7
wads_WoosharkAliexpressImporter_PhpVersionCheck()
S
67 2 8
wads_searchCategoryByName()
S
71 2 5
wads_my_awesome_func()
S
68 2 7
wads_getOldProductDetails()
S
69 2 6
WoosharkAliexpressImporter_ShortCodeScriptLoader::addScriptWrapper()
S
75 2 5
WoosharkAliexpressImporter_OptionsManager::prefix()
S
68 2 7
WoosharkAliexpressImporter_OptionsManager::unPrefix()
S
68 2 7
WoosharkAliexpressImporter_OptionsManager::createSettingsMenu()
S
63 1 11
WoosharkAliexpressImporter_LifeCycle::addSettingsSubMenuPageToPluginsMenu()
S
63 1 11
WoosharkAliexpressImporter_Plugin::getOptionMetaData()
S
65 1 8
WoosharkAliexpressImporter_OptionsManager::getPluginDisplayName()
S
80 1 3
WoosharkAliexpressImporter_InstallIndicator::getVersionSaved()
S
80 1 3
WoosharkAliexpressImporter_OptionsManager::getOptionMetaData()
S
82 1 3
WoosharkAliexpressImporter_LifeCycle::uninstall()
S
73 1 6
WoosharkAliexpressImporter_LifeCycle::upgrade()
S
91 1 2
WoosharkAliexpressImporter_InstallIndicator::getVersion()
S
80 1 3
WoosharkAliexpressImporter_InstallIndicator::setVersionSaved()
S
79 1 3
WoosharkAliexpressImporter_ShortCodeScriptLoader::register()
S
75 1 4
WoosharkAliexpressImporter_LifeCycle::addActionsAndFilters()
S
91 1 2
WoosharkAliexpressImporter_ShortCodeScriptLoader::handleShortcodeWrapper()
S
76 1 4
WoosharkAliexpressImporter_InstallIndicator::getMainPluginFileName()
S
79 1 3
WoosharkAliexpressImporter_Plugin::getMainPluginFileName()
S
82 1 3
WoosharkAliexpressImporter_InstallIndicator::isVersionLessThanEqual()
S
78 1 3
WoosharkAliexpressImporter_LifeCycle::addSettingsSubMenuPageToSettingsMenu()
S
66 1 9
WoosharkAliexpressImporter_LifeCycle::requireExtraPluginFiles()
S
76 1 4
WoosharkAliexpressImporter_LifeCycle::initOptions()
S
91 1 2
WoosharkAliexpressImporter_LifeCycle::deactivate()
S
91 1 2
WoosharkAliexpressImporter_InstallIndicator::getPluginDir()
S
80 1 3
WoosharkAliexpressImporter_Plugin::installDatabaseTables()
S
91 1 2
WoosharkAliexpressImporter_LifeCycle::otherInstall()
S
91 1 2
WoosharkAliexpressImporter_InstallIndicator::saveInstalledVersion()
S
81 1 3
WoosharkAliexpressImporter_OptionsManager::getOptionNames()
S
80 1 3
WoosharkAliexpressImporter_InstallIndicator::isSavedVersionLessThanEqual()
S
79 1 3
WoosharkAliexpressImporter_LifeCycle::install()
S
70 1 7
WoosharkAliexpressImporter_LifeCycle::getSettingsSlug()
S
79 1 3
wads_getOrders()
S
64 1 10
WoosharkAliexpressImporter_Plugin::upgrade()
S
91 1 2
WoosharkAliexpressImporter_InstallIndicator::markAsInstalled()
S
79 1 3
WoosharkAliexpressImporter_LifeCycle::prefixTableName()
S
75 1 4
WoosharkAliexpressImporter_ShortCodeLoader::register()
S
80 1 3
WoosharkAliexpressImporter_LifeCycle::otherUninstall()
S
91 1 2
WoosharkAliexpressImporter_OptionsManager::jquery_add_to_contact()
S
82 1 3
WoosharkAliexpressImporter_InstallIndicator::markAsUnInstalled()
S
80 1 3
WoosharkAliexpressImporter_OptionsManager::deleteOption()
S
76 1 4
WoosharkAliexpressImporter_InstallIndicator::isInstalledCodeAnUpgrade()
S
80 1 3
WoosharkAliexpressImporter_OptionsManager::initOptions()
S
98 1 1
WoosharkAliexpressImporter_OptionsManager::getOptionNamePrefix()
S
79 1 3
WoosharkAliexpressImporter_ShortCodeLoader::handleShortcode()
S
100 1 0
WoosharkAliexpressImporter_InstallIndicator::isInstalled()
S
79 1 3
wads_wooshark_myprefix_cron_function()
S
80 1 3
WoosharkAliexpressImporter_LifeCycle::installDatabaseTables()
S
91 1 2
WoosharkAliexpressImporter_LifeCycle::unInstallDatabaseTables()
S
91 1 2
wads_restoreConfiguration()
S
76 1 4
WoosharkAliexpressImporter_LifeCycle::addSettingsSubMenuPage()
S
82 1 3
WoosharkAliexpressImporter_Plugin::unInstallDatabaseTables()
S
91 1 2
WoosharkAliexpressImporter_LifeCycle::activate()
S
91 1 2
WoosharkAliexpressImporter_Plugin::getPluginDisplayName()
S
82 1 3
WoosharkAliexpressImporter_LifeCycle::getAjaxUrl()
S
79 1 3
WoosharkAliexpressImporter_InstallIndicator::isVersionLessThan()
S
78 1 3
WoosharkAliexpressImporter_InstallIndicator::isSavedVersionLessThan()
S
79 1 3
wads_WoosharkAliexpressImporter_noticePhpVersionWrong()
S
66 1 8
WoosharkAliexpressImporter_Plugin::addActionsAndFilters()
S
79 1 3
WoosharkAliexpressImporter_ShortCodeScriptLoader::addScript()
S
100 1 0
WoosharkAliexpressImporter_OptionsManager::updateOption()
S
75 1 4
WoosharkAliexpressImporter_OptionsManager::addOption()
S
75 1 4