Code Analysis: Extendify 1.19.5

Function Rating Maintainability Complexity Lines of code
Extendify\Library\Frontend::themeCompatInlineStyles()
C
29
18 161
Extendify\Shared\Admin::loadGlobalScripts()
B
28
16 147
Extendify\Shared\Services\Import\ImageUploader::uploadImage()
A
40 12 58
Extendify\AdminPageRouter::redirectOnce()
A
47 13 32
Extendify\Assist\Controllers\DomainsSuggestionController::fetchDomainSuggestions()
A
42 11 51
Extendify\AdminPageRouter::__construct()
A
42 10 56
Extendify\Shared\Services\Import\ImagesImporterRunner::run()
A
48 10 32
Extendify\Assist\Admin::getTasksDependencies()
A
49 10 29
Extendify\Shared\Controllers\PatternPlaceholderController::processPlaceholders()
A
50 9 28
Extendify\Launch\Services\WooCommerceImporter::import()
A
46 8 38
Extendify\PartnerData::fetchPartnerData()
A
47 8 34
Extendify\Shared\Services\VersionMigrator::migrate_1_14_2_fixUsageMathBug()
A
44 7 47
Extendify\Draft\Admin::enqueueGutenbergAssets()
A
44 7 45
Extendify\Shared\Services\Import\BlocksUpdater::processBlock()
A
50 8 29
Extendify\Shared\Services\PluginDependencies\WooCommerce::create()
A
47 7 36
Extendify\Launch\Admin::addScopedScriptsAndStyles()
A
40 5 62
Extendify\Library\Admin::addScopedScriptsAndStyles()
A
43 6 47
Extendify\Launch\Services\WooCommerceImporter::createProduct()
A
48 7 31
Extendify\Assist\Admin::loadPageScripts()
A
40 5 61
Extendify\Assist\Controllers\RecommendationsController::fetchRecommendations()
S
49 7 30
Extendify\Shared\Services\ApexDomain\ApexDomain::getApexDomain()
S
50 7 26
Extendify\Shared\Services\PluginDependencies\Forms\WPForms::create()
S
51 7 25
Extendify\Shared\Services\Import\BlocksUpdater::updateImageTagAttributes()
S
52 7 23
Extendify\Recommendations\Admin::getProductsData()
S
47 6 37
Extendify\Shared\Admin::recordBlocksSearchTerms()
S
54 7 19
Extendify\Library\Controllers\SiteController::addUtilsToGlobalStyles()
S
49 6 31
Extendify::__invoke()
S
58 7 15
Extendify\Shared\Services\PluginDependencies\Forms\ContactForm7::create()
S
50 6 28
Extendify\PageCreator\Admin::addScopedScriptsAndStyles()
S
45 5 43
Extendify\Recommendations\Admin::loadScriptsAndStyles()
S
46 5 41
Extendify\Shared\Services\PluginDependencies\Forms\WPForms::getOrCreateForm()
S
51 6 26
Extendify\Shared\DataProvider\ResourceData::scheduleCache()
S
46 5 40
Extendify\PartnerData::getPartnerData()
S
53 6 22
Extendify\Draft\Controllers\ImageController::uploadMedia()
S
48 5 35
Extendify\Shared\Services\HttpClient::buildParams()
S
56 6 16
Extendify\HelpCenter\Admin::loadGlobalScripts()
S
45 4 43
Extendify\PartnerData::cssVariableMapping()
S
50 5 27
Extendify\PartnerData::__construct()
S
43 3 49
Extendify\Config::__construct()
S
54 5 18
Extendify\Insights::__construct()
S
56 5 18
Extendify\Shared\Services\HttpClient::get()
S
55 5 17
Extendify\SiteSettings::getSiteCreatedAt()
S
50 4 32
Extendify\Shared\Services\Import\ImageUploader::handleImageUpload()
S
57 5 16
Extendify\Launch\Services\WooCommerceImporter::setProductImages()
S
57 5 16
Extendify\Library\Admin::isGutenbergEditor()
S
62 6 10
Extendify\Shared\Services\PluginDependencies\PluginInstaller::installPlugin()
S
49 4 30
Extendify\PageCreator\Admin::isGutenbergEditor()
S
62 6 10
Extendify\Shared\Services\PluginDependencies\SimplyBook::create()
S
60 5 13
Extendify\Shared\Services\Import\ImageUploader::createAttachment()
S
55 4 19
Extendify\Shared\Services\PluginDependencies\Forms\ContactForm7::getOrCreateForm()
S
56 4 18
Extendify\Shared\Services\VersionMigrator::__construct()
S
57 4 17
Extendify\Shared\Services\Import\ImagesImporter::dailyImageImportCheck()
S
58 4 17
Extendify\Shared\Admin::updateUserMeta()
S
57 4 16
extendifyResolveFallbackLocaleFile()
S
65 5 9
Extendify\Shared\Services\Import\BlocksUpdater::hasTargetedClassName()
S
59 4 13
Extendify\Shared\Services\Import\BlocksUpdater::processAndMutateBlocks()
S
61 4 12
Extendify\Shared\Services\Sanitizer::sanitizeArray()
S
62 4 11
Extendify\Shared\Services\Sanitizer::sanitizeUserSelections()
S
63 4 11
Extendify\Shared\DataProvider\ResourceData::__construct()
S
62 4 11
Extendify\Shared\Services\PluginDependencies\Forms\WPForms::getFormFields()
S
49 2 35
Extendify\Shared\DataProvider\ResourceData::getData()
S
56 3 19
Extendify\Shared\Services\Import\Post::update()
S
56 3 17
Extendify\Launch\Controllers\WooCommerceController::importTemporaryProducts()
S
59 3 14
Extendify\Shared\Services\Import\ImageUploader::getAttachmentIfExists()
S
59 3 14
Extendify\Assist\Admin::canRunLaunchAgain()
S
60 3 13
Extendify\HelpCenter\Controllers\SupportArticlesController::getRedirect()
S
59 3 13
Extendify\Assist\AdminPage::__construct()
S
62 3 12
Extendify\Shared\Services\Escaper::recursiveEscAttr()
S
63 3 11
Extendify\Shared\Services\Import\BlocksUpdater::getImageSource()
S
61 3 11
Extendify\Shared\Services\Import\BlocksUpdater::updateNewBlockAttributes()
S
63 3 11
Extendify\HelpCenter\Controllers\SupportArticlesController::fetchArticles()
S
62 3 11
Extendify\Insights::filterExternalInsights()
S
51 2 25
Extendify\Shared\Services\Import\ImagesImporter::everyTenMinImportCheck()
S
55 2 21
Extendify\AdminPageRouter::addAdminMenu()
S
59 2 15
Extendify\Shared\Services\Import\BlocksUpdater::needsImageProcessing()
S
65 3 8
Extendify\Shared\Services\Import\BlocksUpdater::removeClassAttributeFromAttrs()
S
63 3 10
Extendify\Shared\Services\Import\BlocksUpdater::removeClassAttributeFromContent()
S
63 3 10
Extendify\Affiliate::monsterInsights()
S
60 2 15
Extendify\Shared\Services\Import\ImagesImporter::__construct()
S
63 3 10
Extendify\ApiRouter::checkPermission()
S
65 3 9
Extendify\Library\Controllers\SiteController::getDeactivationCss()
S
60 2 15
Extendify\PageCreator\Controllers\SiteController::get()
S
63 3 10
Extendify\Shared\Admin::recordPluginsSearchTerms()
S
63 3 10
Extendify\HelpCenter\Controllers\SupportArticlesController::article()
S
60 2 14
Extendify\Affiliate::wpforms()
S
63 2 12
Extendify\Affiliate::aioseo()
S
63 2 12
Extendify\Launch\Admin::getLaunchCreatedNavigations()
S
62 2 11
Extendify\Launch\Admin::getLaunchCreatedPages()
S
61 2 11
Extendify\Assist\Controllers\WPController::getActivePlugins()
S
62 2 11
Extendify\Shared\Controllers\UserSettingsController::updateUserMeta()
S
55 1 20
Extendify\Library\Admin::registerUserMeta()
S
57 1 18
Extendify\PageCreator\Admin::registerUserMeta()
S
57 1 18
Extendify\Launch\Controllers\DataController::getGoals()
S
58 1 16
Extendify\ApiRouter::__callStatic()
S
66 2 8
Extendify\Shared\Services\Import\BlocksUpdater::removeTargetedClassAttribute()
S
67 2 7
Extendify\Shared\Services\Sanitizer::sanitizeUnknown()
S
78 2 3
Extendify\PageCreator\Admin::loadScripts()
S
72 2 6
Extendify\Launch\Controllers\WPController::prefetchAssistData()
S
70 2 6
Extendify\Launch\Controllers\WPController::savePattern()
S
63 2 9
Extendify\Library\Controllers\SiteController::single()
S
64 2 9
Extendify\AdminPageRouter::addSubMenu()
S
65 2 10
Extendify\Library\Admin::loadScripts()
S
72 2 6
Extendify\Shared\Services\HttpClient::buildHeaders()
S
64 2 10
Extendify\Shared\DataProvider\ResourceData::recommendations()
S
67 2 8
Extendify\Shared\DataProvider\ResourceData::supportArticles()
S
67 2 8
Extendify\Shared\Services\Sanitizer::sanitizePostContent()
S
78 2 3
Extendify\Shared\Services\VersionMigrator::extractVersion()
S
73 2 4
Extendify\Insights::setUpActiveTests()
S
63 2 10
Extendify\Launch\Services\WooCommerceImporter::uploadImage()
S
66 2 8
Extendify\Assist\Controllers\TasksController::getRemainingCount()
S
64 2 9
Extendify\Library\Frontend::enqueueUtilityStyles()
S
66 2 9
Extendify\PartnerData::setting()
S
70 2 6
Extendify\PageCreator\Controllers\SiteController::single()
S
64 2 9
Extendify\Shared\Services\Import\BlocksUpdater::addImageAttributes()
S
65 2 8
Extendify\Shared\Admin::recordThemesSearchTerms()
S
63 2 10
Extendify\AdminPageRouter::maybeForceFlush()
S
71 2 6
Extendify\Launch\Controllers\WPController::createNavigationWithMeta()
S
59 1 14
Extendify\Shared\Services\Import\Post::countPostsNeedingUpdate()
S
61 1 14
Extendify\Shared\Services\Import\Post::all()
S
61 1 14
Extendify\Shared\Admin::addExtraMetaFields()
S
63 1 12
Extendify\Affiliate::__construct()
S
72 1 6
Extendify\HelpCenter\Controllers\RouterController::store()
S
68 1 7
Extendify\Launch\Controllers\WPController::getOption()
S
68 1 7
Extendify\Shared\Services\Import\ImageUploader::upload()
S
71 1 5
Extendify\Shared\Services\Sanitizer::sanitizeText()
S
79 1 3
Extendify\Draft\Admin::__construct()
S
78 1 3
Extendify\Assist\Controllers\DomainsSuggestionController::cleanSiteTitle()
S
78 1 3
Extendify\Shared\Services\Import\ImagesImporterRunner::delayProcessing()
S
79 1 3
Extendify\PageCreator\Admin::__construct()
S
71 1 5
Extendify\Draft\Controllers\UserSettingsController::store()
S
71 1 5
Extendify\HelpCenter\Controllers\SupportArticlesController::get()
S
74 1 4
Extendify\HelpCenter\Controllers\RouterController::get()
S
74 1 4
Extendify\Launch\AdminPage::pageContent()
S
77 1 9
Extendify\Shared\Controllers\SiteProfileController::store()
S
72 1 5
Extendify\Shared\Controllers\ActivityController::get()
S
74 1 4
Extendify\HelpCenter\Controllers\SupportArticlesController::store()
S
68 1 7
Extendify\Assist\Controllers\TasksController::store()
S
71 1 5
Extendify\Shared\Controllers\ActivityController::store()
S
71 1 5
Extendify\Launch\Controllers\WPController::postLaunch()
S
71 1 5
Extendify\ApiRouter::getHandler()
S
68 1 7
Extendify\AdminPageRouter::getRoute()
S
82 1 3
Extendify\Assist\Controllers\TasksController::get()
S
74 1 4
Extendify\Shared\Services\Import\Post::isLocked()
S
75 1 4
Extendify\Assist\AdminPage::pageContent()
S
77 1 9
Extendify\Shared\Services\Sanitizer::sanitizeTextWithFormattingTags()
S
67 1 8
Extendify\Assist\Controllers\GlobalsController::get()
S
74 1 4
Extendify\Recommendations\Admin::__construct()
S
78 1 3
Extendify\Draft\Controllers\RouterController::get()
S
74 1 4
Extendify\HelpCenter\Admin::__construct()
S
78 1 3
Extendify\Shared\Controllers\DataController::ping()
S
78 1 3
Extendify\Affiliate::isEnabled()
S
78 1 3
Extendify\Library\Controllers\SiteController::store()
S
71 1 5
Extendify\Shared\Controllers\DataController::getPartnerPlugins()
S
68 1 7
Extendify\Shared\Services\VersionMigrator::getMigrationMethods()
S
66 1 8
Extendify\Shared\DataProvider\ResourceData::cacheData()
S
69 1 7
Extendify\Draft\Controllers\UserSettingsController::get()
S
74 1 4
Extendify\Assist\Controllers\DomainsSuggestionController::deleteCache()
S
74 1 4
Extendify\ApiRouter::postHandler()
S
68 1 7
Extendify\Assist\Controllers\DomainsSuggestionController::hasValidSiteTitle()
S
72 1 5
Extendify\Assist\Controllers\GlobalsController::store()
S
71 1 5
Extendify\Draft\Admin::loadScripts()
S
79 1 3
Extendify\HelpCenter\Controllers\TourController::store()
S
71 1 5
Extendify\Launch\AdminPage::__construct()
S
91 1 2
Extendify\Library\Frontend::__construct()
S
75 1 4
Extendify\Assist\Controllers\RouterController::get()
S
74 1 4
Extendify\Shared\Services\Sanitizer::sanitizeBlocks()
S
75 1 4
Extendify\Shared\Controllers\UserSelectionController::get()
S
74 1 4
Extendify\Assist\Controllers\DomainsSuggestionController::tracking()
S
71 1 5
Extendify\Shared\Admin::__construct()
S
65 1 8
Extendify\Launch\Controllers\WPController::updateOption()
S
71 1 5
Extendify\Launch\Controllers\WPController::getActivePlugins()
S
70 1 6
Extendify\Shared\Controllers\UserSelectionController::store()
S
71 1 5
Extendify\Shared\Services\Sanitizer::sanitizeTextarea()
S
79 1 3
Extendify\Assist\Controllers\RouterController::store()
S
71 1 5
Extendify\Launch\Admin::getTemplatePartIds()
S
70 1 6
Extendify\Assist\Admin::__construct()
S
78 1 3
Extendify\Shared\Controllers\SiteProfileController::get()
S
74 1 4
Extendify\Library\Admin::__construct()
S
74 1 4
Extendify\HelpCenter\Controllers\TourController::get()
S
74 1 4
Extendify\Launch\Admin::__construct()
S
78 1 3
Extendify\Draft\Controllers\RouterController::store()
S
71 1 5
Extendify\Shared\Services\Import\BlocksUpdater::getModifiedBlocksInPost()
S
71 1 5
Extendify\Library\Controllers\SiteController::get()
S
74 1 4
Extendify\Shared\Services\VersionMigrator::getVersion()
S
71 1 5