Code Analysis: WP Guidant 1.0.3

Function Rating Maintainability Complexity Lines of code
GuidantUtils::getAttributeValues()
D
21
58 176
GuidantRenderer::queryBuilder()
D
33 43 77
GuidantRenderer::resultRender()
C
31 27 98
GuidantSettings::__construct()
B
43 17 52
GuidantSettings::replaceOldImageIDwithURL()
A
45 14 45
GuidantSettings::updateElementSettings()
A
50 14 26
GuidantSettings::updateLogicSettings()
A
50 14 26
GuidantSettings::updateConditionSettings()
A
50 14 26
GuidantSettings::updateResultSettings()
A
50 14 26
GuidantSettings::updateGuideSettings()
A
50 14 26
GuidantSettings::updateFieldSettings()
A
50 14 26
GuidantSettings::updateFilterSettings()
A
50 14 26
GuidantRenderer::queryMatchingTypeValue()
A
46 11 41
GuidantSettings::deleteGuide()
A
46 11 38
GuidantAdminMeta::guidant_custom_field_save()
A
50 10 28
GuidantAdminMeta::guidant_add_meta_box()
A
51 9 27
GuidantSettings::deleteFilter()
A
52 8 26
GuidantSettings::deleteElement()
A
52 8 26
GuidantSettings::deleteField()
S
54 7 23
GuidantSettings::deleteResult()
S
54 7 22
GuidantSettings::deleteLogic()
S
54 7 22
GuidantSettings::deleteSubmission()
S
54 7 22
GuidantSettings::deleteCondition()
S
54 7 22
GuidantSettings::getSubmissionDataByElement()
S
62 6 11
GuidantSettings::listAllElements()
S
58 5 15
GuidantUtils::filterBySearch()
S
59 5 14
GuidantSettings::generateElementID()
S
59 5 13
GuidantSettings::generateConditionID()
S
59 5 13
GuidantSettings::generateLogicID()
S
59 5 13
GuidantSettings::generateResultID()
S
59 5 13
GuidantSettings::generateSubmissionID()
S
59 5 13
GuidantSettings::generateFieldID()
S
59 5 13
GuidantSettings::generateGuideID()
S
59 5 13
GuidantSettings::generateFilterID()
S
59 5 13
GuidantSettings::listAllSubmissions()
S
61 5 12
GuidantAdminMeta::guidant_meta_box_content()
S
56 4 18
GuidantSettings::listAllResults()
S
58 4 15
GuidantSettings::listAllFilters()
S
58 4 15
GuidantUtils::getAcfFields()
S
58 4 14
GuidantSettings::listAllLogics()
S
62 4 12
GuidantSettings::listAllElementsByFilterID()
S
62 4 12
GuidantSettings::listAllConditions()
S
62 4 12
GuidantUtils::getAllMetaFields()
S
58 3 14
GuidantRenderer::clearUnNecessaryIds()
S
59 3 14
GuidantAdminAjax::__construct()
S
44 1 42
GuidantAdmin::guidant_admin_enqueue()
S
53 2 22
GuidantUtils::getWoocommerceAttributes()
S
58 2 14
GuidantUtils::getWoocommerceAttributesForResults()
S
60 2 12
guidant_check_premium_activation()
S
73 2 5
GuidantSettings::listAllFields()
S
75 2 4
GuidantSettings::listAllGuides()
S
75 2 4
GuidantUtils::getGuidantCustomFields()
S
67 2 7
GuidantUtils::getPostAttributesForResult()
S
60 1 12
GuidantAdminAjax::guidant_fields_create()
S
77 1 4
GuidantAdminAjax::guidant_logic_list()
S
77 1 4
GuidantSettings::createNewFilter()
S
66 1 8
GuidantAdminAjax::guidant_card_tab_page_save()
S
77 1 4
GuidantShortcodeParser::guidant_frontend_view_maker()
S
73 1 5
GuidantAdminAjax::guidant_form_tab_page_get()
S
77 1 4
GuidantAdminAjax::guidant_guides_create()
S
77 1 4
GuidantAdminAjax::guidant_form_tab_page_save()
S
77 1 4
GuidantAdminAjax::guidant_guides_delete()
S
77 1 4
GuidantAdminAjax::guidant_conditions_list()
S
77 1 4
GuidantFrontendAjax::guidant_guide_submission()
S
77 1 4
GuidantAdminAjax::guidant_results_create()
S
77 1 4
GuidantAdminAjax::guidant_fields_delete()
S
77 1 4
GuidantSettings::createNewLogic()
S
68 1 7
GuidantAdminAjax::guidant_conditions_delete()
S
77 1 4
GuidantAdminAjax::guidant_slider_tab_page_save()
S
77 1 4
GuidantAdminAjax::guidant_result_attributes_suggestion()
S
77 1 4
GuidantAdminAjax::guidant_filters_delete()
S
77 1 4
GuidantAdminAjax::guidant_elements_create()
S
77 1 4
GuidantAdminAjax::guidant_logic_elements_suggestions()
S
77 1 4
GuidantSettings::createNewResult()
S
66 1 8
GuidantAdminAjax::guidant_logic_create()
S
77 1 4
GuidantAdminAjax::guidant_logic_delete()
S
77 1 4
GuidantFrontendAjax::__construct()
S
70 1 6
GuidantAdminAjax::guidant_elements_list()
S
77 1 4
GuidantSettings::createNewGuide()
S
66 1 8
GuidantAdminAjax::guidant_filters_create()
S
77 1 4
GuidantAdminAjax::guidant_results_delete()
S
77 1 4
GuidantAdminAjax::guidant_elements_delete()
S
77 1 4
GuidantShortcodeParser::guidant_shortcode_parser()
S
69 1 7
GuidantAdminAjax::guidant_reports_list()
S
77 1 4
GuidantSettings::recordNewSubmission()
S
67 1 7
GuidantShortcodeParser::guidant_free_activation()
S
83 1 3
GuidantAdminAjax::guidant_filters_list()
S
77 1 4
GuidantSettings::createNewField()
S
68 1 7
GuidantAdminAjax::guidant_attributes_suggestion()
S
77 1 4
GuidantAdminAjax::guidant_fields_list()
S
77 1 4
GuidantAdmin::__construct()
S
64 1 9
GuidantAdminAjax::guidant_slider_tab_page_get()
S
77 1 4
GuidantAdminAjax::guidant_results_sort()
S
77 1 4
GuidantAdmin::guidant_admin_menu()
S
74 1 4
GuidantSettings::createNewCondition()
S
68 1 7
GuidantAdminAjax::guidant_guides_list()
S
77 1 4
GuidantAdminAjax::guidant_elements_sort()
S
77 1 4
GuidantAdminMeta::__construct()
S
70 1 6
GuidantAdminAjax::guidant_card_tab_page_get()
S
77 1 4
GuidantAdmin::guidant_field_info()
S
75 1 5
GuidantAdminAjax::guidant_filters_sort()
S
77 1 4
GuidantAdminAjax::guidant_attributes_value_suggestion()
S
77 1 4
GuidantAdminAjax::guidant_logic_filter_suggestions()
S
77 1 4
GuidantAdminAjax::guidant_conditions_create()
S
77 1 4
GuidantFront::__construct()
S
68 1 7
GuidantFront::guidant_frontend_enqueue()
S
62 1 10
GuidantAdmin::guidant_action_links()
S
67 1 7
GuidantSettings::createNewElement()
S
65 1 8
GuidantShortcodeParser::__construct()
S
72 1 5
GuidantAdmin::guidant_admin_dashboard()
S
81 1 3
GuidantUtils::getPostAttributes()
S
62 1 10
GuidantAdminAjax::guidant_submission_delete()
S
77 1 4
GuidantAdminAjax::guidant_guides_tab_page_get()
S
77 1 4
GuidantAdminAjax::guidant_results_list()
S
77 1 4
GuidantSettings::insertSubmissionData()
S
71 1 5