Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.85MB] [CPU: ▲5.49ms] Passed 4 tests
Analyzing server-side resources used by Lava Real Estate Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.33 ▲0.86 | 47.94 ▲8.87 |
Dashboard /wp-admin | 4.16 ▲0.86 | 54.22 ▲3.20 |
Posts /wp-admin/edit.php | 4.22 ▲0.86 | 54.24 ▲8.82 |
Add New Post /wp-admin/post-new.php | 6.77 ▲0.88 | 87.77 ▲3.44 |
Media Library /wp-admin/upload.php | 4.07 ▲0.84 | 41.47 ▲6.49 |
Types /wp-admin/edit-tags.php?taxonomy=property_type&post_type=property | 4.09 | 42.33 |
City /wp-admin/edit-tags.php?taxonomy=property_city&post_type=property | 4.09 | 45.05 |
Add New /wp-admin/post-new.php?post_type=property | 3.93 | 41.94 |
Keyword /wp-admin/edit-tags.php?taxonomy=property_keyword&post_type=property | 4.09 | 40.70 |
Amenities /wp-admin/edit-tags.php?taxonomy=property_amenities&post_type=property | 4.09 | 42.55 |
Status /wp-admin/edit-tags.php?taxonomy=property_status&post_type=property | 4.09 | 42.49 |
All Properties /wp-admin/edit.php?post_type=property | 4.14 | 43.73 |
Settings /wp-admin/edit.php?post_type=property&page=lava-property-settings | 4.11 | 43.17 |
Server storage [IO: ▲0.70MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 70 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_lava_contact_single_page |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_lava_realestate_featured |
widget_lava_realestate_recents |
widget_recent-posts |
Browser metrics Passed 4 tests
Lava Real Estate Manager: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,121 ▲386 | 17.48 ▲2.80 | 13.51 ▲11.73 | 43.14 ▼1.16 |
Dashboard /wp-admin | 2,408 ▲223 | 7.57 ▲1.71 | 146.94 ▲44.04 | 44.01 ▲4.94 |
Posts /wp-admin/edit.php | 2,316 ▲224 | 4.03 ▲1.91 | 60.45 ▲21.94 | 32.42 ▼2.72 |
Add New Post /wp-admin/post-new.php | 1,719 ▲199 | 23.34 ▲0.03 | 557.76 ▼127.81 | 28.46 ▼29.49 |
Media Library /wp-admin/upload.php | 1,444 ▲62 | 5.36 ▲1.13 | 87.46 ▼15.20 | 43.03 ▼1.38 |
Types /wp-admin/edit-tags.php?taxonomy=property_type&post_type=property | 1,484 | 3.92 | 55.49 | 28.88 |
City /wp-admin/edit-tags.php?taxonomy=property_city&post_type=property | 1,490 | 3.91 | 48.49 | 27.46 |
Add New /wp-admin/post-new.php?post_type=property | 3,551 | 12.59 | 294.85 | 173.72 |
Keyword /wp-admin/edit-tags.php?taxonomy=property_keyword&post_type=property | 1,490 | 3.90 | 49.12 | 27.66 |
Amenities /wp-admin/edit-tags.php?taxonomy=property_amenities&post_type=property | 1,490 | 3.92 | 50.03 | 27.62 |
Status /wp-admin/edit-tags.php?taxonomy=property_status&post_type=property | 1,511 | 3.95 | 50.34 | 27.92 |
All Properties /wp-admin/edit.php?post_type=property | 1,326 | 4.26 | 52.18 | 30.79 |
Settings /wp-admin/edit.php?post_type=property&page=lava-property-settings | 1,348 | 3.88 | 47.63 | 56.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 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: 9 options
- widget_recent-posts
- theysaidso_admin_options
- widget_lava_realestate_featured
- can_compress_scripts
- widget_theysaidso_widget
- widget_lava_realestate_recents
- widget_recent-comments
- widget_lava_contact_single_page
- db_upgraded
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=property
- > Deprecated in wp-content/plugins/lava-real-estate-manager/includes/class-core.php+649
Function create_function() is deprecated
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 items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/lava-real-estate-manager/templates/template-map-htmls.php
- 51× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
constant(): Couldn't find constant Lava_RealEstate_Manager_Func::SLUG in wp-content/plugins/lava-real-estate-manager/templates/form/lava-add-item-terms.php on line 3
- > PHP Notice
Trying to get property 'email' of non-object in wp-content/plugins/lava-real-estate-manager/includes/widgets/html/widget-single-contact.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/lava-real-estate-manager/templates/template-not-list.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/lava-real-estate-manager/templates/template-listing.php:1
- > PHP Notice
Undefined variable: addon in wp-content/plugins/lava-real-estate-manager/includes/admin/admin-loop-addons.php on line 8
- > PHP Fatal error
Uncaught Error: Call to a member function get() on null in wp-content/plugins/lava-real-estate-manager/templates/template-dashboard.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/lava-real-estate-manager/includes/admin/admin-welcome.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/lava-real-estate-manager/includes/admin/admin-addons-page.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/lava-real-estate-manager/includes/admin/admin-mapmeta.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/lava-real-estate-manager/includes/widgets/widget-recents.php:2
- > PHP Warning
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)
These are user-side errors you should fix
- 8 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=property&page=lava-property-settings
- > Console-api (warning) in unknown
http://maps.googleapis.com/maps/api/js?libraries=places&ver=0.0.1 234: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 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
lava-real-estate-manager/lava-real-estate-manager.php 92% from 13 tests
"Lava Real Estate Manager" version 1.0.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
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
Good job! No executable or dangerous file extensions detected11,742 lines of code in 58 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 1,118 | 359 | 4,561 |
JavaScript | 11 | 801 | 917 | 4,004 |
CSS | 4 | 8 | 79 | 1,471 |
PO File | 3 | 423 | 489 | 918 |
LESS | 1 | 50 | 41 | 769 |
SVG | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 24.85 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 3.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 151 | |
▷ Static methods | 19 | 12.58% |
▷ Public methods | 151 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 21 | |
▷ Named functions | 21 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 12 | 100.00% |
▷ Public constants | 12 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/no-image.png | 4.52KB | 0.89KB | ▼ 80.29% |
assets/images/lava_btn_slide_arrow.png | 1.67KB | 0.48KB | ▼ 71.02% |