Code Analysis: Fazaé WP Booster 1.3.6

Function Rating Maintainability Complexity Lines of code
fazaeWPBooster\Controller\BoosterAdminController::handle()
B
44 17 48
fazaeWPBooster\Varnish::addCacheControlHeaders()
A
48 9 30
fazaeWPBooster\Optimizer\Optimizer::run()
A
55 8 20
fazaeWPBooster\Optimizer\MinifyOptimizer::extractCssLinks()
A
53 8 19
fazaeWPBooster\Analytics::getMatomoJavascript()
S
48 6 41
fazaeWPBooster\Controller\AnalyticsAdminController::handle()
S
53 7 24
fazaeWPBooster\Image::convertToWebPByGettingOriginalImage()
S
45 5 42
fazaeWPBooster\Lib\MatomoApi::getSiteIdFromUrl()
S
54 5 20
fazaeWPBooster\Controller\BoosterAdminController::checkCDN()
S
58 5 14
fazaeWPBooster\Plugin::configure()
S
50 4 28
fazaeWPBooster\Varnish::add_varnish_tag_header()
S
61 5 13
fazaeWPBooster\Optimizer\CdnOptimizer::filter_files_url()
S
51 4 27
fazaeWPBooster\Optimizer\MinifyOptimizer::getMinifiedFilenameFromUrlArray()
S
57 4 17
fazaeWPBooster\Optimizer\MinifyOptimizer::extractJsScripts()
S
56 4 16
fazaeWPBooster\Optimizer\MinifyOptimizer::run()
S
60 4 15
fazaeWPBooster\Controller\BoosterAdminController::resultSpan()
S
65 5 9
fazaeWPBooster\Optimizer\MinifyOptimizer::minifyCss()
S
60 4 14
fazaeWPBooster\Optimizer\MinifyOptimizer::minifyJs()
S
60 4 14
fazaeWPBooster\Optimizer\MinifyOptimizer::http2ResourcePushHeader()
S
62 4 12
fazaeWPBooster\Controller\BoosterAdminController::getWordpressCacheInfo()
S
55 3 19
fazaeWPBooster\Optimizer\LazyLoadingOptimizer::lazyLoadImages()
S
60 3 12
fazaeWPBooster\Controller\BoosterAdminController::getHeaders()
S
62 3 11
fazaeWPBooster\Admin::addAdminBarMenu()
S
54 2 24
fazaeWPBooster\Admin::configure()
S
67 3 7
fazaeWPBooster\Optimizer\MinifyOptimizer::appendMinifiedCssTag()
S
64 3 10
fazaeWPBooster\Lib\MatomoApi::getInstanceStatsUrl()
S
64 3 10
fazaeWPBooster\Optimizer\MinifyOptimizer::appendMinifiedJsTag()
S
64 3 10
fazaeWPBooster\Varnish::getInstance()
S
71 2 6
fazaeWPBooster\Varnish::configure()
S
63 2 10
fazaeWPBooster\Controller\AnalyticsAdminController::getInstance()
S
68 2 8
fazaeWPBooster\Optimizer\CdnOptimizer::run()
S
75 2 5
fazaeWPBooster\Varnish::clearForPostId()
S
67 2 7
fazaeWPBooster\Commands::getInstance()
S
71 2 6
fazaeWPBooster\Optimizer\LazyLoadingOptimizer::extractHtmlTagProperties()
S
65 2 9
fazaeWPBooster\Optimizer\MinifyOptimizer::extractHtmlTagProperties()
S
65 2 9
fazaeWPBooster\Optimizer\MinifyOptimizer::getAbsoluteRootFilepath()
S
69 2 6
fazaeWPBooster\Front::getInstance()
S
72 2 6
fazaeWPBooster\Controller\BoosterAdminController::getInstance()
S
68 2 8
fazaeWPBooster\Optimizer\LazyLoadingOptimizer::run()
S
70 2 7
fazaeWPBooster\Cache::getInstance()
S
71 2 6
fazaeWPBooster\Controller\BoosterAdminController::checkVarnish()
S
69 2 7
fazaeWPBooster\Image::getInstance()
S
71 2 6
fazaeWPBooster\Admin::getInstance()
S
72 2 6
fazaeWPBooster\Controller\RestApiController::getInstance()
S
68 2 8
fazaeWPBooster\Analytics::getInstance()
S
68 2 8
fazaeWPBooster\Controller\RestApiController::configure()
S
63 1 11
fazaeWPBooster\Optimizer\BaseOptimizer::run()
S
100 1 0
fazaeWPBooster\Image::__construct()
S
70 1 6
fazaeWPBooster\Admin::enqueueScripts()
S
67 1 7
fazaeWPBooster\Front::enqueue_styles()
S
77 1 3
fazaeWPBooster\Analytics::configure()
S
78 1 3
fazaeWPBooster\Varnish::clearAll()
S
78 1 3
fazaeWPBooster\Controller\BoosterAdminController::getHeadersImg()
S
71 1 5
fazaeWPBooster\Commands\CacheClearCommand::__invoke()
S
73 1 5
fazaeWPBooster\Controller\AnalyticsAdminController::render()
S
80 1 3
fazaeWPBooster\Lib\MatomoApi::getIsTracking()
S
79 1 3
fazaeWPBooster\Front::configure()
S
91 1 2
fazaeWPBooster\Optimizer\LazyLoadingOptimizer::findImages()
S
72 1 5
fazaeWPBooster\Commands::configure()
S
79 1 3
fazaeWPBooster\Cache::clearVarnishPost()
S
76 1 4
activationHook()
S
80 1 3
fazaeWPBooster\Optimizer\LazyLoadingOptimizer::addLibraryScript()
S
69 1 6
fazaeWPBooster\Optimizer\MinifyOptimizer::getAbsoluteRootPath()
S
79 1 3
fazaeWPBooster\Front::enqueue_scripts()
S
77 1 3
fazaeWPBooster\Controller\BoosterAdminController::render()
S
80 1 3
fazaeWPBooster\Controller\RestApiController::cacheClear()
S
73 1 5
fazaeWPBooster\Controller\BoosterAdminController::configure()
S
69 1 6
fazaeWPBooster\Optimizer\MinifyOptimizer::initDirectories()
S
76 1 4
fazaeWPBooster\Cache::clearAll()
S
74 1 5
fazaeWPBooster\Optimizer\BaseOptimizer::__construct()
S
77 1 4
fazaeWPBooster\Cache::configure()
S
79 1 3
fazaeWPBooster\Plugin::optimizeContent()
S
75 1 4
fazaeWPBooster\Admin::enqueueStyles()
S
77 1 3
fazaeWPBooster\Cache::clearMinified()
S
73 1 4
fazaeWPBooster\Admin::getAdminBarTitle()
S
82 1 3
fazaeWPBooster\Lib\MatomoApi::getToken()
S
79 1 3
fazaeWPBooster\Controller\AnalyticsAdminController::configure()
S
69 1 6
fazaeWPBooster\Optimizer\BaseOptimizer::getContent()
S
82 1 3