Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.47ms] Passed 4 tests
Server-side resources used by Vagaro Booking Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.68 ▲6.22 | 6,690.81 ▲6,651.48 |
Dashboard /wp-admin | 3.34 ▼0.00 | 42.24 ▼21.59 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 38.45 ▼9.01 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 88.05 ▲5.15 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.29 ▲7.57 |
Vagaro Setup /wp-admin/options-general.php?page=vagaro_admin_page | 3.23 | 25.94 |
Server storage [IO: ▲0.04MB] [DB: ▲0.78MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_vagaro |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
vagaro_version |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Vagaro Booking Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 13.35 ▼1.33 | 6.62 ▲4.82 | 42.45 ▼1.82 |
Dashboard /wp-admin | 2,217 ▲29 | 5.13 ▼0.73 | 111.87 ▲5.84 | 41.89 ▲4.32 |
Posts /wp-admin/edit.php | 2,100 ▲8 | 2.04 ▲0.01 | 41.12 ▲5.66 | 35.94 ▲3.98 |
Add New Post /wp-admin/post-new.php | 1,521 ▼21 | 17.68 ▼5.54 | 625.45 ▼42.15 | 54.41 ▼2.70 |
Media Library /wp-admin/upload.php | 1,399 ▲11 | 4.18 ▼0.03 | 96.69 ▲3.51 | 42.96 ▲2.43 |
Vagaro Setup /wp-admin/options-general.php?page=vagaro_admin_page | 2,632 | 8.77 | 118.96 | 210.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.77MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- vagaro_version
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/vagaro-booking-widget/vagaro-booking-widget.php:56
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/vagaro-booking-widget/vagaro-page-template.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=vagaro_admin_page
- > Javascript (severe) in unknown
/wp-content/plugins/vagaro-booking-widget/interframe.js?ver=6.3.1 12:14 Uncaught Error: Interframe requires jQuery version 1.9.1 or higher, but lower than version 3.
- > GET request to /wp-admin/options-general.php?page=vagaro_admin_page
- > Javascript (severe) in unknown
https://www.vagaro.com/wordpress?enc=jtNanql9ANA7oNkiTHmhZssDfhakhkpgGNf3C623eOw= 1346:20 Uncaught ReferenceError: $ is not defined
- > GET request to /wp-admin/options-general.php?page=vagaro_admin_page
- > Javascript (severe) in unknown
https://www.vagaro.com/JS/UserControl_JS/Signup.js?v=172 3300:2 Uncaught ReferenceError: jQuery is not defined
- > GET request to /wp-admin/options-general.php?page=vagaro_admin_page
- > Javascript (severe) in unknown
https://www.vagaro.com/wordpress?enc=jtNanql9ANA7oNkiTHmhZssDfhakhkpgGNf3C623eOw= 1941:4 Uncaught ReferenceError: $ is not defined
- > GET request to /wp-admin/options-general.php?page=vagaro_admin_page
- > Javascript (severe) in unknown
https://www.vagaro.com/wordpress?enc=jtNanql9ANA7oNkiTHmhZssDfhakhkpgGNf3C623eOw= 2589:4 Uncaught ReferenceError: $ is not defined
- > GET request to /wp-admin/options-general.php?page=vagaro_admin_page
- > Javascript (severe) in unknown
https://www.vagaro.com/wordpress?enc=jtNanql9ANA7oNkiTHmhZssDfhakhkpgGNf3C623eOw= 2601:16 Uncaught ReferenceError: $ is not defined
- > GET request to /wp-admin/options-general.php?page=vagaro_admin_page
- > Javascript (severe) in unknown
https://1a96a36bae7c8550901a-274b8a70320bb26e7a1e0ea7836ee429.ssl.cf2.rackcdn.com/wordpressjslive202310021254.js 19:74 Uncaught ReferenceError: jQuery is not defined
- > GET request to /wp-admin/options-general.php?page=vagaro_admin_page
- > Rendering (warning) in unknown
https://www.vagaro.com/wordpress?enc=jtNanql9ANA7oNkiTHmhZssDfhakhkpgGNf3C623eOw= - [.WebGL-0x27a402020d00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Screenshots: A description for screenshot #10 is missing in vagaro-booking-widget/assets to your readme.txt
vagaro-booking-widget/vagaro-booking-widget.php 92% from 13 tests
The main PHP script in "Vagaro Booking Widget" version 0.3 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 378 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected722 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 40 | 31 | 517 |
PHP | 2 | 23 | 39 | 205 |
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.30 |
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 | 10 | |
▷ Named functions | 10 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin