Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼298.29ms] Passed 4 tests
An overview of server-side resources used by A+ Booking System - A+ booking calendar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.09 ▲1.57 | 89.90 ▲9.27 |
Dashboard /wp-admin | 4.41 ▲1.00 | 57.57 ▲17.36 |
Posts /wp-admin/edit.php | 4.41 ▲0.77 | 48.69 ▲8.08 |
Add New Post /wp-admin/post-new.php | 4.41 ▼2.56 | 49.31 ▼1,223.36 |
Media Library /wp-admin/upload.php | 4.41 ▲1.12 | 40.92 ▲12.85 |
Server storage [IO: ▲3.11MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 126 new files
Database: 7 new tables, 1 new option
New tables |
---|
wp_bmd_withdraws |
wp_bmd_options |
wp_bmd_tickets |
wp_bmd_invoices |
wp_bmd_calendars |
wp_bmd_listings |
wp_bmd_stats |
New WordPress options |
---|
wpaplusbookingsystem_activation |
Browser metrics Passed 4 tests
A+ Booking System - A+ booking calendar: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,629 ▲875 | 21.06 ▲5.30 | 45.89 ▲38.85 | 23.06 ▲20.31 |
Dashboard /wp-admin | 3,122 ▲264 | 7.59 ▲1.40 | 123.13 ▼20.04 | 161.07 ▼3.40 |
Posts /wp-admin/edit.php | 2,931 ▲240 | 4.41 ▲1.17 | 76.22 ▲8.72 | 165.46 ▲12.98 |
Add New Post /wp-admin/post-new.php | 1,898 ▲141 | 22.01 ▲0.03 | 365.24 ▼69.29 | 203.53 ▲41.04 |
Media Library /wp-admin/upload.php | 1,945 ▲253 | 6.89 ▲1.37 | 124.30 ▼22.55 | 180.33 ▼16.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Warning in wp-includes/functions.php+6821
Cannot modify header information - headers already sent by (output started at wp-includes/wp-db.php:1612)
- The uninstall procedure failed, leaving 7 tables in the database
- wp_bmd_options
- wp_bmd_tickets
- wp_bmd_listings
- wp_bmd_calendars
- wp_bmd_withdraws
- wp_bmd_invoices
- wp_bmd_stats
- Zombie WordPress options detected upon uninstall: 1 option
- wpaplusbookingsystem_activation
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Trying to get property 'option' of non-object in wp-content/plugins/a-booking-system/views/header.php on line 7
- > PHP Fatal error
Uncaught Error: Call to a member function get() on null in wp-content/plugins/a-booking-system/views/header-frontend.php:7
- > PHP Fatal error
Uncaught Error: Call to a member function get() on null in wp-content/plugins/a-booking-system/views/header.php:7
- > PHP Notice
Trying to get property 'option' of non-object in wp-content/plugins/a-booking-system/views/header-frontend.php on line 7
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: A description for screenshot #4 is missing in a-booking-system/assets to your readme.txt
- Tags: There are too many tags (99 tag instead of maximum 10)
a-booking-system/a-booking-system.php Passed 13 tests
"A+ Booking System - A+ booking calendar" version 1.5.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
93 characters long description:
This WordPress Plugin will allow you to use the Book Everything Unlimited's booking services.
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
Everything looks great! No dangerous files found in this plugin41,257 lines of code in 111 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 20 | 5,324 | 2,645 | 20,900 |
PHP | 76 | 1,989 | 1,099 | 11,578 |
CSS | 13 | 1,500 | 609 | 8,759 |
SVG | 1 | 0 | 0 | 18 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 28.66 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 179.00 |
Average method complexity | 4.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 29 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 29 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 213 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 213 | 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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
13 PNG files occupy 0.22MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
designs/default/images/delete-icon.png | 1.01KB | 0.18KB | ▼ 82.44% |
designs/default/images/get-code-icon.png | 1.03KB | 0.20KB | ▼ 80.82% |
libs/css/calendar/sprite.png | 1.24KB | 0.36KB | ▼ 71.07% |
libs/css/images/ui-icons_777620_256x240.png | 4.52KB | 4.18KB | ▼ 7.58% |
libs/css/images/ui-icons_777777_256x240.png | 6.85KB | 4.18KB | ▼ 38.94% |