Code Analysis: SimplyRETS Real Estate IDX 2.11.2

Function Rating Maintainability Complexity Lines of code
SimplyRetsApiHelper::srResidentialDetailsGenerator()
D
3
70 612
SrShortcodes::sr_search_form_shortcode()
D
12
68 369
SimplyRetsCustomPostPages::srPostDefaultContent()
D
14
43 342
SimplyRetsApiHelper::srResidentialResultsGenerator()
D
17
37 317
SrAdminSettings::sr_admin_page()
D
17
5 649
SrShortcodes::sr_int_map_search()
B
30 17 140
SimplyRetsApiHelper::srUpdateAdvSearchOptions()
B
41 16 53
SimplyRetsApiHelper::srPaginationParser()
B
41 16 50
SimplyRetsOpenHouses::openHouseSearchResultMarkup()
A
35 12 88
SimplyRetsCustomPostPages::srCreateDynamicPost()
A
38 12 70
SrUtils::buildDetailsLink()
A
44 13 42
SimplyRetsApiHelper::srWidgetListingGenerator()
A
39 10 69
SrUtils::mkListingSummaryCompliance()
A
48 12 34
SimplyRetsCustomPostPages::postFilterMetaBoxMarkup()
A
35 4 147
srSearchFormWidget::widget()
A
39 8 78
SrUtils::buildPaginationLinks()
A
50 11 26
SrUtils::normalizePropertyType()
A
49 10 33
SimplyRetsApiHelper::srListingSliderGenerator()
A
40 7 62
SrUtils::mkAgentOfficeAboveTheFold()
A
50 9 28
SimplyRetsApiHelper::srDetailsGallery()
A
40 6 63
SimplyRetsCustomPostPages::parseGetParameter()
A
54 8 19
SimplyRetsCustomPostPages::postFilterMetaBoxSave()
A
56 8 17
SimplyRetsCustomPostPages::postTemplateMetaBoxSave()
A
56 8 17
SimplyRetsApiHelper::srDetailsTable()
S
49 6 35
SrUtils::buildFullAddressString()
S
58 7 14
SimplyRetsApiHelper::srApiRequest()
S
41 4 57
SrListing::getBathroomsDisplay()
S
61 7 11
SrUtils::proper_parse_str()
S
53 6 25
SrShortcodes::parseShortcodeAttributes()
S
55 6 19
SimplyRetsApiHelper::srContactFormMarkup()
S
49 5 32
SimplyRetsApiHelper::srRequestUrlBuilder()
S
53 5 21
SimplyRetsCustomPostPages::srLoadPostTemplate()
S
55 5 19
http_parse_headers()
S
56 5 18
SimplyRetsOpenHouses::openHousesSearchResults()
S
50 4 31
srAgentListingWidget::widget()
S
50 4 30
srAgentListingWidget::form()
S
44 2 59
SrSearchMap::update_int_map_data()
S
50 4 27
SimplyRetsApiHelper::srContactFormDeliver()
S
51 4 26
SrMessages::noResultsMsg()
S
56 4 19
srFeaturedListingWidget::form()
S
46 2 48
srRandomListingWidget::form()
S
46 2 48
SimplyRetsCustomPostPages::srClearComments()
S
63 5 10
srRandomListingWidget::widget()
S
51 3 27
srFeaturedListingWidget::widget()
S
53 3 25
SimplyRetsCustomPostPages::postTemplateMetaBoxMarkup()
S
54 3 21
SrAdminSettings::createDemoPage()
S
55 3 20
SrShortcodes::sr_residential_shortcode()
S
55 3 19
SimplyRetsCustomPostPages::srQueryVarsInit()
S
45 1 49
srSearchFormWidget::form()
S
51 2 32
SimplyRetsApiHelper::resultDataColumnMarkup()
S
63 4 10
SimplyRetsOpenHouses::getOpenHousesByListingId()
S
59 3 14
SimplyRetsApiHelper::srApiOptionsRequest()
S
51 2 26
SrAdminSettings::register_admin_settings()
S
48 1 39
SimplyRetsCustomPostPages::srInitRewriteRules()
S
57 2 18
SimplyRetsOpenHouses::getOpenHouseDateTimes()
S
57 2 16
SrAdminSettings::adminMessages()
S
63 3 10
SrShortcodes::sr_residential_btn()
S
69 3 6
SrSearchMap::mappable()
S
67 3 8
SrUtils::ordinalSuffix()
S
65 3 8
SrSearchMap::mapWithDefaults()
S
59 2 15
SrShortcodes::attributeNameToParameter()
S
59 2 14
SrSearchMap::infoWindowMarkup()
S
52 1 29
SrUtils::mkDisclaimerText()
S
61 2 13
SimplyRetsCustomPostPages::srRegisterPostType()
S
51 1 27
SrShortcodes::sr_listing_slider_shortcode()
S
61 2 11
SimplyRetsCustomPostPages::srActivate()
S
54 1 23
SimplyRetsCustomPostPages::onActivationNotice()
S
56 1 22
SimplyRetsApiHelper::srLastUpdateHeaderParser()
S
68 2 7
SrUtils::srShowListingMeta()
S
68 2 8
SrUtils::showAgentContact()
S
68 2 8
SrUtils::mkMLSText()
S
67 2 8
SrWidgetHelper::mkApiQueryString()
S
65 2 9
SrListing::normalizeListingPhotoUrl()
S
66 2 8
SrListing::mainPhotoOrDefault()
S
64 2 9
SrUtils::isSingleVendor()
S
68 2 7
SrUtils::getHeader()
S
65 2 9
SrListing::listingStatus()
S
74 2 4
SrSearchMap::uniqGeos()
S
64 2 10
SimplyRetsApiHelper::simplyRetsClientJs()
S
61 1 14
SimplyRetsApiHelper::simplyRetsClientCss()
S
64 1 11
SimplyRetsApiHelper::retrieveListingDetails()
S
70 1 6
SimplyRetsCustomPostPages::postFilterMetaBoxCss()
S
75 1 4
srAgentListingWidget::__construct()
S
80 1 3
SrAdminSettings::add_to_admin_menu()
S
68 1 8
SimplyRetsApiHelper::srListhubAnalytics()
S
70 1 7
SrSearchMap::infoWindowWithDefaults()
S
69 1 7
srFeaturedListingWidget::update()
S
69 1 7
SrUtils::normalizeCountyText()
S
72 1 5
srSearchFormWidget::__construct()
S
80 1 3
srSearchFormWidget::update()
S
71 1 6
SrSearchMap::markerWithDefaults()
S
67 1 8
SimplyRetsApiHelper::makeApiRequest()
S
68 1 8
SrUtils::encodeStringForUrl()
S
78 1 3
srFeaturedListingWidget::__construct()
S
80 1 3
SimplyRetsCustomPostPages::srAddRewriteRules()
S
69 1 7
SimplyRetsCustomPostPages::srDeactivate()
S
74 1 5
SrUtils::decodeStringForUrl()
S
78 1 3
SrListing::listingStatusBannerClass()
S
75 1 4
srRandomListingWidget::update()
S
69 1 7
SrShortcodes::sr_register_res_button()
S
76 1 4
SimplyRetsCustomPostPages::srPluginSettingsLink()
S
66 1 8
SrShortcodes::sr_res_add_plugin()
S
74 1 4
SrShortcodes::sr_openhouses_shortcode()
S
69 1 7
SimplyRetsApiHelper::srListhubSendDetails()
S
64 1 9
SimplyRetsCustomPostPages::postFilterMetaBoxJs()
S
69 1 7
SrUtils::proper_build_query()
S
72 1 5
SimplyRetsApiHelper::retrieveListingsSlider()
S
70 1 6
SimplyRetsApiHelper::retrieveRetsListings()
S
70 1 6
SampleTest::testCreatePost()
S
82 1 3
srAgentListingWidget::update()
S
67 1 8
SampleTest::testSingleListingRequest()
S
72 1 5
srRandomListingWidget::__construct()
S
80 1 3
SimplyRetsCustomPostPages::postTemplateMetaBox()
S
65 1 10
srRegisterWidgets()
S
72 1 6
SrSearchMap::filter_mappable()
S
79 1 3
SimplyRetsApiHelper::retrieveWidgetListing()
S
70 1 6
_manually_load_plugin()
S
80 1 3
SrSearchMap::defineAjaxUrl()
S
72 1 7
SimplyRetsCustomPostPages::postFilterMetaBox()
S
65 1 10
SrSearchMap::srMapHelper()
S
80 1 3
SimplyRetsApiHelper::retrieveOpenHousesResults()
S
67 1 8