Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following 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.85MB] [CPU: ▲12.82ms] Passed 4 tests
Analyzing server-side resources used by 6Storage Rentals
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.32 ▲2.86 | 56.12 ▲14.91 |
Dashboard /wp-admin | 6.15 ▲2.84 | 60.25 ▲14.54 |
Posts /wp-admin/edit.php | 6.26 ▲2.90 | 58.29 ▲7.54 |
Add New Post /wp-admin/post-new.php | 8.73 ▲2.84 | 106.36 ▲14.29 |
Media Library /wp-admin/upload.php | 6.07 ▲2.84 | 52.61 ▲18.37 |
Leads /wp-admin/admin.php?page=six_storage_online_storage_option | 6.04 | 44.55 |
6Storage /wp-admin/admin.php?page=six_storage_online_configuration_menu | 6.08 | 43.75 |
Settings /wp-admin/admin.php?page=six_storage_online_settings_menu | 6.75 | 43.48 |
Server storage [IO: ▲11.28MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 103 new files
Database: 1 new table, 144 new options
New tables |
---|
wp_LeadTable |
New WordPress options |
---|
six_storage_online_fs_ad_vehicle_type_toggle |
six_storage_online_fs_of_additional_months_is_mandatory |
six_storage_online_fs_ti_address1_is_mandatory |
six_storage_online_fs_ad_vehicle_licence_number_is_mandatory |
six_storage_online_fs_of_key_in_safe_box_toggle |
six_storage_online_fs_ti_gateaccesscode_is_mandatory |
six_storage_online_fs_ad_vehicle_info_is_mandatory |
widget_recent-comments |
six_storage_online_fs_ti_state_is_mandatory |
six_storage_online_fs_ti_phone1_toggle |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for 6Storage Rentals
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲60 | 14.23 ▼0.04 | 1.77 ▲0.03 | 42.49 ▼5.20 |
Dashboard /wp-admin | 2,206 ▲26 | 5.56 ▲0.03 | 88.71 ▼10.01 | 77.08 ▲32.60 |
Posts /wp-admin/edit.php | 2,126 ▲23 | 1.97 ▲0.03 | 38.30 ▼1.07 | 36.65 ▲0.15 |
Add New Post /wp-admin/post-new.php | 1,562 ▲17 | 23.27 ▼2.10 | 663.62 ▲27.12 | 180.30 ▲115.83 |
Media Library /wp-admin/upload.php | 1,420 ▲23 | 4.13 ▼0.06 | 97.78 ▲0.08 | 60.35 ▲17.74 |
Leads /wp-admin/admin.php?page=six_storage_online_storage_option | 873 | 1.99 | 27.13 | 37.43 |
6Storage /wp-admin/admin.php?page=six_storage_online_configuration_menu | 1,060 | 3.15 | 48.89 | 40.60 |
Settings /wp-admin/admin.php?page=six_storage_online_settings_menu | 5,325 | 3.81 | 74.93 | 71.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_LeadTable
- This plugin did not uninstall successfully, leaving 144 options in the database
- six_storage_online_fs_ti_identitydocument_is_mandatory
- six_storage_online_fs_ti_taxid_toggle
- six_storage_online_fs_ad_insurance_is_mandatory
- six_storage_online_setup_preloader
- six_storage_online_fc_enable_site_map_in_booking_page_toggle
- six_storage_online_fs_ti_email_is_mandatory
- six_storage_online_fs_ad_vehicle_licence_state_toggle
- six_storage_online_fs_ti_address1_is_mandatory
- six_storage_online_fs_ti_state_is_mandatory
- six_storage_online_fs_ti_zip_postalcode_is_mandatory
- ...
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
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=six_storage_online_storage_option
- > Notice in wp-content/plugins/6storage-rentals/template/admin-menu/storage.php+6
Undefined variable: table_name
- 21 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=six_storage_online_settings_menu
- > Notice in wp-content/plugins/6storage-rentals/template/portal/admin-settings.php+1990
Trying to access array offset on value of type null
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/6storage-rentals/template/portal/discount-slidder.php
- > /wp-content/plugins/6storage-rentals/6storage-rentals.php
- 26× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Trait 'Toolkit\\helper\\Supports\\TableInfo' not found in wp-content/plugins/6storage-rentals/inc/helper/Supports/Six_Storage_QueryBuilder.php on line 12
- > PHP Fatal error
Uncaught Error: Class 'SixStorageOnline\\helper\\Database\\Six_Storage_DatabaseModel' not found in wp-content/plugins/6storage-rentals/inc/models/Six_Storage_LeadTable.php:8
- > PHP Fatal error
Uncaught Error: Class 'SixStorageOnline\\Base\\Six_Storage_BaseController' not found in wp-content/plugins/6storage-rentals/inc/Base/Six_Storage_Enqueue.php:5
- > PHP Fatal error
Uncaught Error: Class 'SixStorageOnline\\Base\\Six_Storage_SettingsKeys' not found in wp-content/plugins/6storage-rentals/inc/Base/Six_Storage_MoveInControllerSixStorage.php:5
- > PHP Fatal error
Uncaught Error: Class 'SixStorageOnline\\Base\\Six_Storage_SettingsKeys' not found in wp-content/plugins/6storage-rentals/template/portal/admin-index.php:4
- > PHP Fatal error
Uncaught Error: Class 'SixStorageOnline\\Base\\Six_Storage_SettingsKeys' not found in wp-content/plugins/6storage-rentals/template/portal/ptwofour-response.php:3
- > PHP Fatal error
Uncaught Error: Class 'SixStorageOnline\\Base\\Six_Storage_SettingsKeys' not found in wp-content/plugins/6storage-rentals/template/portal/sign-up.php:3
- > PHP Fatal error
Uncaught Error: Class 'SixStorageOnline\\Base\\Six_Storage_BaseController' not found in wp-content/plugins/6storage-rentals/inc/Base/Six_Storage_SignUpControllerSixStorage.php:6
- > PHP Fatal error
Uncaught Error: Class 'SixStorageOnline\\Base\\Six_Storage_SettingsKeys' not found in wp-content/plugins/6storage-rentals/template/portal/sign-in.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/6storage-rentals/template/portal/unit-listing.php:5
- > 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 user-side errors
- > GET request to /wp-admin/admin.php?page=six_storage_online_settings_menu
- > Javascript (severe) in unknown
/wp-content/plugins/6storage-rentals/assets/js/six-storage-admin-settings.min.js?ver=2.6.0 0:529072 Uncaught TypeError: Cannot read properties of null (reading 'timezones')
- > GET request to /wp-admin/admin.php?page=six_storage_online_settings_menu
- > Javascript (severe) in unknown
/wp-content/plugins/6storage-rentals/assets/js/six-storage-admin-settings.min.js?ver=2.6.0 0:474255 Uncaught TypeError: Cannot read properties of undefined (reading 'securityGateID')
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: You are using too many tags: 22 tag instead of maximum 10
6storage-rentals/6storage-rentals.php 92% from 13 tests
The main PHP script in "6Storage Rentals" version 2.6.0 is automatically included on every request by WordPress
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 217 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected34,834 lines of code in 82 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 48 | 2,533 | 1,251 | 15,972 |
CSS | 4 | 2,212 | 493 | 15,632 |
JavaScript | 19 | 388 | 715 | 2,003 |
SVG | 8 | 7 | 0 | 1,194 |
JSON | 2 | 0 | 0 | 20 |
XML | 1 | 0 | 0 | 13 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
The following items need your attention
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 133)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 79.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 904.00 |
Average method complexity | 8.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 133.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 1 | |
Traits | 2 | |
Classes | 24 | |
▷ Abstract classes | 1 | 4.17% |
▷ Concrete classes | 23 | 95.83% |
▷ Final classes | 1 | 4.35% |
Methods | 300 | |
▷ Static methods | 26 | 8.67% |
▷ Public methods | 279 | 93.00% |
▷ Protected methods | 8 | 2.67% |
▷ Private methods | 13 | 4.33% |
Functions | 11 | |
▷ Named functions | 10 | 90.91% |
▷ Anonymous functions | 1 | 9.09% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
14 PNG files occupy 0.42MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 13.00KB | 6.61KB | ▼ 49.19% |
assets/images/cranes-storage-type.png | 1.44KB | 1.48KB | 0.00% |
assets/screenshot-2.png | 30.37KB | 12.36KB | ▼ 59.32% |
assets/images/dummy-img-circle.png | 4.48KB | 2.50KB | ▼ 44.20% |
assets/banner-772x250.png | 67.21KB | 27.90KB | ▼ 58.48% |