Code Analysis: SimplyRETS 2.9.7

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