Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼310.40ms] Passed 4 tests
This is a short check of server-side resources used by Bookedin Wordpress Appointment Scheduling Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.58 | 67.63 ▲29.55 |
Dashboard /wp-admin | 3.56 ▲0.15 | 55.26 ▲13.22 |
Posts /wp-admin/edit.php | 3.78 ▲0.13 | 43.74 ▼7.89 |
Add New Post /wp-admin/post-new.php | 7.09 ▲0.11 | 116.50 ▼1,241.10 |
Media Library /wp-admin/upload.php | 3.50 ▲0.21 | 36.87 ▼5.82 |
Server storage [IO: ▲1.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 55 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_bookedinwidget |
Browser metrics Passed 4 tests
Checking browser requirements for Bookedin Wordpress Appointment Scheduling Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,870 ▲116 | 16.06 ▲0.57 | 9.13 ▼0.75 | 2.96 ▼1.00 |
Dashboard /wp-admin | 2,999 ▲80 | 6.72 ▲0.30 | 191.15 ▼15.46 | 203.41 ▼6.09 |
Posts /wp-admin/edit.php | 2,758 ▲40 | 3.47 ▲0.05 | 79.04 ▼11.82 | 174.97 ▼22.58 |
Add New Post /wp-admin/post-new.php | 1,721 ▲26 | 18.92 ▼1.84 | 604.93 ▼79.69 | 217.79 ▼13.28 |
Media Library /wp-admin/upload.php | 1,767 ▲37 | 6.05 ▲0.29 | 181.61 ▼15.45 | 268.25 ▲13.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 1 option in the database
- widget_bookedinwidget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means 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
Almost there! Just fix the following items
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/bookedin-online-appointment-scheduling/admin/partials/metabox-display.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bookedin-online-appointment-scheduling/admin/partials/button-display.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bookedin-online-appointment-scheduling/admin/partials/step-widget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bookedin-online-appointment-scheduling/admin/partials/step-button.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function delete_option() in wp-content/plugins/bookedin-online-appointment-scheduling/admin/partials/step-login.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bookedin-online-appointment-scheduling/admin/partials/step-logout.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/bookedin-online-appointment-scheduling/admin/partials/widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/bookedin-online-appointment-scheduling/admin/partials/step-selection.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bookedin-online-appointment-scheduling/admin/partials/button-preview.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bookedin-online-appointment-scheduling/admin/partials/widget-display.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: scheduling, appointment booking, booking calendar, booking system, appointment
bookedin-online-appointment-scheduling/bookedin.php 85% from 13 tests
The primary PHP file in "Bookedin Wordpress Appointment Scheduling Plugin" version 7.0.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("bookedin-online-appointment-scheduling.php" instead of "bookedin.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
There were no executable files found in this plugin4,017 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 383 | 260 | 2,107 |
CSS | 2 | 128 | 38 | 933 |
PHP | 27 | 154 | 360 | 923 |
SVG | 2 | 2 | 0 | 54 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 2.13 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 65 | |
▷ Static methods | 4 | 6.15% |
▷ Public methods | 58 | 89.23% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 10.77% |
Functions | 3 | |
▷ Named functions | 3 | 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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
12 PNG files occupy 0.90MB with 0.52MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-1544x500.png | 519.11KB | 194.00KB | ▼ 62.63% |
assets/screenshot-4.png | 41.63KB | 21.62KB | ▼ 48.05% |
assets/icon-256x256.png | 8.81KB | 4.20KB | ▼ 52.32% |
assets/screenshot-3.png | 37.97KB | 13.66KB | ▼ 64.02% |
assets/banner-772x250.png | 152.34KB | 55.67KB | ▼ 63.46% |