Code Analysis: Scroll to top builder 1.3.3

Function Rating Maintainability Complexity Lines of code
ystp\Actions::duplicatePostSave()
A
40 14 51
ystp\Scroll::getOptionValueFromSavedData()
A
49 15 31
ystp\AdminHelper::defaultData()
A
27
1 188
ystp\AdminHelper::selectBox()
A
50 10 28
ystp\ConditionBuilder::getConditionRowFromCurrentData()
A
46 8 38
ystp\Scroll::sanitizeValueByType()
A
53 8 27
ystp\Installer::install()
S
52 7 25
ystp\Checker::isSatisfyForCondition()
S
53 7 23
ystp\HelperFunctions::createSelectBox()
S
52 7 23
ystp\Scroll::getCurrentStyles()
S
49 6 32
ystp\AdminHelper::getCurrentPostType()
S
58 7 16
ystp\Checker::isAllow()
S
54 6 22
ystp\ScriptsIncluder::registerStyle()
S
54 6 22
ystp\ScriptsIncluder::registerScript()
S
54 6 22
ystp\Checker::checkConditions()
S
56 6 20
ystp\AdminHelper::createRadioButtons()
S
55 6 18
ystp\Js::enqueueStyles()
S
50 5 29
ystp\ConditionBuilder::filterForSave()
S
50 5 28
ystp\Filters::animationBehavior()
S
62 6 11
YstpOptionsConfig::getDefaultInsertData()
S
47 4 41
ystp\MultipleChoiceButton::renderFields()
S
52 5 26
ystp\Ajax::select2Ajax()
S
52 5 24
ystp\MultipleChoiceButton::createRadioButton()
S
52 5 24
ystp\MultipleChoiceButton::createLabel()
S
53 5 24
ystp\Actions::tableColumnValues()
S
54 5 24
ystp\ConditionBuilder::renderConditionRow()
S
55 5 19
ystp\Scroll::recursiveSanitizeTextField()
S
57 5 18
ystp\ScrollInit::includeData()
S
50 4 31
ystp\Checker::devideSettings()
S
59 5 15
ystp\Scroll::changeDefaultOptionsByNames()
S
60 5 13
ystp\Css::enqueueStyles()
S
52 4 26
ystp\YstpShowReviewNotice::getMaxOepnContent()
S
45 1 71
ystp\Actions::save()
S
54 4 21
ystp\ConditionsConfig::displaySettings()
S
42 1 66
ystp\Scroll::getScrollTypes()
S
57 4 18
ystp\RegisterPostType::postTypeSupports()
S
56 4 18
ystp\Filters::ystpSavedData()
S
63 5 10
ystp\Scroll::shapeIdTitleData()
S
59 4 14
ystp\RegisterPostType::getTypeName()
S
60 4 14
ystp\Checker::isSatisfyForConditions()
S
61 4 14
ystp\Scroll::parseScrollDataFromData()
S
61 4 12
ystp\MultipleChoiceButton::prepareBuild()
S
62 4 12
ystp\Installer::deleteScrolls()
S
54 3 23
YstpScrollConfig::init()
S
41 1 53
ystp\Scroll::find()
S
54 3 21
ystp\IncludeToPage::getSavedData()
S
55 3 20
ystp\RegisterPostType::createCdObj()
S
56 3 18
ystp\YstpShowReviewNotice::allowToShowUsageDays()
S
58 3 16
ystp\Scroll::create()
S
57 3 16
ystp\HelperFunctions::createAttrs()
S
64 4 9
ystp\Scroll::getPostSavedData()
S
62 3 12
ystp\YstpShowReviewNotice::showReviewBlockJs()
S
53 1 41
ystp\ConditionBuilder::renderConditions()
S
62 3 11
ystp\Installer::insertDefaultData()
S
53 2 23
ystp\RegisterPostType::addSubMenu()
S
51 1 34
ystp\ScriptsIncluder::enqueueStyle()
S
64 3 10
ystp\MultipleChoiceButton::createAttrs()
S
64 3 10
ystp\ScriptsIncluder::enqueueScript()
S
64 3 10
ystp\IncludeToPage::includeToPage()
S
65 3 10
ystp\AdminHelper::createAttrs()
S
64 3 10
ystp\RegisterPostType::init()
S
62 3 10
ystp\Actions::hideMetaboxes()
S
70 3 6
ystp\Actions::addMetaboxes()
S
62 3 10
ystp\ConditionBuilder::renderCondtionConfig()
S
62 3 10
ystp\Scroll::getDefaultDataByName()
S
66 3 9
ystp\Scroll::getDefaultValue()
S
65 3 10
ystp\Scroll::isAllowOption()
S
64 3 10
ystp\AdminHelper::createStyleAttrs()
S
63 3 10
ystp\Filters::ystpContent()
S
65 3 9
ystp\Filters::duplicatePost()
S
68 3 6
ystp\YstpShowReviewNotice::getMainTableCreationDate()
S
58 2 14
ystp\ConditionBuilder::renderConditionRowFromParam()
S
61 2 13
ystp\YstpShowReviewNotice::setInitialDates()
S
61 2 12
ystp\Scroll::saveConditionSettings()
S
63 2 11
ystp\AdminHelper::buildCreateScrollAttrs()
S
63 2 11
YstpOptionsConfig::optionsValues()
S
51 1 23
ystp\IncludeToPage::addToFooter()
S
53 1 22
ystp\RegisterPostType::getPostTypeLabels()
S
55 1 19
YstpOptionsConfig::init()
S
57 1 18
ystp\RegisterPostType::getPostTypeArgs()
S
56 1 18
ystp\ScrollInit::pluginRedirect()
S
70 2 6
ystp\YstpShowReviewNotice::__toString()
S
66 2 9
YstpOptionsConfig::getDefaultTimezone()
S
69 2 7
ystp\Scroll::getDisplayName()
S
69 2 7
ystp\Actions::conditionsSection()
S
68 2 7
ystp\Scroll::getTypeTitle()
S
67 2 7
ystp\Scroll::insertIntoSanitizedData()
S
72 2 5
ystp\ConditionBuilder::renderConditionRowHeader()
S
66 2 8
ystp\Scroll::isActivePost()
S
71 2 5
YstpScrollConfig::addDefine()
S
74 2 5
ystp\Scroll::getTypePathFormScrollType()
S
67 2 8
ystp\ScrollInit::getInstance()
S
71 2 6
ystp\Scroll::boolToChecked()
S
79 2 3
ystp\Filters::addNewPostUrl()
S
69 2 6
ystp\ScrollModel::getDataById()
S
70 2 6
ystp\TextScrollToTop::includeScripts()
S
70 2 6
ystp\AdminHelper::buildCreateCountdownUrl()
S
65 2 9
ystp\IncludeToPage::includeScripts()
S
68 2 7
ystp\Installer::uninstall()
S
69 2 7
ystp\AdminHelper::getPostTypeData()
S
67 2 8
ystp\Ajax::switchScroll()
S
65 2 8
YstpScrollConfig::getVersionString()
S
68 2 7
ystp\AdminHelper::getScrollThumbClass()
S
65 2 9
ystp\RegisterPostType::createCdObjFromCdType()
S
64 2 10
ystp\Filters::updatedMessages()
S
64 2 10
ystp\ScrollInit::filters()
S
71 2 6
ystp\YstpShowReviewNotice::getReviewContent()
S
62 1 14
ystp\AdminHelper::getPluginActivationUrl()
S
61 1 14
ystp\AdminHelper::getQueryDataByArgs()
S
59 1 14
ystp\IconScrollToTop::getButton()
S
60 1 13
ystp\Ajax::changeReviewPeriod()
S
59 1 13
YstpScrollConfig::headerScript()
S
63 1 12
ystp\TextScrollToTop::getViewContent()
S
60 1 12
ystp\Actions::defaultMainMetaboxes()
S
61 1 11
ystp\MultipleChoiceButton::render()
S
65 1 11
ystp\MultipleChoiceButton::getSavedValue()
S
82 1 3
ystp\MultipleChoiceButton::getButtonPosition()
S
82 1 3
ystp\MultipleChoiceButton::setButtonPosition()
S
81 1 3
ystp\ScrollInit::actions()
S
80 1 3
ystp\MultipleChoiceButton::__toString()
S
81 1 3
ystp\MultipleChoiceButton::setButtonsData()
S
81 1 3
ystp\Checker::isActive()
S
73 1 5
ystp\MultipleChoiceButton::getFields()
S
82 1 3
ystp\Scroll::getSavedData()
S
82 1 3
ystp\RegisterPostType::morePlugins()
S
80 1 3
ystp\RegisterPostType::supportPage()
S
91 1 2
ystp\RegisterPostType::postTypePage()
S
80 1 3
ystp\ScrollType::setName()
S
81 1 3
ystp\ScrollType::getName()
S
82 1 3
ystp\IncludeToPage::includeData()
S
78 1 4
ystp\ImageScrollToTop::addMetabox()
S
73 1 4
ystp\Scroll::setShortCodeContent()
S
81 1 3
ystp\Filters::__construct()
S
82 1 3
ystp\Actions::infoMetabox()
S
80 1 3
ystp\IconScrollToTop::addMetabox()
S
73 1 4
ystp\Js::__construct()
S
82 1 3
ystp\ScrollType::setAvailable()
S
81 1 3
ystp\Scroll::getClassNameScrollType()
S
72 1 5
ystp\ConditionBuilder::setSavedData()
S
81 1 3
ystp\YstpShowReviewNotice::deleteInitialDates()
S
74 1 5
ystp\IconScrollToTop::__construct()
S
78 1 3
ystp\Scroll::getShortCodeArgs()
S
82 1 3
ystp\Scroll::setType()
S
81 1 3
ystp\ScrollModel::__construct()
S
91 1 2
ystp\Scroll::setShortCodeArgs()
S
81 1 3
ystp\ImageScrollToTop::mainOptions()
S
80 1 3
ystp\ScrollInit::activate()
S
82 1 3
ystp\ScrollType::setAccessLevel()
S
81 1 3
ystp\ConditionBuilder::getSavedData()
S
82 1 3
ystp\MultipleChoiceButton::setTemplate()
S
81 1 3
ystp\Actions::postTypeInit()
S
72 1 5
ystp\Installer::createTables()
S
89 1 2
ystp\ScrollType::getAccessLevel()
S
82 1 3
ystp\ConditionBuilder::getNameString()
S
82 1 3
ystp\ConditionBuilder::render()
S
68 1 7
ystp\Scroll::getType()
S
82 1 3
ystp\ScrollInit::__construct()
S
82 1 3
ystp\ConditionBuilder::setParamKey()
S
81 1 3
ystp\Scroll::setSavedData()
S
81 1 3
ystp\Actions::generalMetaboxes()
S
76 1 4
ystp\Scroll::save()
S
70 1 6
ystp\Scroll::setTitle()
S
81 1 3
ystp\Actions::supportMetabox()
S
80 1 3
ystp\ImageScrollToTop::getViewContent()
S
72 1 5
ystp\Scroll::getTitle()
S
82 1 3
ystp\Scroll::getSanitizedData()
S
82 1 3
ystp\Ajax::conditionsRow()
S
63 1 10
ystp\MultipleChoiceButton::__construct()
S
74 1 5
ystp\ConditionBuilder::setColumnCount()
S
81 1 3
ystp\RegisterPostType::getId()
S
81 1 3
ystp\ConditionBuilder::getConfigData()
S
82 1 3
ystp\RegisterPostType::setId()
S
81 1 3
ystp\Actions::addSubMenu()
S
82 1 3
ystp\RegisterPostType::setType()
S
81 1 3
ystp\ScrollInit::__clone()
S
91 1 2
ystp\Actions::hiddenMetaboxes()
S
76 1 4
ystp\MultipleChoiceButton::setSavedValue()
S
81 1 3
ystp\Scroll::getShortCodeContent()
S
82 1 3
ystp\Scroll::getOptionValue()
S
72 1 5
ystp\Scroll::getViewContent()
S
100 1 0
ystp\Css::morePluginsPage()
S
80 1 3
ystp\AdminHelper::conditionsKeys()
S
65 1 9
ystp\ConditionBuilder::getValueFromFirst()
S
82 1 3
ystp\ConditionBuilder::setValueFromFirst()
S
81 1 3
ystp\ImageScrollToTop::__construct()
S
78 1 3
ystp\Filters::tableColumns()
S
69 1 6
ystp\ConditionBuilder::setConfigData()
S
81 1 3
ystp\YstpShowReviewNotice::getMaxOpenDaysMessage()
S
68 1 7
ystp\Scroll::getDisplaySettings()
S
75 1 4
ystp\Actions::wpEnqueueScript()
S
77 1 4
ystp\Ajax::init()
S
66 1 8
ystp\AdminHelper::upgradeButton()
S
72 1 6
ystp\IncludeToPage::pushToPosts()
S
80 1 3
ystp\TextScrollToTop::mainOptions()
S
80 1 3
ystp\MultipleChoiceButton::setFields()
S
81 1 3
ystp\Ajax::dontShowReview()
S
70 1 6
ystp\Scroll::getId()
S
81 1 3
ystp\Css::__construct()
S
82 1 3
ystp\Css::init()
S
79 1 3
ystp\Scroll::includeStyles()
S
77 1 4
ystp\ConditionBuilder::renderCurrentConditionRow()
S
64 1 9
ystp\TextScrollToTop::addMetabox()
S
73 1 4
ystp\Actions::showReviewNotice()
S
81 1 3
ystp\YstpShowReviewNotice::getPopupUsageDays()
S
65 1 8
ystp\ConditionBuilder::setNameString()
S
81 1 3
ystp\Actions::init()
S
62 1 10
ystp\Checker::getObj()
S
82 1 3
ystp\DisplayConditionBuilder::__construct()
S
71 1 6
ystp\Actions::__construct()
S
82 1 3
ystp\IconScrollToTop::getViewContent()
S
72 1 5
ystp\ConditionBuilder::getCurrentIndex()
S
82 1 3
ystp\TextScrollToTop::__construct()
S
78 1 3
ystp\ScriptsIncluder::loadScript()
S
76 1 4
ystp\Actions::getMetaBoxes()
S
75 1 4
ystp\ConditionBuilder::setCurrentIndex()
S
81 1 3
ystp\Scroll::setId()
S
81 1 3
ystp\RegisterPostType::__construct()
S
77 1 4
ystp\Actions::adminHead()
S
78 1 4
ystp\RegisterPostType::getType()
S
82 1 3
ystp\ConditionsConfig::init()
S
82 1 3
ystp\RegisterPostType::setTypeObj()
S
81 1 3
ystp\MultipleChoiceButton::getTemplate()
S
82 1 3
ystp\ConditionBuilder::getParamKey()
S
82 1 3
ystp\Filters::init()
S
64 1 9
ystp\ConditionBuilder::getChildClassName()
S
75 1 4
ystp\Checker::setObj()
S
81 1 3
ystp\Actions::revieNotice()
S
73 1 5
ystp\ScrollInit::init()
S
67 1 8
ystp\ScrollType::isAvailable()
S
82 1 3
ystp\IncludeToPage::getPosts()
S
82 1 3
ystp\ConditionBuilder::getColumnCount()
S
82 1 3
ystp\IconScrollToTop::mainOptions()
S
80 1 3
ystp\Css::getAddNewPageKey()
S
80 1 3
ystp\Scroll::setDisplayName()
S
81 1 3
ystp\Js::init()
S
79 1 3
ystp\ScrollInit::deactivate()
S
81 1 3
ystp\RegisterPostType::getTypeObj()
S
82 1 3
ystp\ScriptsIncluder::localizeScript()
S
74 1 4
ystp\Ajax::__construct()
S
82 1 3
ystp\Actions::displaySettings()
S
76 1 4
ystp\MultipleChoiceButton::getButtonsData()
S
82 1 3
ystp\ConditionsConfig::__construct()
S
82 1 3
ystp\Actions::customFunctionality()
S
76 1 4