Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.39MB] [CPU: ▼1.18ms] Passed 4 tests
An overview of server-side resources used by iLabs Booking WooCommerce - apartments, boats, cars
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.89 ▲0.42 | 43.46 ▲6.51 |
Dashboard /wp-admin | 3.71 ▲0.36 | 50.94 ▼8.26 |
Posts /wp-admin/edit.php | 3.77 ▲0.40 | 48.75 ▲3.16 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.40 | 96.17 ▼3.05 |
Media Library /wp-admin/upload.php | 3.64 ▲0.40 | 37.70 ▲3.44 |
Server storage [IO: ▲1.58MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 275 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
plugin_activation_inspirelabs-bookings/inspirelabs-bookings.php |
Browser metrics Passed 4 tests
An overview of browser requirements for iLabs Booking WooCommerce - apartments, boats, cars
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲46 | 14.14 ▼0.39 | 1.86 ▲0.38 | 46.65 ▲5.64 |
Dashboard /wp-admin | 2,198 ▲18 | 5.62 ▼0.03 | 93.67 ▲7.61 | 44.27 ▲2.45 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.03 ▲0.05 | 35.63 ▲2.12 | 31.43 ▼4.60 |
Add New Post /wp-admin/post-new.php | 1,543 ▲12 | 18.26 ▼4.63 | 606.62 ▼34.54 | 58.90 ▼6.30 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.21 ▼0.00 | 95.14 ▼20.54 | 40.14 ▼7.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- plugin_activation_inspirelabs-bookings/inspirelabs-bookings.php
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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
Please take a closer look at the following
- 115× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'BookingsVendor\\WPDesk_Translatable' not found in wp-content/plugins/inspirelabs-bookings/vendor_prefixed/wpdesk/wp-builder/src/Plugin/SlimPlugin.php:8
- > PHP Fatal error
Uncaught Error: Class 'BookingsVendor\\WPDesk\\PluginBuilder\\Plugin\\AbstractPlugin' not found in wp-content/plugins/inspirelabs-bookings/src/Plugin/Plugin.php:30
- > PHP Fatal error
Uncaught Error: Class 'BookingsVendor\\Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/inspirelabs-bookings/vendor_prefixed/monolog/monolog/src/Monolog/Handler/ErrorLogHandler.php:20
- > PHP Fatal error
Uncaught Error: Interface 'BookingsVendor\\WPDesk\\PluginBuilder\\Plugin\\Hookable' not found in wp-content/plugins/inspirelabs-bookings/vendor_prefixed/wpdesk/wp-wpdesk-helper/src/Page/SettingsPage.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/inspirelabs-bookings/src/Plugin/Admin/WC_Order/order_details_template.php:21
- > PHP Fatal error
Uncaught Error: Interface 'BookingsVendor\\Monolog\\Processor\\ProcessorInterface' not found in wp-content/plugins/inspirelabs-bookings/vendor_prefixed/wpdesk/wp-wpdesk-helper/src/Logs/LibraryInfoProcessor.php:12
- > PHP Fatal error
Uncaught Error: Interface 'BookingsVendor\\WPDesk\\PluginBuilder\\Plugin\\HookablePluginDependant' not found in wp-content/plugins/inspirelabs-bookings/vendor_prefixed/wpdesk/wp-notice/src/WPDesk/Notice/AjaxHandler.php:14
- > PHP Fatal error
Uncaught Error: Interface 'BookingsVendor\\Monolog\\Formatter\\FormatterInterface' not found in wp-content/plugins/inspirelabs-bookings/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php:20
- > PHP Fatal error
Uncaught Error: Class 'BookingsVendor\\Monolog\\Handler\\SocketHandler' not found in wp-content/plugins/inspirelabs-bookings/vendor_prefixed/monolog/monolog/src/Monolog/Handler/InsightOpsHandler.php:20
- > PHP Fatal error
Uncaught Error: Interface 'BookingsVendor\\Monolog\\Formatter\\FormatterInterface' not found in wp-content/plugins/inspirelabs-bookings/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/ChromePHPFormatter.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: coaching timetable, booking, apartment rent, event management, car rental
inspirelabs-bookings/inspirelabs-bookings.php 92% from 13 tests
"iLabs Booking WooCommerce - apartments, boats, cars" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 158 characters long)
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
No dangerous file extensions were detected20,431 lines of code in 261 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 213 | 1,139 | 7,892 | 11,717 |
JavaScript | 11 | 809 | 493 | 3,475 |
PO File | 10 | 927 | 1,052 | 2,228 |
CSS | 4 | 99 | 82 | 1,484 |
Sass | 7 | 76 | 28 | 913 |
JSON | 12 | 1 | 0 | 536 |
Markdown | 4 | 22 | 0 | 78 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 7.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 2.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 39 | |
Interfaces | 29 | |
Traits | 10 | |
Classes | 161 | |
▷ Abstract classes | 10 | 6.21% |
▷ Concrete classes | 151 | 93.79% |
▷ Final classes | 1 | 0.66% |
Methods | 1,084 | |
▷ Static methods | 82 | 7.56% |
▷ Public methods | 779 | 71.86% |
▷ Protected methods | 154 | 14.21% |
▷ Private methods | 151 | 13.93% |
Functions | 79 | |
▷ Named functions | 15 | 18.99% |
▷ Anonymous functions | 64 | 81.01% |
Constants | 131 | |
▷ Global constants | 1 | 0.76% |
▷ Class constants | 130 | 99.24% |
▷ Public constants | 130 | 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
No PNG files were detected