Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼139.66ms] Passed 4 tests
This is a short check of server-side resources used by BookingLive Free Online Booking & Scheduling System
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 31.79 ▲10.21 |
Dashboard /wp-admin | 3.10 ▲0.04 | 49.80 ▲3.56 |
Posts /wp-admin/edit.php | 3.15 ▲0.04 | 43.00 ▼3.93 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.02 | 90.24 ▼566.14 |
Media Library /wp-admin/upload.php | 3.04 ▲0.04 | 34.17 ▲7.88 |
Booking Pages /wp-admin/edit.php?post_type=book | 3.08 | 28.65 |
Add New /wp-admin/post-new.php?post_type=book | 3.14 | 47.77 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for BookingLive Free Online Booking & Scheduling System
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,737 ▲141 | 15.81 ▲0.18 | 9.29 ▲0.15 | 48.05 ▲7.88 |
Dashboard /wp-admin | 3,025 ▲91 | 5.95 ▼0.22 | 132.93 ▼13.81 | 103.92 ▼8.90 |
Posts /wp-admin/edit.php | 2,791 ▲52 | 2.73 ▲0.01 | 66.74 ▼0.82 | 87.90 ▼12.76 |
Add New Post /wp-admin/post-new.php | 1,651 ▼21 | 21.98 ▲3.26 | 269.14 ▼98.01 | 108.20 ▲0.29 |
Media Library /wp-admin/upload.php | 1,862 ▲52 | 5.04 ▲0.03 | 138.05 ▼5.03 | 117.98 ▲1.02 |
Booking Pages /wp-admin/edit.php?post_type=book | 1,461 | 2.63 | 64.14 | 78.46 |
Add New /wp-admin/post-new.php?post_type=book | 2,934 | 8.92 | 271.72 | 160.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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 fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bookinglive-connect-integration/connect.php:28
- > PHP Fatal error
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 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
3 plugin tags: bookinglive connect, booking, bookinglive
bookinglive-connect-integration/connect.php 92% from 13 tests
The main PHP script in "BookingLive Free Online Booking & Scheduling System" 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 ("bookinglive-connect-integration.php" instead of "connect.php")
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
There were no executable files found in this plugin139 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 26 | 18 | 139 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 9 | |
▷ Named functions | 9 | 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 were not PNG files found in your plugin