Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- This plugin did not install gracefully
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
Server metrics [RAM: ▲2.63MB] [CPU: ▲24.46ms] Passed 4 tests
Analyzing server-side resources used by WP Real Estate
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.29 ▲1.83 | 60.36 ▲22.29 |
Dashboard /wp-admin | 6.24 ▲2.90 | 78.08 ▲11.46 |
Posts /wp-admin/edit.php | 6.22 ▲2.86 | 73.55 ▲27.91 |
Add New Post /wp-admin/post-new.php | 9.00 ▲3.12 | 131.56 ▲40.73 |
Media Library /wp-admin/upload.php | 6.15 ▲2.93 | 68.85 ▲36.16 |
New Listing /wp-admin/post-new.php?post_type=listing | 6.78 | 83.51 |
Listing Type /wp-admin/edit-tags.php?taxonomy=listing-type&post_type=listing | 6.37 | 70.57 |
WRE Settings /wp-admin/edit.php?post_type=listing&page=wre_options | 6.87 | 78.48 |
Enquiries /wp-admin/edit.php?post_type=listing-enquiry | 6.20 | 63.24 |
Listings /wp-admin/edit.php?post_type=listing | 6.22 | 65.84 |
Import IDX Listings /wp-admin/edit.php?post_type=listing&page=wre-idx-listing | 6.12 | 58.03 |
Agents /wp-admin/users.php?role=wre_agent | 6.28 | 59.82 |
Server storage [IO: ▲3.55MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 516 new files
Database: no new tables, 16 new options
New WordPress options |
---|
wp_real_estate_activated |
widget_recent-posts |
wp_real_estate_notice_views |
widget_wre-agents |
widget_wre_widget |
theysaidso_admin_options |
wre_options |
can_compress_scripts |
widget_wre-search-listings |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
Checking browser requirements for WP Real Estate
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,878 ▲121 | 13.26 ▼1.42 | 1.85 ▲0.03 | 42.67 ▼3.25 |
Dashboard /wp-admin | 2,281 ▲93 | 4.98 ▲0.07 | 99.61 ▼13.39 | 42.50 ▼1.50 |
Posts /wp-admin/edit.php | 2,160 ▲71 | 2.13 ▲0.09 | 44.26 ▲2.59 | 35.84 ▲1.06 |
Add New Post /wp-admin/post-new.php | 1,580 ▲47 | 18.25 ▼5.23 | 613.61 ▼80.06 | 64.00 ▲10.36 |
Media Library /wp-admin/upload.php | 1,463 ▲75 | 4.34 ▲0.18 | 103.13 ▼1.34 | 43.41 ▼4.00 |
New Listing /wp-admin/post-new.php?post_type=listing | 3,371 | 7.57 | 154.04 | 74.61 |
Listing Type /wp-admin/edit-tags.php?taxonomy=listing-type&post_type=listing | 1,786 | 3.44 | 50.11 | 31.74 |
WRE Settings /wp-admin/edit.php?post_type=listing&page=wre_options | 3,463 | 6.62 | 138.05 | 37.32 |
Enquiries /wp-admin/edit.php?post_type=listing-enquiry | 1,230 | 2.06 | 35.74 | 33.79 |
Listings /wp-admin/edit.php?post_type=listing | 1,988 | 2.26 | 40.39 | 37.48 |
Import IDX Listings /wp-admin/edit.php?post_type=listing&page=wre-idx-listing | 862 | 1.81 | 28.15 | 27.33 |
Agents /wp-admin/users.php?role=wre_agent | 1,186 | 2.29 | 28.92 | 32.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 16 options in the database
- widget_recent-comments
- listing-type_children
- widget_wre-search-listings
- wp_real_estate_activated
- widget_wre_widget
- db_upgraded
- widget_wre-recent-listings
- widget_wre-nearby-listings
- wre_options
- widget_theysaidso_widget
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 items
- 48× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/wp-real-estate/includes/libraries/cmb2/includes/types/CMB2_Type_Multi_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/wp-real-estate/includes/libraries/cmb2/includes/types/CMB2_Type_Oembed.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup_Base' not found in wp-content/plugins/wp-real-estate/includes/libraries/cmb2/includes/CMB2_hookup.php:14
- > PHP Fatal error
Uncaught Error: Class 'CMB2_hookup' not found in wp-content/plugins/wp-real-estate/includes/libraries/cmb2/includes/CMB2_Options_Hookup.php:14
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Radio' not found in wp-content/plugins/wp-real-estate/includes/libraries/cmb2/includes/types/CMB2_Type_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_REST_Controller' not found in wp-content/plugins/wp-real-estate/includes/libraries/cmb2/includes/rest-api/CMB2_REST_Controller_Boxes.php:17
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/wp-real-estate/includes/libraries/cmb2-taxonomy-master/includes/CMB2_Taxonomy.php on line 15
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/wp-real-estate/includes/libraries/cmb2/includes/types/CMB2_Type_Wysiwyg.php:16
- > PHP Fatal error
Uncaught Error: Class 'CMB2_REST_Controller_Boxes' not found in wp-content/plugins/wp-real-estate/includes/libraries/cmb2/includes/rest-api/CMB2_REST_Controller_Fields.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/wp-real-estate/includes/libraries/cmb2/includes/types/CMB2_Type_Checkbox.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6, #7, #8, #9 in wp-real-estate/assets to your readme.txt
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-real-estate/wp-real-estate.php Passed 13 tests
The main PHP file in "WP Real Estate" ver. 1.1.8 adds more information about the plugin and also serves as the entry point for this plugin
99 characters long description:
A Real Estate Listings plugin for WordPress. Create a smart real estate website quickly and easily.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected62,674 lines of code in 336 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 13,787 | 17,868 | 31,575 |
PHP | 157 | 4,339 | 8,365 | 16,112 |
CSS | 20 | 1,214 | 1,284 | 9,153 |
JavaScript | 15 | 788 | 724 | 4,225 |
Sass | 15 | 291 | 25 | 1,330 |
Markdown | 2 | 52 | 0 | 121 |
SVG | 3 | 64 | 0 | 93 |
YAML | 1 | 9 | 33 | 28 |
JSON | 2 | 0 | 0 | 20 |
XML | 1 | 4 | 2 | 17 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 19.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 182.00 |
Average method complexity | 3.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 107 | |
▷ Abstract classes | 9 | 8.41% |
▷ Concrete classes | 98 | 91.59% |
▷ Final classes | 1 | 1.02% |
Methods | 813 | |
▷ Static methods | 102 | 12.55% |
▷ Public methods | 681 | 83.76% |
▷ Protected methods | 104 | 12.79% |
▷ Private methods | 28 | 3.44% |
Functions | 207 | |
▷ Named functions | 196 | 94.69% |
▷ Anonymous functions | 11 | 5.31% |
Constants | 19 | |
▷ Global constants | 12 | 63.16% |
▷ Class constants | 7 | 36.84% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
15 compressed PNG files occupy 0.10MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/libraries/cmb2/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
includes/libraries/cmb2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
includes/libraries/cmb2/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
includes/libraries/cmb2/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |
includes/libraries/cmb2/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |