Code Analysis: Ajax Search Lite 4.12.7

Function Rating Maintainability Complexity Lines of code
ASL_Search_CPT::do_search()
D
2
108 462
ASL_Search_CPT::post_process()
D
16
71 232
ASL_Helpers::toQueryArgs()
D
18
74 174
ASL_Search_CPT::build_cff_query()
D
24
48 154
ASL_Search_CPT::adv_field()
D
26
50 120
ASL_Query::get_posts()
D
26
42 138
WD_ASL_Init::backwards_compatibility_fixes()
D
29 39 116
ASL_Search_CPT::getBFIimage()
D
30 37 100
WD_ASL_Styles::getInlineStyles()
D
24
24 220
ASL_Search_CPT::build_pgp_query()
D
30 30 110
WD_ASL_SearchOverride_Filter::getAdditionalArgs()
C
35 32 74
WD_ASL_Scripts::get()
C
34 28 88
asl_results_to_wp_obj()
C
32 26 103
ASL_Search::context_find()
B
40 24 55
ASL_Helpers::getCFValue()
B
40 24 51
ASL_Helpers::woo_formattedPriceWithCurrency()
B
38 22 68
WD_ASL_Init::scripts()
B
27
15 163
ASL_Helpers::toQueryArgs_Taxonomies()
B
39 20 60
ASL_Search_CPT::build_term_query()
B
34 17 93
wpd_googleKeywordSuggest::getKeywords()
B
42 19 46
ASL_Search_CPT::compare_by_secondary()
B
44 18 42
ASL_Search_CPT::compare_by_primary()
B
44 18 40
asl_do_init_options()
B
21
1 278
ASL_Search_CPT::build_query()
B
42 16 49
WD_ASL_SearchOverride_Filter::isSearch()
A
48 16 32
asl_get_image_from_content()
A
43 15 45
ASL_Search::build_query()
A
43 14 47
WD_ASL_Search_Shortcode::handle()
A
39 12 63
ASL_Search::prepare_keywords()
A
44 13 47
wpdreamsCustomTaxonomyTerm::getType()
A
40 12 60
ASL_Query::processOptions()
A
41 12 53
ASL_Helpers::resolveBracketSyntax()
A
52 13 22
WD_ASL_Scripts::get_block_files_ordered()
A
48 12 32
wpdreamsCategories::getType()
A
45 11 42
WD_ASL_Maintenance_Handler::handle()
A
42 10 56
WD_ASL_SearchOverride_Filter::checkSearchOverride()
A
49 11 30
wpdreamsCustomPostTypes::getType()
A
45 10 41
WD_ASL_Scripts::isRequired()
A
50 10 32
WD_ASL_SearchOverride_Filter::override()
A
45 9 42
WD_ASL_Search_Handler::handle()
A
45 9 40
asl_generate_html_results()
A
47 9 36
ASL_Query::applyExceptions()
A
50 9 25
ASL_Helpers::getUserCFValue()
A
53 9 21
wpdreamsCustomPostTypes::processData()
A
53 9 21
WD_ASL_Manager::loadIncludes()
A
48 8 35
wpdreamsCustomPostTypesEditable::getType()
A
42 7 50
ASL_Query::kwSuggestions()
A
47 8 33
wd_closetags()
A
49 8 31
wpdreamsType::checkData()
A
50 8 30
ASL_Helpers::addInlineScript()
A
51 8 26
wpdreamsCustomTaxonomyTerm::processData()
A
51 8 25
wd_current_page_url()
A
56 8 16
asl_get_unused_assets()
S
52 7 26
WD_ASL_StyleSheets_Action::handle()
S
51 7 25
ASL_Helpers::escape()
S
52 7 23
WD_ASL_Cookies_Action::handle()
S
53 7 21
ASL_Search_CPT::get_date_query_parts()
S
52 7 21
ASL_Search::compatibility()
S
54 7 19
WD_ASL_Plugin_SearchExclude_Filter::handle()
S
55 7 18
asl_icl_t()
S
57 7 16
WD_ASL_Manager::getContext()
S
57 7 16
WD_ASL_Compatibility_AdminNotices::handle()
S
58 7 15
WD_ASL_Ajax::register()
S
59 7 12
wpdreamsCustomFSelect::getType()
S
51 6 26
wpdreams_parse_params()
S
54 6 20
wd_CFSearchCallBack::getType()
S
55 6 19
ASL_Search::parse_search_terms()
S
55 6 19
get_asl_result_field()
S
57 6 18
wpdreams_admin_hex2rgb()
S
56 6 16
ASL_Search::post_process()
S
63 7 9
wd_CFSearchCallBack::searchCF()
S
50 5 27
WD_ASL_Search_Shortcode::fonts()
S
52 5 24
wpdreamsBorder::getType()
S
50 4 35
ASL_Helpers::reverseString()
S
56 5 18
WD_ASL_Scripts::process_config()
S
57 5 16
wd_in_array_r()
S
65 6 8
wpdreams_in_array_r()
S
65 6 8
wpdreamsCustomTaxonomyTerm::printTermsRecursive()
S
63 6 8
ASL_Search_CPT::compare_by_rp()
S
59 5 14
WD_ASL_Scripts::enqueue()
S
52 4 28
ASL_Helpers::getPODsValue()
S
59 5 13
wdDebugData::pushData()
S
60 5 13
wpdreamsTextSmall::processData()
S
60 5 12
the_asl_result_field()
S
63 5 11
wpdreams_asl_mce_generate_variable()
S
52 4 24
wpdreamsTextSmall::getType()
S
55 4 20
wpd_font()
S
57 4 16
ASL_Helpers::font()
S
57 4 16
WD_ASL_Instances::get()
S
65 5 9
WD_ASL_Instances::getWithoutData()
S
65 5 9
wpdreamsCustomTaxonomyTerm::getAllTerms()
S
58 4 15
wd_CFSearchCallBack::processData()
S
67 5 7
wd_array_to_string()
S
59 4 14
wpdreamsCustomFSelect::get_custom_fields_list()
S
58 4 14
wpdreamsUpload::getType()
S
48 1 57
WD_ASL_EtcFixes_Filter::allowShortcodeInMenus()
S
62 4 12
WD_ASL_Init::pluginReset()
S
52 3 27
asl_woo_version_check()
S
63 4 11
WD_ASL_Menu::register()
S
53 3 24
WD_ASL_Instances::init()
S
55 3 21
wpdreamsNumericUnit::getType()
S
56 3 17
wpdreamsCustomFields::getType()
S
50 2 31
wpdreamsCustomSelect::getType()
S
57 3 16
WD_ASL_Instances::decode_params()
S
63 4 9
WD_ASL_Scripts::__construct()
S
63 4 10
ASL_Query::getResIdsArr()
S
66 4 8
WD_ASL_Manager::loadHooks()
S
64 4 10
asl_decode_params()
S
63 4 9
wpdreams_asl_add_mce_button()
S
65 4 9
mysql_escape_mimic()
S
64 4 8
WD_ASL_Manager::loadAssets()
S
64 4 9
wpdreamsLanguageSelect::getType()
S
58 3 14
WD_ASL_Shortcodes::register()
S
59 3 13
ASL_Helpers::getTermsList()
S
60 3 13
WD_ASL_Actions::register()
S
59 3 13
WD_ASL_Filters::register()
S
59 3 13
wpd_keywordSuggestAbstract::url_get_contents()
S
61 3 12
ASL_Helpers::force_numeric()
S
61 3 12
WD_ASL_DBMan::__construct()
S
61 3 12
wpdreamsType::__construct()
S
61 3 12
ASL_Helpers::stripTagsWithContent()
S
62 3 11
WPDRMS\Backend\Blocks\AslSearchBlocks::register()
S
53 2 25
admin_scriptsV04()
S
49 1 37
ASL_Query::__construct()
S
54 2 20
wpd_googleKeywordSuggest::__construct()
S
56 2 19
WD_ASL_Manager::stopLoading()
S
65 3 9
WPDRMS\Backend\Blocks\AslSearchBlocks::render()
S
70 3 6
wpdreamsYesNo::getType()
S
63 3 9
WD_ASL_Shortcodes::deregister()
S
68 3 7
ASL_Helpers::datediffInWeeks()
S
64 3 9
wpdreamsColorPickerDummy::getType()
S
59 2 15
WD_ASL_Actions::registerAll()
S
67 3 7
wpdreamsCustomPostTypesEditable::processData()
S
64 3 9
WD_ASL_EtcFixes_Filter::switchToNewScriptsOnLiveLoader()
S
64 3 10
WD_ASL_Ajax::doingAjax()
S
66 3 8
ASL_Query::preProcessOptions()
S
70 3 6
wpdreamsType::setError()
S
67 3 8
ASL_Search::search()
S
66 3 8
wpdreamsType::decode_param()
S
67 3 7
wpdreamsType::encode_param()
S
67 3 7
wd_substr_at_word()
S
66 3 7
asl_save_option()
S
65 3 9
asl_parse_options()
S
64 3 9
wpd_keywordSuggestAbstract::can_get_file()
S
67 3 8
AjaxSearchLiteWidget::widget()
S
62 3 10
WD_ASL_Manager::init()
S
59 2 14
wpdreamsColorPicker::getType()
S
60 2 14
AjaxSearchLiteWidget::form()
S
61 2 13
ASL_Helpers::removeGutenbergBlocks()
S
60 2 13
WD_ASL_Init::pluginWipe()
S
62 2 12
WD_ASL_Actions::registerCron()
S
62 2 11
wpdreamsFour::getType()
S
57 1 18
admin_stylesV04()
S
58 1 16
WD_ASL_Shortcodes::registerAll()
S
74 2 4
WD_ASL_DBMan::getInstance()
S
71 2 6
WD_ASL_Ajax::registerAll()
S
73 2 4
WD_ASL_Menu::getMenuPages()
S
68 2 7
wdDebugData::getData()
S
73 2 5
WD_ASL_CustomFonts_Action::getInstance()
S
71 2 6
WD_ASL_Filters::registerAll()
S
73 2 4
asl_reset_option()
S
70 2 6
WD_ASL_SearchOverride_Filter::fixUrls()
S
74 2 5
ASL_Search_CPT::compare_by_rd_desc()
S
70 2 6
WD_ASL_SearchOverride_Filter::maybeCancelWPQuery()
S
70 2 6
WD_ASL_StyleSheets_Action::getInstance()
S
71 2 6
ASL_mb::substr()
S
68 2 7
WD_ASL_Ajax::dequeue()
S
75 2 4
WD_ASL_FormOverride_Filter::getInstance()
S
71 2 6
WD_ASL_Init::getInstance()
S
71 2 6
WD_ASL_EtcFixes_Filter::getInstance()
S
71 2 6
WD_ASL_Manager::getInstance()
S
71 2 6
WD_ASL_Search_Handler::getInstance()
S
71 2 6
WD_ASL_Cookies_Action::getInstance()
S
71 2 6
ASL_Search::__construct()
S
70 2 6
WD_ASL_Scripts::getInstance()
S
71 2 6
WD_ASL_Compatibility_AdminNotices::getInstance()
S
71 2 6
ASL_Helpers::prepareAjaxHeaders()
S
73 2 5
ASL_Helpers::check_date()
S
74 2 4
ASL_Helpers::fixSSLURLs()
S
71 2 6
WD_ASL_WooFormOverride_Filter::getInstance()
S
71 2 6
wpdreamsText::getType()
S
63 2 10
ASL_mb::strlen()
S
68 2 7
ASL_mb::strpos()
S
68 2 7
ASL_mb::strtolower()
S
68 2 7
WD_ASL_Maintenance_Handler::getInstance()
S
71 2 6
WD_ASL_EtcFixes_Filter::fixOxygenEditorJS()
S
71 2 6
wpdreamsCustomFields::processData()
S
70 2 6
WD_ASL_FormOverride_Filter::handle()
S
70 2 6
WD_ASL_Plugin_SearchExclude_Filter::getInstance()
S
71 2 6
WD_ASL_WooFormOverride_Filter::handle()
S
70 2 6
WD_ASL_SearchOverride_Filter::getInstance()
S
71 2 6
wpdreamsCategories::processData()
S
70 2 6
ASL_Search_CPT::compare_by_rd_asc()
S
70 2 6
WD_ASL_Instances::getInstance()
S
71 2 6
WD_ASL_Init::safety_check()
S
70 2 6
WD_ASL_Search_Shortcode::getInstance()
S
71 2 6
ASL_Search_CPT::deregisterShortcodes()
S
64 2 10
wpdreams_on_backend_post_editor()
S
72 2 5
w_isset_def()
S
77 2 4
asl_is_asset_required()
S
67 2 8
wpd_get_terms()
S
69 2 7
asl_gen_rnd_str()
S
64 2 9
wpdreamsBorder::processData()
S
61 1 12
wdDebugData::getStorage()
S
83 1 3
wpdreamsLanguageSelect::getData()
S
82 1 3
wpdreamsCustomFields::getData()
S
82 1 3
wpdreamsNumericUnit::getCss()
S
82 1 3
WD_ASL_Init::activate()
S
71 1 6
wpdreamsNumericUnit::getData()
S
82 1 3
ASL_Helpers::replaceFirst()
S
77 1 3
WD_ASL_Filter_Abstract::getInstance()
S
95 1 1
wd_Textarea_B64::processData()
S
80 1 3
WD_ASL_Shortcodes::getAll()
S
80 1 3
WD_ASL_StyleSheets_Action::inlineCSS()
S
91 1 2
WD_ASL_Styles::getStylesheets()
S
66 1 8
WD_ASL_Ajax::getRegistered()
S
80 1 3
wpd_is_wp_older()
S
80 1 3
wpdreamsCustomSelect::getSelected()
S
82 1 3
WD_ASL_Instances::get_script_data()
S
82 1 3
WD_ASL_Menu::route()
S
73 1 4
WD_ASL_Instances::add_script_data()
S
80 1 3
WD_ASL_Instances::__construct()
S
82 1 3
wpdreams_asl_add_tinymce_plugin()
S
75 1 4
wpdreamsFour::getData()
S
82 1 3
wpdreamsUpload::getData()
S
82 1 3
WD_ASL_SearchOverride_Filter::handle()
S
98 1 1
WD_ASL_Plugin_SearchExclude_Filter::get_all_post_type_ids()
S
66 1 9
wpdreamsCustomPostTypesEditable::getSelected()
S
82 1 3
wpdreamsType::getName()
S
82 1 3
wd_asl()
S
79 1 4
wpdreamsTextarea::getType()
S
71 1 5
wpdreamsType::getData()
S
83 1 3
WD_ASL_Ajax::getAll()
S
80 1 3
wpdreamsType::getError()
S
82 1 3
wpdreamsCustomTaxonomyTerm::getAllTaxonomies()
S
66 1 9
wpdreamsBorder::getCss()
S
82 1 3
WD_ASL_Manager::loadInstances()
S
80 1 3
WD_ASL_Init::footer()
S
91 1 2
wdDebugData::save()
S
80 1 3
ASL_Search_CPT::compare_by_title_desc()
S
79 1 3
wpdreamsCustomTaxonomyTerm::getData()
S
82 1 3
WD_ASL_Manager::preLoad()
S
68 1 7
WD_ASL_Manager::loadShortcodes()
S
82 1 3
WD_ASL_Shortcode_Abstract::getInstance()
S
95 1 1
wpdreamsNumericUnit::processData()
S
67 1 7
WD_ASL_Init::styles()
S
98 1 1
wpdreamsUpload::getItems()
S
91 1 2
ASL_Search_CPT::compare_by_title_asc()
S
79 1 3
wpdreams_asl_register_mce_button()
S
77 1 4
WD_ASL_CustomFonts_Action::handle()
S
77 1 4
WD_ASL_DBMan::table()
S
81 1 3
WD_ASL_Handler_Abstract::handle()
S
100 1 0
wd_CFSearchCallBack::getData()
S
81 1 3
wpdreams_four_to_string()
S
73 1 4
wpd_keywordSuggest::getKeywords()
S
81 1 3
ASL_Query::getArgs()
S
82 1 3
ASL_Post::__construct()
S
98 1 1
wpdreamsCustomSelect::getData()
S
82 1 3
wpdreamsCustomFields::getSelected()
S
82 1 3
wpdreamsUpload::getSelected()
S
91 1 2
wpdreamsHidden::getType()
S
77 1 3
wd_strip_tags_ws()
S
68 1 7
wdDebugData::__construct()
S
76 1 4
ASL_Search::do_search()
S
98 1 1
wdDebugData::destroy()
S
77 1 4
WD_ASL_Filter_Abstract::handle()
S
98 1 1
ASL_Search_CPT::return_empty_string()
S
82 1 3
wpdreamsCategories::getSelected()
S
82 1 3
WD_ASL_Shortcodes::getRegistered()
S
80 1 3
wpdreamsCustomPostTypes::getSelected()
S
82 1 3
wpdreamsCustomFSelect::processData()
S
73 1 5
wpdreamsCustomPostTypes::getData()
S
82 1 3
WD_ASL_DBMan::create()
S
91 1 2
WD_ASL_Styles::get()
S
72 1 6
wpdreamsType::getErrorNum()
S
80 1 3
wpd_is_wp_version()
S
76 1 4
WD_ASL_Manager::lateInit()
S
71 1 7
wdDebugData::getSerializedStorage()
S
80 1 3
wpdreamsFour::getSelected()
S
67 1 8
AjaxSearchLiteWidget::update()
S
73 1 5
WD_ASL_Action_Abstract::getInstance()
S
95 1 1
wpdreamsCustomTaxonomyTerm::getSelected()
S
82 1 3
WD_ASL_Actions::deregister()
S
78 1 3
WD_ASL_Instances::update()
S
72 1 5
WD_ASL_Instances::exists()
S
79 1 3
WD_ASL_Shortcode_Abstract::handle()
S
100 1 0
WD_ASL_Handler_Abstract::getInstance()
S
95 1 1
wpdreamsCustomFSelect::getData()
S
82 1 3
WPDRMS\Backend\Blocks\AslSearchBlocks::__construct()
S
79 1 3
wpdreamsCustomSelect::processData()
S
76 1 4
WD_ASL_Ajax::deregister()
S
78 1 3
WD_ASL_Filters::getAll()
S
80 1 3
asl_register_the_widgets()
S
82 1 3
WD_ASL_Init::chmod()
S
91 1 2
wd_Textarea_B64::getType()
S
67 1 7
WD_ASL_Filters::getRegistered()
S
80 1 3
WD_ASL_Manager::__construct()
S
68 1 7
WD_ASL_Ajax::queue()
S
68 1 7
wpdreamsCustomFSelect::getSelected()
S
82 1 3
wpdreamsCustomPostTypesEditable::getData()
S
82 1 3
wpdreamsType::getErrorMsg()
S
82 1 3
wpd_keywordSuggestAbstract::getKeywords()
S
100 1 0
WD_ASL_Action_Abstract::handle()
S
100 1 0
WD_ASL_Actions::getRegistered()
S
80 1 3
WD_ASL_Init::__construct()
S
80 1 3
WD_ASL_DBMan::delete()
S
98 1 1
wpdreamsUpload::processData()
S
100 1 2
wpdreamsCategories::getData()
S
82 1 3
wd_TextareaExpandable::getType()
S
70 1 5
wpd_keywordSuggest::__construct()
S
75 1 4
WD_ASL_Manager::loadMenu()
S
79 1 3
AjaxSearchLiteWidget::__construct()
S
74 1 4
WD_ASL_Filters::deregister()
S
78 1 3
WD_ASL_Manager::activationHook()
S
82 1 3
wpdreamsType::getType()
S
98 1 1
ASL_Helpers::clear_phrase()
S
77 1 3
wpdreamsBorder::getData()
S
82 1 3
wd_CFSearchCallBack::printControls()
S
76 1 10
WD_ASL_Actions::getAll()
S
80 1 3
wpdreamsFour::processData()
S
64 1 9
ASL_Search_CPT::compare_posts()
S
80 1 3
wpd_is_wp_newer()
S
80 1 3