Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/simply-rets/simply-rets-api-helper.php+166
Undefined property: stdClass::$vendors
Server metrics [RAM: ▲0.90MB] [CPU: ▲8.30ms] Passed 4 tests
This is a short check of server-side resources used by SimplyRETS Real Estate IDX
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.31 ▲0.84 | 52.84 ▲14.07 |
Dashboard /wp-admin | 4.23 ▲0.92 | 64.31 ▲14.20 |
Posts /wp-admin/edit.php | 4.27 ▲0.91 | 54.46 ▲4.38 |
Add New Post /wp-admin/post-new.php | 6.83 ▲0.94 | 103.05 ▲4.42 |
Media Library /wp-admin/upload.php | 4.15 ▲0.92 | 45.91 ▲10.33 |
All SimplyRETS Pages /wp-admin/edit.php?post_type=sr-listings | 4.18 | 43.38 |
Add New /wp-admin/post-new.php?post_type=sr-listings | 4.30 | 55.34 |
Server storage [IO: ▲1.80MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 430 new files
Database: no new tables, 25 new options
New WordPress options |
---|
sr_api_name |
sr_show_admin_message |
widget_recent-comments |
sr_demo_page_created |
sr_office_on_thumbnails |
widget_srrandomlistingwidget |
sr_agent_on_thumbnails |
widget_srsearchformwidget |
sr_api_key |
sr_permalink_structure |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for SimplyRETS Real Estate IDX
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,018 ▲272 | 13.71 ▼0.67 | 8.65 ▲6.92 | 42.26 ▲0.28 |
Dashboard /wp-admin | 2,273 ▲88 | 5.07 ▼0.81 | 105.11 ▼6.92 | 44.73 ▲2.76 |
Posts /wp-admin/edit.php | 2,152 ▲60 | 2.04 ▲0.03 | 34.31 ▼6.46 | 36.21 ▼0.35 |
Add New Post /wp-admin/post-new.php | 1,572 ▲53 | 17.47 ▼5.84 | 599.44 ▼71.74 | 51.64 ▼9.90 |
Media Library /wp-admin/upload.php | 1,452 ▲64 | 4.32 ▲0.12 | 96.38 ▼6.51 | 41.81 ▼4.67 |
SimplyRETS /wp-admin/simplyrets-admin.php | 26 | 0.44 | 0.10 | 13.47 |
All SimplyRETS Pages /wp-admin/edit.php?post_type=sr-listings | 1,116 | 1.98 | 32.24 | 32.02 |
Add New /wp-admin/post-new.php?post_type=sr-listings | 2,629 | 7.93 | 166.13 | 71.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 23 options in the database
- sr_adv_search_meta_endpoints
- widget_sragentlistingwidget
- sr_agent_office_above_the_fold
- sr_search_map_position
- widget_theysaidso_widget
- sr_thumbnail_idx_image
- theysaidso_admin_options
- sr_listing_gallery
- sr_office_on_thumbnails
- sr_permalink_structure
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/post-new.php?post_type=sr-listings
- > Notice in wp-content/plugins/simply-rets/simply-rets-post-pages.php+345
Undefined variable: max_bath_filisting_typelter
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 236× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Geocoder\\Geocoder' not found in wp-content/plugins/simply-rets/vendor/egeloen/google-map/src/Services/Geocoding/Geocoder.php:22
- > PHP Fatal error
Uncaught Error: Class 'Ivory\\GoogleMap\\Helper\\AbstractHelper' not found in wp-content/plugins/simply-rets/vendor/egeloen/google-map/src/Helper/Overlays/PolylineHelper.php:23
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/simply-rets/vendor/egeloen/google-map/tests/Helper/ApiHelperTest.php:21
- > PHP Fatal error
Uncaught Error: Class 'Ivory\\GoogleMap\\Assets\\AbstractJavascriptVariableAsset' not found in wp-content/plugins/simply-rets/vendor/egeloen/google-map/src/Assets/AbstractOptionsAsset.php:21
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/simply-rets/vendor/egeloen/google-map/tests/Services/DistanceMatrix/DistanceMatrixStatusTest.php:21
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/simply-rets/vendor/egeloen/google-map/tests/Services/Directions/DirectionsResponseTest.php:22
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/simply-rets/vendor/egeloen/google-map/tests/Controls/ControlPositionTest.php:21
- > PHP Fatal error
Uncaught Error: Class 'Ivory\\GoogleMap\\Exception\\Exception' not found in wp-content/plugins/simply-rets/vendor/egeloen/google-map/src/Exception/ControlException.php:25
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\PropertyAccess\\Exception\\ExceptionInterface' not found in wp-content/plugins/simply-rets/vendor/symfony/property-access/Exception/InvalidArgumentException.php:19
- > PHP Warning
require_once(/tmp/wordpress-tests-lib/includes/functions.php): failed to open stream: No such file or directory in wp-content/plugins/simply-rets/tests/bootstrap.php on line 6
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/simplyrets-admin.php
- > Network (severe)
wp-admin/simplyrets-admin.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
simply-rets/simply-rets.php Passed 13 tests
This is the main PHP file of "SimplyRETS Real Estate IDX" version 2.10.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
132 characters long description:
Show your Real Estate listings on your Wordpress site. SimplyRETS provides a very simple set up and full control over your listings.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin31,268 lines of code in 405 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 326 | 7,054 | 14,608 | 26,119 |
Markdown | 55 | 1,099 | 0 | 2,661 |
JavaScript | 6 | 265 | 75 | 958 |
CSS | 3 | 156 | 343 | 742 |
JSON | 7 | 0 | 0 | 495 |
HTML | 1 | 13 | 3 | 108 |
Bourne Shell | 2 | 25 | 7 | 107 |
XML | 5 | 5 | 0 | 78 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 6.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 174.00 |
Average method complexity | 1.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 60 | |
Interfaces | 12 | |
Traits | 0 | |
Classes | 324 | |
▷ Abstract classes | 10 | 3.09% |
▷ Concrete classes | 314 | 96.91% |
▷ Final classes | 3 | 0.96% |
Methods | 2,562 | |
▷ Static methods | 303 | 11.83% |
▷ Public methods | 2,226 | 86.89% |
▷ Protected methods | 272 | 10.62% |
▷ Private methods | 64 | 2.50% |
Functions | 26 | |
▷ Named functions | 16 | 61.54% |
▷ Anonymous functions | 10 | 38.46% |
Constants | 92 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 92 | 100.00% |
▷ Public constants | 92 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon-128x128.png | 6.67KB | 2.87KB | ▼ 56.93% |
assets/img/logo_button.png | 12.20KB | 5.18KB | ▼ 57.53% |
assets/galleria/themes/classic/classic-map.png | 1.80KB | 0.67KB | ▼ 62.77% |