Code Analysis: SimplyRETS Real Estate IDX 3.0.1

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