Benchmarks
Plugin footprint 65% 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.92MB] [CPU: ▼34.83ms] Passed 4 tests
Server-side resources used by Hotel Bookings Progress Bar for MotoPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.41 ▼0.05 | 24.21 ▼16.53 |
Dashboard /wp-admin | 3.02 ▼0.28 | 23.85 ▼22.65 |
Posts /wp-admin/edit.php | 3.02 ▼0.34 | 26.31 ▼21.62 |
Add New Post /wp-admin/post-new.php | 3.02 ▼2.87 | 22.33 ▼78.53 |
Media Library /wp-admin/upload.php | 3.02 ▼0.21 | 20.17 ▼12.82 |
Booking Progress Bar /wp-admin/options-general.php?page=hotel_booking_progress_bar_menu | 3.02 | 23.28 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Hotel Bookings Progress Bar for MotoPress: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,488 ▼283 | 13.25 ▼1.12 | 0.49 ▼1.47 | 19.50 ▼21.59 |
Dashboard /wp-admin | 2,229 ▲58 | 5.25 ▲0.17 | 110.60 ▼6.95 | 40.42 ▼1.98 |
Posts /wp-admin/edit.php | 2,117 ▲25 | 2.31 ▲0.29 | 43.13 ▲3.64 | 32.79 ▼3.47 |
Add New Post /wp-admin/post-new.php | 1,531 ▲12 | 17.85 ▼5.34 | 657.66 ▲0.17 | 45.95 ▼16.46 |
Media Library /wp-admin/upload.php | 1,411 ▲20 | 4.42 ▲0.25 | 106.16 ▲7.87 | 43.76 ▼0.53 |
Booking Progress Bar /wp-admin/options-general.php?page=hotel_booking_progress_bar_menu | 797 | 1.97 | 27.13 | 26.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=hotel_booking_progress_bar_menu
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
SRP 50% 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
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hotel-bookings-progress-bar-for-motopress/hotel-booking-progress-bar.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
1 plugin tags: motopress
hotel-bookings-progress-bar-for-motopress/hotel-booking-progress-bar.php 77% from 13 tests
The main PHP file in "Hotel Bookings Progress Bar for MotoPress" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 147 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("hotel-bookings-progress-bar-for-motopress.php" instead of "hotel-booking-progress-bar.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
Success! There were no dangerous files found in this plugin213 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 41 | 23 | 124 |
JavaScript | 2 | 13 | 6 | 49 |
CSS | 1 | 5 | 0 | 40 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There were not PNG files found in your plugin