Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▲0.91ms] Passed 4 tests
This is a short check of server-side resources used by RealtyCandy IDX Broker Extended
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 43.49 ▲0.22 |
Dashboard /wp-admin | 3.37 ▲0.06 | 52.55 ▲0.06 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 55.08 ▲4.31 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 101.19 ▼0.95 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 52.03 ▲17.25 |
Widgets /wp-admin/admin.php?page=activate_widgets | 3.26 | 32.79 |
Settings /wp-admin/admin.php?page=realtycandy_settings | 3.27 | 47.47 |
Clear Wrapper Cache /wp-admin/admin.php?page=clear_dynamic_wrapper_options | 3.26 | 35.48 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
RealtyCandy IDX Broker Extended: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲20 | 13.42 ▼1.06 | 1.85 ▼0.19 | 44.47 ▲1.46 |
Dashboard /wp-admin | 2,239 ▲36 | 5.01 ▼0.84 | 105.85 ▲1.83 | 77.14 ▲40.82 |
Posts /wp-admin/edit.php | 2,134 ▲45 | 2.08 ▲0.07 | 40.16 ▲4.89 | 37.38 ▲5.52 |
Add New Post /wp-admin/post-new.php | 1,557 ▲24 | 19.49 ▼3.59 | 822.46 ▲170.65 | 53.65 ▼9.18 |
Media Library /wp-admin/upload.php | 1,433 ▲42 | 4.32 ▲0.10 | 113.98 ▲10.32 | 51.38 ▲8.23 |
Widgets /wp-admin/admin.php?page=activate_widgets | 840 | 1.69 | 25.35 | 34.26 |
Settings /wp-admin/admin.php?page=realtycandy_settings | 928 | 1.89 | 24.25 | 31.92 |
Clear Wrapper Cache /wp-admin/admin.php?page=clear_dynamic_wrapper_options | 811 | 1.73 | 27.31 | 27.42 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Please fix the following
- 13× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/realtycandy-idx-broker-extended/idx/class.RC_Quicksearch_Widget.inc.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/realtycandy-idx-broker-extended/idx/class.RC_Omnibar_Widget.inc.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/realtycandy-idx-broker-extended/settings-content.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/realtycandy-idx-broker-extended/idx/featured-listing-scroller.php:27
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/realtycandy-idx-broker-extended/idx/class.RC_Lead_Login_Widget.inc.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/realtycandy-idx-broker-extended/idx/class.RC_Lead_Signup_Widget.inc.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/realtycandy-idx-broker-extended/idx/class.RC_City_Links_Widget.inc.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/realtycandy-idx-broker-extended/idx/init.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/realtycandy-idx-broker-extended/idx/class.RC_Idx_Widget.inc.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/realtycandy-idx-broker-extended/idx/class.RC_Showcase_Widget.inc.php:8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=realtycandy_settings
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=realtycandy_settings 32:8 Uncaught SyntaxError: Invalid or unexpected token
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
7 plugin tags: equity, agent, idx, idx broker, genesis...
realtycandy-idx-broker-extended/realtycandy-idx-broker.php 92% from 13 tests
The main PHP script in "RealtyCandy IDX Broker Extended" version 1.5.1 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("realtycandy-idx-broker-extended.php" instead of "realtycandy-idx-broker.php")
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
Good job! No executable or dangerous file extensions detected3,580 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 344 | 770 | 2,266 |
JavaScript | 5 | 26 | 52 | 1,135 |
CSS | 2 | 79 | 9 | 179 |
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.24 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 90 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 90 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
12 PNG files occupy 0.13MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/pixel_weave.png | 0.23KB | 0.24KB | 0.00% |
images/idx-wrapper-menu.png | 57.61KB | 21.51KB | ▼ 62.66% |
images/idx-dynamic-url.png | 21.49KB | 6.77KB | ▼ 68.49% |
images/arrowdown.png | 0.17KB | 0.19KB | 0.00% |
images/flyout-arrow-down.png | 0.23KB | 0.18KB | ▼ 20.68% |