Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.21MB] [CPU: ▲1,285.82ms] 50% from 4 tests
Analyzing server-side resources used by WordPress IDX Real Estate Listings & MLS Search
It is recommended to improve the following
- CPU: The total CPU usage must kept under 500.00ms (currently 2,635.19ms on /wp-admin/post-new.php?post_type=ds-idx-listings-page)
- Extra CPU: Extra CPU usage must be kept under 200.00ms (currently 1,285.82ms on /wp-admin/post-new.php?post_type=ds-idx-listings-page)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.57 ▲1.11 | 59.67 ▲14.39 |
Dashboard /wp-admin | 4.75 ▲1.45 | 1,746.95 ▲1,690.62 |
Posts /wp-admin/edit.php | 4.75 ▲1.39 | 1,804.84 ▲1,752.23 |
Add New Post /wp-admin/post-new.php | 6.76 ▲0.88 | 2,599.30 ▲2,489.61 |
Media Library /wp-admin/upload.php | 4.75 ▲1.52 | 1,723.21 ▲1,686.02 |
All IDX Pages /wp-admin/edit.php?post_type=ds-idx-listings-page | 4.75 | 1,739.14 |
Add New /wp-admin/post-new.php?post_type=ds-idx-listings-page | 6.74 | 2,635.19 |
Server storage [IO: ▲8.02MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 146 new files
Database: no new tables, 11 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_dsidx-single-listing |
db_upgraded |
widget_dsidx-listings |
widget_dsidx-search |
widget_dsidx-quicksearch |
widget_recent-comments |
theysaidso_admin_options |
widget_dsidx-list-areas |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for WordPress IDX Real Estate Listings & MLS Search
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,067 ▲296 | 13.82 ▼0.93 | 9.67 ▲7.58 | 43.25 ▼5.79 |
Dashboard /wp-admin | 2,276 ▲88 | 4.96 ▼0.86 | 98.74 ▼4.59 | 82.03 ▲41.67 |
Posts /wp-admin/edit.php | 2,149 ▲63 | 2.04 ▲0.04 | 32.71 ▼6.62 | 35.11 ▼2.72 |
Add New Post /wp-admin/post-new.php | 1,585 ▲52 | 18.20 ▼4.94 | 736.93 ▲115.49 | 42.27 ▼16.03 |
Media Library /wp-admin/upload.php | 1,442 ▲51 | 4.16 ▼0.08 | 94.27 ▼5.38 | 87.79 ▲44.44 |
All IDX Pages /wp-admin/edit.php?post_type=ds-idx-listings-page | 1,134 | 2.01 | 33.20 | 32.51 |
Add New /wp-admin/post-new.php?post_type=ds-idx-listings-page | 1,660 | 16.98 | 840.47 | 37.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 11 options in the database
- widget_dsidx-listings
- db_upgraded
- widget_recent-comments
- widget_dsidx-list-areas
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_dsidx-quicksearch
- widget_dsidx-single-listing
- can_compress_scripts
- widget_dsidx-search
- ...
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/post-new.php?post_type=ds-idx-listings-page
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=ds-idx-listings-page
- > Warning in wp-content/plugins/dsidxpress/admin.php+2058
Invalid argument supplied for foreach()
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/dsidxpress/widget-idx-quick-search-simple.php
- > /wp-content/plugins/dsidxpress/widget-idx-quick-search-classic.php
- 119× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/dsidxpress/tinymce/idx_registration_form/dialog.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/dsidxpress/roles.php:6
- > PHP Notice
Undefined variable: price_min in wp-content/plugins/dsidxpress/widget-idx-quick-search-simple.php on line 34
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dsidxpress/autocomplete-mls-number.php:2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/dsidxpress/widget-idx-quick-search-classic.php on line 40
- > PHP Notice
Undefined variable: widgetId in wp-content/plugins/dsidxpress/widget-idx-quick-search-classic.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/dsidxpress/widget-idx-quick-search-classic.php on line 53
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/dsidxpress/dsidxwidgets/widget-service-slideshow.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dsidxpress/ajax-handler.php:2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/dsidxpress/widget-idx-quick-search-simple.php on line 67
- > 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)
These are user-side errors you should fix
- > GET request to /wp-admin/post-new.php?post_type=ds-idx-listings-page
- > Javascript (severe) in unknown
/wp-content/plugins/dsidxpress/js/admin-utilities.js?ver=3.18.0 867:25 Uncaught ReferenceError: dsidxAjaxHandler is not defined
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: Too many tags (19 tag instead of maximum 10); only the first 5 tags are used in your directory listing
dsidxpress/dsidxpress.php 92% from 13 tests
Analyzing the main PHP file in "WordPress IDX Real Estate Listings & MLS Search" version 3.18.0
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 148 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin14,198 lines of code in 81 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 46 | 1,018 | 205 | 8,422 |
JavaScript | 24 | 265 | 52 | 3,394 |
CSS | 9 | 174 | 86 | 2,209 |
XML | 1 | 1 | 0 | 159 |
SVG | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 43.34 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 336.00 |
Average method complexity | 7.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 75.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 32 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 32 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 200 | |
▷ Static methods | 152 | 76.00% |
▷ Public methods | 200 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 10 | 90.91% |
▷ Anonymous functions | 1 | 9.09% |
Constants | 24 | |
▷ Global constants | 23 | 95.83% |
▷ Class constants | 1 | 4.17% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
32 compressed PNG files occupy 7.08MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
tinymce/idx_registration_form/img/single_listing.png | 0.89KB | 0.99KB | 0.00% |
assets/icon-128x128.png | 7.28KB | 2.35KB | ▼ 67.71% |
assets/screenshot-5.png | 392.34KB | 424.20KB | 0.00% |
images/link-builder-sprite.png | 0.57KB | 0.74KB | 0.00% |
css/images/ui-icons_2e83ff_256x240.png | 4.10KB | 4.11KB | 0.00% |