Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.32MB] [CPU: ▼2.81ms] Passed 4 tests
An overview of server-side resources used by TuriTop Booking System
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.32 | 42.43 ▼4.40 |
Dashboard /wp-admin | 3.62 ▲0.32 | 51.14 ▲1.37 |
Posts /wp-admin/edit.php | 3.74 ▲0.38 | 52.61 ▲7.55 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.34 | 96.20 ▼9.60 |
Media Library /wp-admin/upload.php | 3.55 ▲0.31 | 39.54 ▲1.41 |
Settings /wp-admin/admin.php?page=turitop_booking_system | 4.03 | 48.31 |
Instructions /wp-admin/admin.php?page=turitop_booking_system_instructions | 3.58 | 41.49 |
Server storage [IO: ▲3.69MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 102 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
TuriTop Booking System: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,882 ▲136 | 13.32 ▼0.92 | 7.01 ▲5.32 | 46.87 ▼8.22 |
Dashboard /wp-admin | 2,257 ▲83 | 5.14 ▼0.76 | 105.91 ▲2.14 | 39.72 ▼8.97 |
Posts /wp-admin/edit.php | 2,147 ▲58 | 2.39 ▲0.33 | 41.10 ▲1.88 | 32.25 ▼3.79 |
Add New Post /wp-admin/post-new.php | 6,399 ▲4,866 | 28.18 ▲4.85 | 968.05 ▲327.77 | 37.19 ▼34.00 |
Media Library /wp-admin/upload.php | 1,433 ▲45 | 4.53 ▲0.31 | 103.97 ▼6.40 | 42.87 ▼0.28 |
Settings /wp-admin/admin.php?page=turitop_booking_system | 6,321 | 8.47 | 278.90 | 57.95 |
Instructions /wp-admin/admin.php?page=turitop_booking_system_instructions | 1,137 | 2.13 | 35.02 | 36.92 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- 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
- > GET request to /wp-admin/admin.php?page=turitop_booking_system
- > Notice in wp-content/plugins/turitop-booking-system/admin-settings-page/class.turitop-booking-system-settings.php+1150
Trying to access array offset on value of type bool
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=turitop_booking_system_instructions
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+204
Undefined offset: 0
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=turitop_booking_system_instructions
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+205
Trying to get property 'guid' of non-object
- 22 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=turitop_booking_system_instructions
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+221
Trying to get property 'ID' of non-object
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=turitop_booking_system_instructions
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+222
Trying to get property 'post_title' of non-object
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 16× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/turitop-booking-system/admin-settings-page/class.turitop-booking-system-connection.php
- > /wp-content/plugins/turitop-booking-system/includes/class.turitop-booking-system-main.php
- > /wp-content/plugins/turitop-booking-system/includes/class.turitop-booking-system-frontend.php
- > /wp-content/plugins/turitop-booking-system/includes/class.turitop-booking-system-frontend-ajax.php
- > /wp-content/plugins/turitop-booking-system/includes/blocks/class.turitop-booking-system-blocks.php
- > /wp-content/plugins/turitop-booking-system/admin-settings-page/class.turitop-booking-system-settings-page-main.php
- > /wp-content/plugins/turitop-booking-system/admin-settings-page/class.turitop-booking-system-settings.php
- > /wp-content/plugins/turitop-booking-system/includes/class.turitop-booking-system-shortcodes.php
- > /wp-content/plugins/turitop-booking-system/admin-settings-page/class.turitop-booking-system-round-trip.php
- > /wp-content/plugins/turitop-booking-system/includes/cpt/service/class.turitop-booking-system-service-cpt.php
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/turitop-booking-system/templates/services/service_block.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/turitop-booking-system/templates/services/service_block_image_rigth.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/turitop-booking-system/templates/services/service_block_image_top_center.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/turitop-booking-system/templates/services/service_block_summary_content.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/turitop-booking-system/templates/services/service_block_image_left.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/turitop-booking-system/templates/round-trip/main.php:9
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=turitop_booking_system
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.defaultLabel is deprecated since version 5.5.0! Use wp.i18n instead.
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=turitop_booking_system
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.pick is deprecated since version 5.5.0! Use wp.i18n instead.
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=turitop_booking_system
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.clear is deprecated since version 5.5.0! Use wp.i18n instead.
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=turitop_booking_system
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.clearAriaLabel is deprecated since version 5.5.0! Use wp.i18n instead.
- > GET request to /wp-admin/admin.php?page=turitop_booking_system_instructions
- > Network (severe)
wp-content/plugins/turitop-booking-system/vendor//integralwebsite/css/integralwebsite-admin-functions.css?ver=1.0.10 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: turitop, wordpress booking, booking system
turitop-booking-system/init.php 85% from 13 tests
"TuriTop Booking System" version 1.0.10's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("turitop-booking-system.php" instead of "init.php")
- Description: The description should be shorter than 140 characters (currently 300 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected24,672 lines of code in 76 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 13 | 9,004 |
CSS | 18 | 1,672 | 33 | 6,415 |
PHP | 28 | 2,540 | 3,299 | 6,217 |
JavaScript | 24 | 656 | 306 | 1,899 |
PO File | 1 | 348 | 440 | 1,129 |
XML | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 42.73 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 127.00 |
Average method complexity | 5.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 22 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 213 | |
▷ Static methods | 14 | 6.57% |
▷ Public methods | 211 | 99.06% |
▷ Protected methods | 2 | 0.94% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 16 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/turitop-icon.png | 1.16KB | 1.35KB | 0.00% |