Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲5.93MB] [CPU: ▲29.28ms] 75% from 4 tests
Server-side resources used by Essential WP Real Estate
Please fix the following
- Extra RAM: The extra memory usage must be under 5MB (currently 5.93MB on /wp-admin/post-new.php?post_type=cl_cpt)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.55 ▲5.09 | 64.13 ▲25.50 |
Dashboard /wp-admin | 9.54 ▲6.19 | 90.64 ▲29.16 |
Posts /wp-admin/edit.php | 9.66 ▲6.30 | 109.17 ▲62.91 |
Add New Post /wp-admin/post-new.php | 12.13 ▲6.24 | 120.03 ▲21.10 |
Media Library /wp-admin/upload.php | 9.44 ▲6.20 | 74.71 ▲41.35 |
Types /wp-admin/edit-tags.php?taxonomy=listings_property&post_type=cl_cpt | 9.60 | 75.80 |
Settings /wp-admin/edit.php?post_type=cl_cpt&page=listing_settings_func | 9.44 | 70.45 |
Status /wp-admin/edit-tags.php?taxonomy=listing_status&post_type=cl_cpt | 9.60 | 72.74 |
All Property Listings /wp-admin/edit.php?post_type=cl_cpt | 9.53 | 75.66 |
Payments /wp-admin/edit.php?post_type=cl_cpt&page=cl-payment-history | 9.86 | 72.52 |
Locations /wp-admin/edit-tags.php?taxonomy=listing_location&post_type=cl_cpt | 9.60 | 71.39 |
Discounts /wp-admin/edit.php?post_type=cl_cpt&page=cl_discounts | 9.58 | 72.67 |
Features /wp-admin/edit-tags.php?taxonomy=listing_features&post_type=cl_cpt | 9.60 | 70.92 |
Add New Property Listing /wp-admin/post-new.php?post_type=cl_cpt | 9.68 | 92.56 |
Server storage [IO: ▲5.43MB] [DB: ▲0.02MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 748 new files
Database: 3 new tables, 12 new options
New tables |
---|
wp_cl_customers |
wp_cl_customermeta |
wp_enquiry_message |
New WordPress options |
---|
cl_admin_settings |
theysaidso_admin_options |
wp_cl_customermeta_db_version |
widget_recent-comments |
can_compress_scripts |
widget_listing-search |
widget_theysaidso_widget |
db_upgraded |
widget_listing-enquiry |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Essential WP Real Estate
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,298 ▲527 | 17.59 ▲3.29 | 35.98 ▲34.06 | 40.01 ▼1.01 |
Dashboard /wp-admin | 2,471 ▲294 | 6.53 ▲0.94 | 106.22 ▲20.15 | 36.31 ▼3.76 |
Posts /wp-admin/edit.php | 2,405 ▲308 | 3.34 ▲1.40 | 52.79 ▲17.35 | 29.69 ▼7.24 |
Add New Post /wp-admin/post-new.php | 1,655 ▲127 | 23.29 ▼0.08 | 514.06 ▼68.25 | 27.73 ▼19.79 |
Media Library /wp-admin/upload.php | 1,539 ▲142 | 4.52 ▲0.37 | 80.95 ▼21.19 | 47.71 ▲4.51 |
Types /wp-admin/edit-tags.php?taxonomy=listings_property&post_type=cl_cpt | 1,579 | 3.57 | 42.32 | 31.56 |
Settings /wp-admin/edit.php?post_type=cl_cpt&page=listing_settings_func | 2,158 | 3.37 | 41.05 | 28.01 |
Status /wp-admin/edit-tags.php?taxonomy=listing_status&post_type=cl_cpt | 1,551 | 3.71 | 43.54 | 29.71 |
All Property Listings /wp-admin/edit.php?post_type=cl_cpt | 1,449 | 3.71 | 43.58 | 27.84 |
Payments /wp-admin/edit.php?post_type=cl_cpt&page=cl-payment-history | 1,436 | 3.42 | 40.30 | 24.83 |
Locations /wp-admin/edit-tags.php?taxonomy=listing_location&post_type=cl_cpt | 1,579 | 3.53 | 42.49 | 30.24 |
Discounts /wp-admin/edit.php?post_type=cl_cpt&page=cl_discounts | 1,369 | 3.36 | 40.30 | 25.92 |
Features /wp-admin/edit-tags.php?taxonomy=listing_features&post_type=cl_cpt | 1,551 | 3.53 | 40.97 | 29.08 |
Add New Property Listing /wp-admin/post-new.php?post_type=cl_cpt | 3,672 | 8.83 | 207.64 | 83.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie tables were found after uninstall: 3 tables
- wp_cl_customers
- wp_enquiry_message
- wp_cl_customermeta
- The uninstall procedure has failed, leaving 12 options in the database
- widget_recent-comments
- db_upgraded
- cl_admin_settings
- wp_cl_customermeta_db_version
- cl_use_php_sessions
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- wp_cl_customers_db_version
- widget_listing-enquiry
- ...
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/essential-wp-real-estate/src/Front/Purchase/Gateways/Stripe/stripe/vendor/stripe/stripe-php/update_certs.php
- > /wp-content/plugins/essential-wp-real-estate/src/Front/Purchase/Gateways/Stripe/stripe/vendor/stripe/stripe-php/build.php
- 549× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_attachment_url() in wp-content/plugins/essential-wp-real-estate/templates/frontend/listings/dashboard/edit/featured_image.php:3
- > PHP Fatal error
Uncaught Error: Interface 'Stripe\\Exception\\ExceptionInterface' not found in wp-content/plugins/essential-wp-real-estate/src/Front/Purchase/Gateways/Stripe/stripe/vendor/stripe/stripe-php/lib/Exception/OAuth/ExceptionInterface.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/essential-wp-real-estate/templates/frontend/listings/dashboard/edit/url.php:9
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/essential-wp-real-estate/src/Front/Purchase/Gateways/Stripe/stripe/vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function WPERECCP() in wp-content/plugins/essential-wp-real-estate/templates/frontend/listings/cart/cart-empty.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/essential-wp-real-estate/src/Admin/MetaBoxes/Forms/checkbox_list.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/essential-wp-real-estate/src/Front/Purchase/Gateways/Stripe/stripe/includes/emails.php:50
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/essential-wp-real-estate/templates/admin/setting.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_posts() in wp-content/plugins/essential-wp-real-estate/templates/frontend/listings/dashboard/listings.php:11
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/essential-wp-real-estate/src/Front/Purchase/Gateways/Stripe/stripe/vendor/stripe/stripe-php/lib/Customer.php:41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #3, #4, #5, #6, #7, #8 in essential-wp-real-estate/assets to your readme.txt
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
essential-wp-real-estate/index.php 69% from 13 tests
The primary PHP file in "Essential WP Real Estate" version 1.1.1 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.7.0" instead of "5.2")
- Description: Please don't use more than 140 characters for the plugin description (currently 153 characters long)
- Requires PHP: Required version must be the same as the one declared in readme.txt ("5.6.0" instead of "7.2")
- Main file name: Name the main plugin file the same as the plugin slug ("essential-wp-real-estate.php" instead of "index.php")
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
These items require your attention
- Do not distribute dangerous files with your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/essential-wp-real-estate/src/Front/Purchase/Gateways/Stripe/stripe/vendor/stripe/stripe-php/data/ca-certificates.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 616 | 10,800 | 23,916 | 49,159 |
JavaScript | 56 | 1,133 | 1,223 | 9,144 |
CSS | 20 | 562 | 250 | 6,749 |
Markdown | 4 | 738 | 0 | 1,341 |
Sass | 4 | 97 | 2 | 623 |
JSON | 5 | 0 | 0 | 406 |
SVG | 7 | 16 | 0 | 161 |
XML | 2 | 2 | 0 | 54 |
make | 1 | 8 | 0 | 23 |
PHP code Passed 2 tests
An overview of 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.35 |
Average class complexity | 10.01 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 282.00 |
Average method complexity | 2.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 85.00 |
Code structure | ||
---|---|---|
Namespaces | 68 | |
Interfaces | 10 | |
Traits | 8 | |
Classes | 420 | |
▷ Abstract classes | 15 | 3.57% |
▷ Concrete classes | 405 | 96.43% |
▷ Final classes | 1 | 0.25% |
Methods | 2,161 | |
▷ Static methods | 197 | 9.12% |
▷ Public methods | 1,854 | 85.79% |
▷ Protected methods | 153 | 7.08% |
▷ Private methods | 154 | 7.13% |
Functions | 426 | |
▷ Named functions | 401 | 94.13% |
▷ Anonymous functions | 25 | 5.87% |
Constants | 800 | |
▷ Global constants | 29 | 3.62% |
▷ Class constants | 771 | 96.38% |
▷ Public constants | 771 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
10 PNG files occupy 0.10MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/plugins/images/marker-icon.png | 1.14KB | 1.07KB | ▼ 6.24% |
assets/img/placeholder.png | 5.28KB | 4.04KB | ▼ 23.47% |
assets/img/placeholder_dark.png | 1.71KB | 1.56KB | ▼ 8.83% |
assets/img/placeholder-gallery.png | 70.43KB | 28.63KB | ▼ 59.35% |
assets/js/img/marker.png | 14.64KB | 7.78KB | ▼ 46.90% |