Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.87MB] [CPU: ▲420.92ms] 50% from 4 tests
Server-side resources used by Lodgix.com Vacation Rental Website Builder
Please take the time to fix the following items
- CPU: Try to keep total CPU usage under 500.00ms (currently 877.40ms on /wp-admin/options-general.php?page=lodgix-upgrade)
- Extra CPU: The extra CPU usage must be under 200.00ms (currently 420.92ms on /wp-admin/lodgix.php)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.58 ▲1.08 | 462.01 ▲422.14 |
Dashboard /wp-admin | 4.19 ▲0.85 | 489.72 ▲433.76 |
Posts /wp-admin/edit.php | 4.28 ▲0.88 | 485.13 ▲432.38 |
Add New Post /wp-admin/post-new.php | 6.84 ▲0.91 | 518.34 ▲420.43 |
Media Library /wp-admin/upload.php | 4.09 ▲0.82 | 444.80 ▲408.71 |
Lodgix Upgrade /wp-admin/options-general.php?page=lodgix-upgrade | 4.13 | 877.40 |
Server storage [IO: ▲8.87MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 420 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_lodgix_rental_search |
can_compress_scripts |
widget_ldx_frw_v2 |
db_upgraded |
widget_recent-comments |
p_lodgix_db_version |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_lodgix_featured |
Browser metrics Passed 4 tests
Checking browser requirements for Lodgix.com Vacation Rental Website Builder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,348 ▲587 | 16.67 ▲2.30 | 35.84 ▲34.27 | 60.78 ▲19.39 |
Dashboard /wp-admin | 2,365 ▲188 | 6.41 ▲0.84 | 105.79 ▲10.40 | 37.57 ▼7.24 |
Posts /wp-admin/edit.php | 2,293 ▲193 | 3.50 ▲1.51 | 47.22 ▲9.29 | 34.16 ▼9.59 |
Add New Post /wp-admin/post-new.php | 1,554 ▲28 | 21.11 ▼2.04 | 654.23 ▼17.38 | 37.53 ▼15.81 |
Media Library /wp-admin/upload.php | 1,433 ▲36 | 4.16 ▼0.02 | 94.04 ▼12.66 | 45.93 ▲3.50 |
Lodgix Upgrade /wp-admin/options-general.php?page=lodgix-upgrade | 1,513 | 5.46 | 80.56 | 90.98 |
Lodgix Settings /wp-admin/lodgix.php | 26 | 0.42 | 0.16 | 13.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 10 options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_ldx_frw_v2
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_lodgix_featured
- can_compress_scripts
- widget_lodgix_rental_search
- p_lodgix_options
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 50% 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
The following issues need your attention
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/lodgixcom-vacation-rental-listing-management-booking-plugin/classes/purevision_page_template.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/lodgixcom-vacation-rental-listing-management-booking-plugin/lodgix_widget_rental_search_v2.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/lodgixcom-vacation-rental-listing-management-booking-plugin/lodgix_widget_featured_rentals_v2.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/lodgixcom-vacation-rental-listing-management-booking-plugin/classes/lodgix_page_template.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function thesis_html_framework() in wp-content/plugins/lodgixcom-vacation-rental-listing-management-booking-plugin/classes/thesis_no_sidebars.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/lodgixcom-vacation-rental-listing-management-booking-plugin/lodgix_widget_featured_rentals.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/lodgixcom-vacation-rental-listing-management-booking-plugin/lodgix_widget_rental_search_v1.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/lodgixcom-vacation-rental-listing-management-booking-plugin/lodgix_widget_rental_search_v2.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function lodgix_plugin_download_link() in wp-content/plugins/lodgixcom-vacation-rental-listing-management-booking-plugin/classes/lodgixupgradepage.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=lodgix-upgrade
- > Javascript (severe) in unknown
/wp-content/plugins/lodgixcom-vacation-rental-listing-management-booking-plugin/js/wp-color-picker-alpha.js?ver=2.1.4 23:16 Uncaught ReferenceError: wpColorPickerL10n is not defined
- > GET request to /wp-admin/lodgix.php
- > Network (severe)
wp-admin/lodgix.php - Failed to load resource: the server responded with a status of 404 (Not Found)
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
Attributes that require attention:
- Tags: There are too many tags (16 tag instead of maximum 10)
lodgixcom-vacation-rental-listing-management-booking-plugin/lodgix.php 92% from 13 tests
The entry point to "Lodgix.com Vacation Rental Website Builder" version 3.9.73 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("lodgixcom-vacation-rental-listing-management-booking-plugin.php" instead of "lodgix.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected65,517 lines of code in 212 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 119 | 9,352 | 15,258 | 32,975 |
CSS | 32 | 2,135 | 414 | 21,094 |
PHP | 33 | 1,054 | 594 | 9,140 |
SVG | 17 | 0 | 15 | 1,249 |
PO File | 3 | 268 | 0 | 576 |
HTML | 2 | 15 | 4 | 167 |
Markdown | 2 | 57 | 0 | 163 |
Twig | 1 | 22 | 0 | 92 |
JSON | 2 | 0 | 0 | 50 |
YAML | 1 | 3 | 0 | 11 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Please tend to the following items
- Method cyclomatic complexity should be reduced to less than 100 (currently 109)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 44.59 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 185.00 |
Average method complexity | 4.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 109.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 29 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 29 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 326 | |
▷ Static methods | 11 | 3.37% |
▷ Public methods | 177 | 54.29% |
▷ Protected methods | 102 | 31.29% |
▷ Private methods | 47 | 14.42% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 40 | |
▷ Global constants | 1 | 2.50% |
▷ Class constants | 39 | 97.50% |
▷ Public constants | 39 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
168 PNG files occupy 1.67MB with 1.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/lodgix-bg_flat_55_999999_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
css/icons/gradient-color/type.png | 5.94KB | 2.15KB | ▼ 63.73% |
css/icons/old/video.png | 56.75KB | 2.29KB | ▼ 95.96% |
datatables/images/forward_enabled.png | 1.35KB | 0.58KB | ▼ 56.96% |
css/icons/outlined/video.png | 5.00KB | 2.34KB | ▼ 53.12% |