Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲1.00MB] [CPU: ▲9.82ms] Passed 4 tests
A check of server-side resources used by Real Estate Properties
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.48 ▲1.02 | 59.62 ▲13.14 |
Dashboard /wp-admin | 4.32 ▲1.01 | 54.03 ▲2.52 |
Posts /wp-admin/edit.php | 4.37 ▲1.01 | 55.02 ▲10.48 |
Add New Post /wp-admin/post-new.php | 6.95 ▲1.06 | 108.09 ▲17.65 |
Media Library /wp-admin/upload.php | 4.18 ▲0.95 | 47.77 ▲13.14 |
All Properties /wp-admin/edit.php?post_type=property | 4.29 | 47.46 |
Types /wp-admin/edit-tags.php?taxonomy=property-type&post_type=property | 4.18 | 40.72 |
Statuses /wp-admin/edit-tags.php?taxonomy=property-status&post_type=property | 4.18 | 42.02 |
Welcome to Meta Box /wp-admin/index.php?page=meta-box-about | 4.16 | 39.47 |
Add New /wp-admin/post-new.php?post_type=property | 7.06 | 105.06 |
Locations /wp-admin/edit-tags.php?taxonomy=property-location&post_type=property | 4.18 | 46.21 |
Features /wp-admin/edit-tags.php?taxonomy=property-feature&post_type=property | 4.18 | 41.47 |
Server storage [IO: ▲0.84MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 287 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Real Estate Properties: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,961 ▲215 | 13.59 ▼1.15 | 5.33 ▲3.25 | 40.33 ▼3.34 |
Dashboard /wp-admin | 2,253 ▲65 | 4.99 ▲0.09 | 108.96 ▲1.21 | 42.29 ▼0.08 |
Posts /wp-admin/edit.php | 2,143 ▲54 | 2.21 ▲0.17 | 35.94 ▼0.70 | 37.03 ▼1.28 |
Add New Post /wp-admin/post-new.php | 1,568 ▲54 | 17.61 ▼0.04 | 659.20 ▲66.06 | 51.75 ▲1.93 |
Media Library /wp-admin/upload.php | 1,450 ▲59 | 4.16 ▼0.12 | 97.24 ▼6.16 | 42.29 ▼3.44 |
All Properties /wp-admin/edit.php?post_type=property | 1,167 | 2.18 | 33.08 | 29.40 |
Types /wp-admin/edit-tags.php?taxonomy=property-type&post_type=property | 1,319 | 1.89 | 28.63 | 29.02 |
Statuses /wp-admin/edit-tags.php?taxonomy=property-status&post_type=property | 1,316 | 1.90 | 27.85 | 28.66 |
Welcome to Meta Box /wp-admin/index.php?page=meta-box-about | 934 | 1.95 | 25.45 | 48.23 |
Add New /wp-admin/post-new.php?post_type=property | 2,281 | 18.94 | 976.77 | 44.77 |
Locations /wp-admin/edit-tags.php?taxonomy=property-location&post_type=property | 1,322 | 1.88 | 27.62 | 28.97 |
Features /wp-admin/edit-tags.php?taxonomy=property-feature&post_type=property | 1,322 | 1.89 | 29.55 | 27.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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 fix the following items
- 7× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/real-estate-properties/public/partials/real-estate-properties-public-display.php
- > /wp-content/plugins/real-estate-properties/plugins/meta-box/inc/templates/video.php
- > /wp-content/plugins/real-estate-properties/plugins/meta-box/inc/templates/image-advanced.php
- > /wp-content/plugins/real-estate-properties/plugins/meta-box/inc/templates/audio.php
- > /wp-content/plugins/real-estate-properties/plugins/meta-box/inc/templates/media.php
- > /wp-content/plugins/real-estate-properties/admin/partials/real-estate-properties-admin-display.php
- > /wp-content/plugins/real-estate-properties/plugins/meta-box/inc/templates/upload.php
- 63× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/real-estate-properties/plugins/meta-box/inc/fields/button.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Media_Field' not found in wp-content/plugins/real-estate-properties/plugins/meta-box/inc/fields/image-advanced.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/real-estate-properties/plugins/meta-box/inc/fields/multiple-values.php:17
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/real-estate-properties/plugins/meta-box/inc/fields/choice.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/real-estate-properties/plugins/meta-box/inc/fields/textarea.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Choice_Field' not found in wp-content/plugins/real-estate-properties/plugins/meta-box/inc/fields/object-choice.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_File_Field' not found in wp-content/plugins/real-estate-properties/plugins/meta-box/inc/fields/image.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Input_List_Field' not found in wp-content/plugins/real-estate-properties/plugins/meta-box/inc/fields/checkbox-list.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/real-estate-properties/plugins/meta-box/inc/fields/wysiwyg.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Text_Field' not found in wp-content/plugins/real-estate-properties/plugins/meta-box/inc/fields/key-value.php:11
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/post-new.php?post_type=property
- > Console-api (warning) in unknown
https://maps.google.com/maps/api/js?key=AIzaSyC1mUh87SGFyf133tpZQJa-s96p0tgnraQ&ver=6.3.1 208:51 "Google Maps JavaScript API has been loaded directly without a callback. This is not supported and can lead to race conditions and suboptimal performance. For supported loading patterns please see https://goo.gle/js-api-loading"
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: properties, real estate, listing, property
real-estate-properties/real-estate-properties.php Passed 13 tests
The entry point to "Real Estate Properties" version 1.0.0 is a PHP file that has certain tags in its header comment area
79 characters long description:
A plugin that offers Property custom post type to list properties on your site.
Code Analysis Passed 3 tests
File types Passed 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
No dangerous file extensions were detected11,585 lines of code in 248 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 107 | 1,291 | 4,603 | 5,658 |
JavaScript | 88 | 554 | 675 | 2,367 |
CSS | 38 | 147 | 118 | 1,897 |
PO File | 14 | 606 | 673 | 1,653 |
Markdown | 1 | 9 | 0 | 10 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 7.42 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 2.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 89 | |
▷ Abstract classes | 6 | 6.74% |
▷ Concrete classes | 83 | 93.26% |
▷ Final classes | 0 | 0.00% |
Methods | 466 | |
▷ Static methods | 272 | 58.37% |
▷ Public methods | 433 | 92.92% |
▷ Protected methods | 22 | 4.72% |
▷ Private methods | 11 | 2.36% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
15 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
plugins/meta-box/img/jqueryui/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
plugins/meta-box/img/jqueryui/ui-icons_888888_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
plugins/meta-box/img/jqueryui/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
plugins/meta-box/img/jqueryui/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
plugins/meta-box/img/jqueryui/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |