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.01MB] [CPU: ▼296.33ms] Passed 4 tests
A check of server-side resources used by Booking Commerce - Online Booking and Appointment Scheduling Software
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.10 | 53.42 ▲1.33 |
Dashboard /wp-admin | 3.45 ▲0.04 | 33.36 ▼0.57 |
Posts /wp-admin/edit.php | 3.68 ▲0.03 | 37.82 ▲0.03 |
Add New Post /wp-admin/post-new.php | 6.92 ▼0.05 | 95.50 ▼1,184.41 |
Media Library /wp-admin/upload.php | 3.33 ▲0.03 | 25.90 ▼0.38 |
Booking /wp-admin/options-general.php?page=booking-setting | 3.30 | 24.14 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 2 new options
New WordPress options |
---|
booking_link |
widget_ex_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Booking Commerce - Online Booking and Appointment Scheduling Software
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,802 ▲48 | 16.15 ▲0.16 | 6.42 ▲0.51 | 3.11 ▲0.24 |
Dashboard /wp-admin | 2,892 ▲31 | 6.11 ▼0.06 | 122.41 ▼12.48 | 237.58 ▲77.38 |
Posts /wp-admin/edit.php | 2,695 ▲1 | 3.23 ▼0.01 | 63.62 ▼2.18 | 199.52 ▲57.71 |
Add New Post /wp-admin/post-new.php | 1,762 ▲72 | 22.05 ▲1.51 | 482.47 ▲55.80 | 157.30 ▲5.03 |
Media Library /wp-admin/upload.php | 1,702 ▲4 | 5.53 ▲0.01 | 144.29 ▼2.30 | 198.71 ▲9.47 |
Booking /wp-admin/options-general.php?page=booking-setting | 1,035 | 2.36 | 53.97 | 161.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 2 options
- booking_link
- widget_ex_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #6 in booking-commerce/assets to your readme.txt
booking-commerce/class-booking-commerce.php 85% from 13 tests
The main file in "Booking Commerce - Online Booking and Appointment Scheduling Software" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Text Domain: The text domain should only use lowercase characters and dashes
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("booking-commerce.php" instead of "class-booking-commerce.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin145 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 41 | 85 | 120 |
CSS | 1 | 0 | 0 | 25 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin