Code Analysis: Landingi Landing pages 3.1.5

Function Rating Maintainability Complexity Lines of code
Landingi\Wordpress\Plugin\LandingiPlugin\Controller\AdminMenuImportedLandings::setAsHomepage()
A
44 10 42
Landingi\Wordpress\Plugin\LandingiPlugin\Controller\AdminMenuAvailableLandings::action()
A
42 9 48
Landingi\Wordpress\Plugin\LandingiPlugin\Controller\LandingPostController::action()
A
43 7 52
Landingi\Wordpress\Plugin\LandingiPlugin\DomTree\DomDocumentWrapper::insertAfterScriptSourceRegex()
S
57 7 15
Landingi\Wordpress\Plugin\LandingiPlugin\Controller\LandingPostController::removeInternalQueryParameters()
S
57 6 15
Landingi\Wordpress\Plugin\LandingiPlugin\PageTemplater::view_project_template()
S
53 5 24
Landingi\Wordpress\Plugin\LandingiPlugin\Service\LandendApiClientService::handleExceptionResponses()
S
54 4 25
Landingi\Wordpress\Plugin\LandingiPlugin\Controller\AdminMenuSettings::action()
S
55 4 20
Landingi\Wordpress\Plugin\LandingiPlugin\Service\LandendApiClientService::getLandingFromApi()
S
52 3 24
Landingi\Wordpress\Plugin\Framework\Controller\AbstractController::response()
S
62 3 11
Landingi\Wordpress\Plugin\LandingiPlugin\PageTemplater::__construct()
S
54 2 24
Landingi\Wordpress\Plugin\LandingiPlugin\LandingiWordpressPlugin::initializeContainers()
S
49 1 37
Landingi\Wordpress\Plugin\LandingiPlugin\Service\ApiClientService::getLandingsForAccount()
S
63 3 10
Landingi\Wordpress\Plugin\Framework\Http\Response::getStandardHeaders()
S
66 3 9
Landingi\Wordpress\Plugin\Framework\Http\Request::getParameter()
S
66 3 9
Landingi\Wordpress\Plugin\LandingiPlugin\Model\LandingPostType::setAsHomeButton()
S
60 2 13
Landingi\Wordpress\Plugin\Framework\Kernel\PluginKernel::initialize()
S
64 2 12
Landingi\Wordpress\Plugin\LandingiPlugin\Service\PluginInstaller::checkRequirements()
S
64 2 11
Landingi\Wordpress\Plugin\LandingiPlugin\DomTree\DomDocumentWrapper::__construct()
S
63 2 11
Landingi\Wordpress\Plugin\LandingiPlugin\PageTemplater::register_project_templates()
S
62 2 11
Landingi\Wordpress\Plugin\LandingiPlugin\Model\LandingCollection::createFromApiResponse()
S
63 2 11
Landingi\Wordpress\Plugin\LandingiPlugin\Model\LandingPostType::__construct()
S
51 1 26
Landingi\Wordpress\Plugin\LandingiPlugin\Controller\LandingPostController::modifyButtonSubmissionEndpoints()
S
57 1 21
Landingi\Wordpress\Plugin\LandingiPlugin\Controller\LandingPostController::modifyFormAndRedirectInputEndpoints()
S
57 1 20
Landingi\Wordpress\Plugin\LandingiPlugin\DomTree\DomDocumentWrapper::matchRegex()
S
78 2 3
Landingi\Wordpress\Plugin\LandingiPlugin\PageTemplater::get_instance()
S
71 2 6
Landingi\Wordpress\Plugin\Framework\Kernel\PluginKernel::getInstance()
S
69 2 7
Landingi\Wordpress\Plugin\Framework\Http\Request::isSSL()
S
77 2 3
Landingi\Wordpress\Plugin\Framework\Http\Request::getGetParameter()
S
71 2 6
Landingi\Wordpress\Plugin\LandingiPlugin\Model\LandingPostType::renderColumns()
S
66 2 9
Landingi\Wordpress\Plugin\Framework\Kernel\PluginKernel::dispatchPost()
S
70 2 6
Landingi\Wordpress\Plugin\Framework\Http\Request::getPostParameter()
S
71 2 6
Landingi\Wordpress\Plugin\Framework\Http\Response::sendAllHttpHeaders()
S
73 2 5
Landingi\Wordpress\Plugin\Framework\Http\Request::getCookie()
S
71 2 6
Landingi\Wordpress\Plugin\Framework\Event\PostTemplateFilter::filter()
S
66 2 8
Landingi\Wordpress\Plugin\Framework\Kernel\ConfigCollection::getInstance()
S
71 2 6
Landingi\Wordpress\Plugin\LandingiPlugin\DomTree\DomDocumentWrapper::getHeadNode()
S
68 2 7
Landingi\Wordpress\Plugin\Framework\Kernel\ContainerCollection::getInstance()
S
71 2 6
Landingi\Wordpress\Plugin\LandingiPlugin\Controller\LandingPostController::injectLightboxJsHandler()
S
61 1 14
Landingi\Wordpress\Plugin\LandingiPlugin\DomTree\Nodes\LightboxHandlerNode::getValue()
S
61 1 14
Landingi\Wordpress\Plugin\Framework\Controller\AbstractController::setCookie()
S
77 1 3
Landingi\Wordpress\Plugin\Framework\Http\Request::getServerVariable()
S
80 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\Service\PluginInstaller::createLandingPostType()
S
76 1 4
Landingi\Wordpress\Plugin\LandingiPlugin\Service\PluginInstaller::__construct()
S
76 1 4
Landingi\Wordpress\Plugin\LandingiPlugin\Service\PluginInstaller::registerDeactivatePluginHooks()
S
75 1 5
Landingi\Wordpress\Plugin\Framework\Http\Request::__construct()
S
69 1 7
Landingi\Wordpress\Plugin\LandingiPlugin\Service\PluginInstaller::initialize()
S
78 1 4
Landingi\Wordpress\Plugin\Framework\Http\Request::getMethod()
S
80 1 3
Landingi\Wordpress\Plugin\Framework\Controller\AbstractController::action()
S
100 1 0
Landingi\Wordpress\Plugin\Framework\Controller\AbstractController::getConfig()
S
80 1 3
Landingi\Wordpress\Plugin\Framework\Model\Post::getTitle()
S
82 1 3
Landingi\Wordpress\Plugin\Framework\Http\Request::getReferer()
S
80 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\Service\PluginInstaller::getToken()
S
80 1 3
Landingi\Wordpress\Plugin\Framework\Kernel\ContainerCollection::get()
S
80 1 3
Landingi\Wordpress\Plugin\Framework\Kernel\ContainerCollection::set()
S
80 1 3
Landingi\Wordpress\Plugin\Framework\Kernel\PluginKernel::__construct()
S
76 1 4
Landingi\Wordpress\Plugin\Framework\Http\Request::getIpAddress()
S
80 1 3
Landingi\Wordpress\Plugin\Framework\Kernel\PluginKernel::addConfig()
S
80 1 3
Landingi\Wordpress\Plugin\Framework\Event\AbstractEvent::__construct()
S
81 1 3
Landingi\Wordpress\Plugin\Framework\Kernel\PluginKernel::initializeKernelContainers()
S
67 1 7
Landingi\Wordpress\Plugin\Framework\Http\Request::getQueryString()
S
80 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\Service\ApiClientService::get()
S
73 1 5
Landingi\Wordpress\Plugin\LandingiPlugin\Model\Landing::getContent()
S
82 1 3
Landingi\Wordpress\Plugin\Framework\Model\Post::__construct()
S
74 1 5
Landingi\Wordpress\Plugin\Framework\Http\Response::setStatusCode()
S
81 1 3
Landingi\Wordpress\Plugin\Framework\Model\Post::getContent()
S
82 1 3
Landingi\Wordpress\Plugin\Framework\Http\Response::getHeaders()
S
81 1 3
Landingi\Wordpress\Plugin\Framework\Model\Post::create()
S
67 1 8
Landingi\Wordpress\Plugin\Framework\Http\Response::addHeader()
S
80 1 3
Landingi\Wordpress\Plugin\Framework\Model\PostTypeCollection::addPostType()
S
80 1 3
Landingi\Wordpress\Plugin\Framework\Model\PostTypeCollection::getPostTypes()
S
82 1 3
Landingi\Wordpress\Plugin\Framework\Controller\AbstractController::render()
S
79 1 3
Landingi\Wordpress\Plugin\Framework\Util\TwigService::__construct()
S
72 1 5
Landingi\Wordpress\Plugin\Framework\Util\TwigService::getEngine()
S
82 1 3
Landingi\Wordpress\Plugin\Framework\Util\TwigService::render()
S
75 1 4
Landingi\Wordpress\Plugin\LandingiPlugin\Controller\AdminMenuAvailableLandings::__construct()
S
72 1 5
Landingi\Wordpress\Plugin\Framework\Http\Response::setContent()
S
81 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\Controller\AdminMenuAvailableLandings::initialize()
S
77 1 4
Landingi\Wordpress\Plugin\LandingiPlugin\Controller\AdminMenuImportedLandings::noticeHomepageSuccess()
S
79 1 7
Landingi\Wordpress\Plugin\Framework\Http\Response::getRequestLineHeaders()
S
65 1 10
Landingi\Wordpress\Plugin\LandingiPlugin\Controller\AdminMenuImportedLandings::initialize()
S
76 1 4
Landingi\Wordpress\Plugin\Framework\Http\Request::getCookies()
S
82 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\Controller\AdminMenuSettings::initialize()
S
81 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\Controller\LandingPostController::__construct()
S
75 1 4
Landingi\Wordpress\Plugin\Framework\Http\Response::dispatch()
S
74 1 5
Landingi\Wordpress\Plugin\Framework\Kernel\AbstractPluginInstaller::__construct()
S
81 1 3
Landingi\Wordpress\Plugin\Framework\Model\PostTypeCollection::getPostType()
S
80 1 3
Landingi\Wordpress\Plugin\Framework\Kernel\AbstractPluginInstaller::registerActivatePluginHooks()
S
100 1 0
Landingi\Wordpress\Plugin\Framework\Http\Request::getUri()
S
80 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\Controller\LandingPostController::fixBrokenHtmlTags()
S
71 1 7
Landingi\Wordpress\Plugin\Framework\Kernel\AbstractPluginInstaller::registerDeactivatePluginHooks()
S
100 1 0
Landingi\Wordpress\Plugin\Framework\Http\Request::getUriPath()
S
79 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\DomTree\DomDocumentWrapper::save()
S
79 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\DomTree\DomDocumentWrapper::getDomDocument()
S
82 1 3
Landingi\Wordpress\Plugin\Framework\Kernel\ConfigCollection::getConfigs()
S
82 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\DomTree\DomDocumentWrapper::hasNextNode()
S
78 1 3
Landingi\Wordpress\Plugin\Framework\Kernel\ConfigCollection::setConfigs()
S
81 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\DomTree\Nodes\LightboxHandlerNode::__construct()
S
69 1 7
Landingi\Wordpress\Plugin\Framework\Kernel\ConfigCollection::get()
S
80 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\DomTree\Nodes\LightboxHandlerNode::getDomNode()
S
79 1 3
Landingi\Wordpress\Plugin\Framework\Kernel\ConfigCollection::set()
S
80 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\LandingiWordpressPlugin::compileCollections()
S
75 1 5
Landingi\Wordpress\Plugin\Framework\Http\Request::getHttpAccept()
S
80 1 3
Landingi\Wordpress\Plugin\Framework\Kernel\ContainerCollection::getContainers()
S
82 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\PageTemplater::add_new_template()
S
76 1 4
Landingi\Wordpress\Plugin\Framework\Kernel\ContainerCollection::setContainers()
S
81 1 3
Landingi\Wordpress\Plugin\Framework\Http\Request::getParameters()
S
79 1 3
Landingi\Wordpress\Plugin\Framework\Http\Response::setHeader()
S
74 1 5
Landingi\Wordpress\Plugin\Framework\Controller\AbstractController::__construct()
S
74 1 5
Landingi\Wordpress\Plugin\Framework\Http\Request::getUserAgent()
S
80 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\Model\Landing::getTestId()
S
82 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\Service\ApiClientService::createClient()
S
66 1 9
Landingi\Wordpress\Plugin\LandingiPlugin\Model\LandingPostType::getColumns()
S
67 1 8
Landingi\Wordpress\Plugin\LandingiPlugin\Model\Landing::getHash()
S
82 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\Model\LandingCollection::addLanding()
S
79 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\Model\LandingCollection::getCount()
S
82 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\Service\ApiClient\LandingiApiErrorException::__construct()
S
80 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\Model\Landing::getId()
S
82 1 3
Landingi\Wordpress\Plugin\Framework\Model\PostType::getParameters()
S
82 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\Model\LandingCollection::getLandings()
S
82 1 3
Landingi\Wordpress\Plugin\Framework\Http\Request::getInput()
S
82 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\Service\PluginInstaller::createLandingiOptions()
S
80 1 3
Landingi\Wordpress\Plugin\Framework\Model\Post::getType()
S
82 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\Service\PluginInstaller::registerActivatePluginHooks()
S
68 1 8
Landingi\Wordpress\Plugin\LandingiPlugin\Model\LandingPostType::initialize()
S
68 1 8
Landingi\Wordpress\Plugin\LandingiPlugin\Service\LandendApiClientService::createClient()
S
71 1 6
Landingi\Wordpress\Plugin\Framework\Kernel\PluginKernel::initializeContainers()
S
100 1 0
Landingi\Wordpress\Plugin\LandingiPlugin\Model\Landing::setTestId()
S
81 1 3
Landingi\Wordpress\Plugin\Framework\Http\Request::getPostParameters()
S
82 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\Model\Landing::__construct()
S
71 1 6
Landingi\Wordpress\Plugin\LandingiPlugin\Model\Landing::getSlug()
S
82 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\Model\Landing::jsonSerialize()
S
80 1 3
Landingi\Wordpress\Plugin\Framework\Http\Response::redirect()
S
76 1 4
Landingi\Wordpress\Plugin\LandingiPlugin\Service\LandendApiClientService::get()
S
71 1 6
Landingi\Wordpress\Plugin\Framework\Event\PostTemplateFilter::initialize()
S
70 1 6
Landingi\Wordpress\Plugin\Framework\Kernel\PluginKernel::getConfig()
S
80 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\Service\ApiClientService::__construct()
S
79 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\Service\ApiClient\InvalidTokenException::__construct()
S
80 1 3
Landingi\Wordpress\Plugin\Framework\Event\AbstractEvent::filter()
S
100 1 0
Landingi\Wordpress\Plugin\Framework\Http\Response::getContent()
S
82 1 3
Landingi\Wordpress\Plugin\Framework\Http\Request::getGetParameters()
S
82 1 3
Landingi\Wordpress\Plugin\Framework\Http\Response::getStatusCode()
S
82 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\Model\Landing::getName()
S
82 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\Model\LandingCollection::getLanding()
S
80 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\Service\LandendApiClientService::__construct()
S
80 1 3
Landingi\Wordpress\Plugin\LandingiPlugin\Model\Landing::setContent()
S
81 1 3