Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.76MB] [CPU: ▼22.81ms] Passed 4 tests
Server-side resources used by Great Real Estate: WordPress Real Estate and Property Management Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 50.65 ▲9.68 |
Dashboard /wp-admin | 3.18 ▼0.12 | 35.35 ▼17.87 |
Posts /wp-admin/edit.php | 3.18 ▼0.17 | 34.81 ▼12.66 |
Add New Post /wp-admin/post-new.php | 3.18 ▼2.70 | 34.69 ▼61.75 |
Media Library /wp-admin/upload.php | 3.18 ▼0.04 | 34.89 ▲1.05 |
About /wp-admin/admin.php?page=greatrealestate-about | 3.18 | 33.98 |
Settings /wp-admin/admin.php?page=greatrealestate-options | 3.18 | 34.88 |
Great Real Estate /wp-admin/admin.php?page=great-real-estate | 3.18 | 32.29 |
Listings /wp-admin/admin.php?page=greatrealestate-listings | 3.18 | 32.99 |
Server storage [IO: ▲1.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 180 new files
Database: 1 new table, 11 new options
New tables |
---|
wp_greatrealestate_listings |
New WordPress options |
---|
widget_recent-comments |
widget_gre-random-listings-widget |
can_compress_scripts |
widget_gre-regular-listings-widget |
greatrealestate_db_version |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_gre-search-listings |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Great Real Estate: WordPress Real Estate and Property Management Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,016 ▲255 | 14.83 ▲0.50 | 35.25 ▲33.41 | 43.52 ▲0.82 |
Dashboard /wp-admin | 2,272 ▲66 | 5.10 ▼0.76 | 114.86 ▲5.47 | 39.18 ▼3.08 |
Posts /wp-admin/edit.php | 2,154 ▲54 | 2.21 ▲0.20 | 37.31 ▲3.71 | 32.13 ▼4.76 |
Add New Post /wp-admin/post-new.php | 1,563 ▲32 | 23.20 ▲0.08 | 653.40 ▲7.01 | 54.99 ▲7.34 |
Media Library /wp-admin/upload.php | 1,451 ▲48 | 4.42 ▲0.20 | 111.65 ▲8.32 | 47.42 ▲3.15 |
About /wp-admin/admin.php?page=greatrealestate-about | 884 | 1.80 | 26.63 | 30.00 |
Settings /wp-admin/admin.php?page=greatrealestate-options | 994 | 1.83 | 27.02 | 34.37 |
Great Real Estate /wp-admin/admin.php?page=great-real-estate | 931 | 1.96 | 26.18 | 37.27 |
Listings /wp-admin/admin.php?page=greatrealestate-listings | 1,003 | 1.84 | 28.10 | 29.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/great-real-estate/core/class-settings.php+267
Function create_function() is deprecated
- The uninstall procedure failed, leaving 1 table in the database
- wp_greatrealestate_listings
- This plugin did not uninstall successfully, leaving 11 options in the database
- widget_gre-random-listings-widget
- db_upgraded
- widget_recent-comments
- greatrealestate_db_version
- can_compress_scripts
- theysaidso_admin_options
- widget_gre-search-listings
- widget_theysaidso_widget
- widget_gre-regular-listings-widget
- widget_grefeatured
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- 24 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=greatrealestate-listings
- > Deprecated in wp-content/plugins/great-real-estate/core/class-settings.php+267
Function create_function() is deprecated
- > GET request to /wp-admin/admin.php?page=great-real-estate
- > Warning in wp-admin/includes/plugin.php+294
opendir(wp-content/plugins/nextgen-gallery): failed to open dir: No such file or directory
- > GET request to /wp-admin/admin.php?page=great-real-estate
- > Warning in wp-admin/includes/plugin.php+294
opendir(wp-content/plugins/panopress): failed to open dir: No such file or directory
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/great-real-estate/great-real-estate.php
- > /wp-content/plugins/great-real-estate/core/templates/listing-downloads.tpl.php
- > /wp-content/plugins/great-real-estate/privatefunctions.php
- 54× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: post in wp-content/plugins/great-real-estate/admin/templates/edit-listing-submit-button.tpl.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_reset_postdata() in wp-content/plugins/great-real-estate/core/templates/listings-widget.tpl.php:30
- > PHP Fatal error
Uncaught Error: Class 'GRE_Listings_Widget' not found in wp-content/plugins/great-real-estate/core/class-random-listings-widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function getandsetup_listingdata() in wp-content/plugins/great-real-estate/copytotemplatedir/great-real-estate/listing-page-content.php:4
- > PHP Notice
Undefined variable: can_publish in wp-content/plugins/great-real-estate/admin/templates/edit-listing-submit-button.tpl.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/great-real-estate/copytotemplatedir/great-real-estate/listings-page.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function the_listing_thumbnail() in wp-content/plugins/great-real-estate/theme/great-real-estate/listing-excerpt.php:2
- > PHP Notice
Trying to get property 'url' of non-object in wp-content/plugins/great-real-estate/admin/templates/downloads-item.tpl.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/great-real-estate/admin/templates/manage-settings-admin-page.tpl.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _ex() in wp-content/plugins/great-real-estate/admin/templates/downloads.tpl.php:3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
great-real-estate/great-real-estate.php Passed 13 tests
Analyzing the main PHP file in "Great Real Estate: WordPress Real Estate and Property Management Plugin" version 1.6
81 characters long description:
Adds the ability to create and manage real estate listings in your WordPress site
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 detected16,654 lines of code in 151 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 75 | 1,407 | 664 | 6,026 |
JavaScript | 38 | 568 | 1,069 | 5,955 |
PO File | 6 | 1,153 | 1,427 | 2,411 |
CSS | 22 | 92 | 116 | 1,087 |
HTML | 5 | 0 | 208 | 870 |
JSON | 3 | 0 | 0 | 189 |
Markdown | 2 | 49 | 0 | 116 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 9.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 1 | 4.00% |
▷ Concrete classes | 24 | 96.00% |
▷ Final classes | 0 | 0.00% |
Methods | 153 | |
▷ Static methods | 13 | 8.50% |
▷ Public methods | 101 | 66.01% |
▷ Protected methods | 27 | 17.65% |
▷ Private methods | 25 | 16.34% |
Functions | 216 | |
▷ Named functions | 216 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 22 | |
▷ Global constants | 18 | 81.82% |
▷ Class constants | 4 | 18.18% |
▷ Public constants | 4 | 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
5 PNG files occupy 0.19MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/redlight.png | 48.43KB | 0.44KB | ▼ 99.09% |
images/questionlight.png | 49.58KB | 0.49KB | ▼ 99.00% |
css/img/tabs.png | 0.41KB | 0.35KB | ▼ 14.89% |
images/yellowlight.png | 48.89KB | 0.44KB | ▼ 99.10% |
images/greenlight.png | 48.57KB | 0.44KB | ▼ 99.09% |