Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▼140.42ms] Passed 4 tests
This is a short check of server-side resources used by Booking System - bok.to
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.04 ▲0.20 | 43.92 ▲8.94 |
Dashboard /wp-admin | 3.26 ▲0.20 | 46.14 ▲1.03 |
Posts /wp-admin/edit.php | 3.35 ▲0.24 | 46.25 ▲2.08 |
Add New Post /wp-admin/post-new.php | 5.62 ▲0.18 | 86.53 ▼566.09 |
Media Library /wp-admin/upload.php | 3.21 ▲0.20 | 33.43 ▲1.31 |
Calendar /wp-admin/admin.php?page=calendar | 3.17 | 30.88 |
Bookings /wp-admin/admin.php?page=bookings | 3.17 | 32.17 |
Services /wp-admin/admin.php?page=services | 3.17 | 28.32 |
Configuration /wp-admin/admin.php?page=bokto-config | 3.17 | 26.31 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Booking System - bok.to
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,741 ▲145 | 16.00 ▲0.41 | 9.11 ▼0.73 | 52.50 ▲5.63 |
Dashboard /wp-admin | 3,012 ▲81 | 5.94 ▲0.00 | 135.29 ▼11.86 | 107.82 ▼8.40 |
Posts /wp-admin/edit.php | 2,778 ▲39 | 2.72 ▲0.01 | 70.42 ▲3.86 | 95.69 ▲1.27 |
Add New Post /wp-admin/post-new.php | 1,697 ▲14 | 18.72 ▼0.03 | 364.84 ▼14.06 | 107.20 ▲0.57 |
Media Library /wp-admin/upload.php | 1,849 ▲42 | 5.03 ▲0.02 | 136.18 ▼9.43 | 115.98 ▼6.40 |
Calendar /wp-admin/admin.php?page=calendar | 1,031 | 2.08 | 54.63 | 56.23 |
Bookings /wp-admin/admin.php?page=bookings | 1,034 | 2.09 | 52.50 | 59.28 |
Services /wp-admin/admin.php?page=services | 1,033 | 2.09 | 53.74 | 58.27 |
Configuration /wp-admin/admin.php?page=bokto-config | 1,126 | 2.09 | 52.76 | 57.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Donate link: Please fix this invalid url: ""
booking-system-bok-to/bok_sys.php 69% from 13 tests
The main PHP script in "Booking System - bok.to" version 1.0.1 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("booking-system-bok-to.php" instead of "bok_sys.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.7" instead of "5.6.1")
- Domain Path: The domain path points to an invalid folder, "/lang" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin1,558 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 259 | 27 | 1,246 |
CSS | 2 | 50 | 1 | 281 |
JavaScript | 2 | 6 | 0 | 31 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
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 | 31 | |
▷ Named functions | 31 | 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
No PNG images were found in this plugin