Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/seo-rets/seo-rets.php+3876
Methods with the same name as their class will not be constructors in a future version of PHP; filter_by_range has a deprecated constructor
Server metrics [RAM: ▼0.00MB] [CPU: ▼9.86ms] Passed 4 tests
A check of server-side resources used by SEO RETS
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.70 ▼1.96 |
Dashboard /wp-admin | 3.31 ▼0.03 | 45.17 ▼16.01 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 43.98 ▼2.29 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 81.80 ▼19.16 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 40.14 ▲3.21 |
Server storage [IO: ▲4.41MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 243 new files
Database: 7 new tables, 18 new options
New tables |
---|
wp_sr_favorites |
wp_sr_other |
wp_sr_user_note |
wp_sr_savesearch |
wp_sr_stat_mls |
wp_sr_users |
wp_sr_stat_option |
New WordPress options |
---|
sr_listingsOrder |
widget_recent-comments |
sr_template |
sr_use_custom_pagi |
sr_open_in_new_window |
bootstrap_refine |
srRewDB |
db_upgraded |
sr_fq |
sr_crm |
... |
Browser metrics Passed 4 tests
SEO RETS: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.35 ▼0.21 | 1.54 ▼0.22 | 45.43 ▲0.55 |
Dashboard /wp-admin | 2,195 ▲18 | 5.54 ▼0.03 | 83.97 ▼1.75 | 37.01 ▲0.80 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 1.99 ▲0.01 | 35.52 ▼7.80 | 31.49 ▼8.19 |
Add New Post /wp-admin/post-new.php | 1,535 ▼0 | 18.04 ▼0.10 | 592.24 ▼34.76 | 69.62 ▲1.33 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.21 ▼0.03 | 108.24 ▲9.12 | 46.93 ▲4.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.09MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/seo-rets/seo-rets.php+3876
Methods with the same name as their class will not be constructors in a future version of PHP; filter_by_range has a deprecated constructor
- Zombie tables were found after uninstall: 7 tables
- wp_sr_favorites
- wp_sr_other
- wp_sr_user_note
- wp_sr_stat_option
- wp_sr_stat_mls
- wp_sr_users
- wp_sr_savesearch
- This plugin did not uninstall successfully, leaving 22 options in the database
- widget_theysaidso_widget
- widget_seo-rets-search-widget
- sr_templates
- sr_listingsOrder
- widget_recent-comments
- bootstrap_refine
- can_compress_scripts
- theysaidso_admin_options
- sr_use_custom_pagi
- widget_recent-posts
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 16× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/seo-rets/shortcodes/sr-mapsearch.php
- > /wp-content/plugins/seo-rets/methods/includes/verify/fail.php
- > /wp-content/plugins/seo-rets/resources/defaults/template-responsive-css-js3.php
- > /wp-content/plugins/seo-rets/menu/elite.php
- > /wp-content/plugins/seo-rets/methods/includes/reset/form.php
- > /wp-content/plugins/seo-rets/menu/feed-information.php
- > /wp-content/plugins/seo-rets/methods/compare.php
- > /wp-content/plugins/seo-rets/templates/refinementform.php
- > /wp-content/plugins/seo-rets/includes/secureimage/securimage_show.php
- > /wp-content/plugins/seo-rets/methods/includes/forgot/success.php
- 180× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/seo-rets/methods/redirect.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function bloginfo() in wp-content/plugins/seo-rets/menu/shortcode-generator.php:231
- > PHP Parse error
syntax error, unexpected '}', expecting end of file in wp-content/plugins/seo-rets/templates/list.php on line 224
- > PHP Notice
Undefined variable: seo_rets_plugin in wp-content/plugins/seo-rets/menu/shortcode-generator.php on line 2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/seo-rets/methods/customsearch.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/seo-rets/templates/results_a.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/seo-rets/widgets/search.php:4
- > PHP Notice
Trying to get property 'admin_title' of non-object in wp-content/plugins/seo-rets/menu/elite.php on line 3
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/seo-rets/methods/includes/reset/form.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/seo-rets/resources/defaults/template-responsive-details3.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Donate link: Invalid URI ("")
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Main plugin page), #2 (Developer Tools page), #3 (Feed Information)
- Plugin Name: Please specify the plugin name on the first line (
=== seo-rets ===
)
seo-rets/seo-rets.php Passed 13 tests
The main PHP script in "SEO RETS" version 3.3.73 is automatically included on every request by WordPress
66 characters long description:
Convert your RETS/IDX feed into an SEO friendly real estate portal
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected50,299 lines of code in 167 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 106 | 3,836 | 2,643 | 26,086 |
CSS | 31 | 2,888 | 112 | 20,751 |
JavaScript | 23 | 690 | 259 | 2,507 |
SVG | 2 | 0 | 0 | 928 |
HTML | 4 | 7 | 1 | 26 |
INI | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 73.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 293.00 |
Average method complexity | 5.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 251 | |
▷ Static methods | 23 | 9.16% |
▷ Public methods | 192 | 76.49% |
▷ Protected methods | 47 | 18.73% |
▷ Private methods | 12 | 4.78% |
Functions | 23 | |
▷ Named functions | 22 | 95.65% |
▷ Anonymous functions | 1 | 4.35% |
Constants | 52 | |
▷ Global constants | 12 | 23.08% |
▷ Class constants | 40 | 76.92% |
▷ Public constants | 40 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
31 PNG files occupy 0.16MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
tinymce/featured/img/insert.png | 2.04KB | 1.05KB | ▼ 48.42% |
resources/images/close.png | 1.49KB | 1.06KB | ▼ 29.12% |
resources/images/marker.png | 3.49KB | 0.92KB | ▼ 73.66% |
includes/secureimage/images/refresh.png | 4.72KB | 2.44KB | ▼ 48.36% |
tinymce/maps/img/maps.png | 2.16KB | 1.28KB | ▼ 40.69% |