Benchmarks
Plugin footprint 65% 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.02MB] [CPU: ▼5.16ms] Passed 4 tests
An overview of server-side resources used by Super Booking Calendar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 36.13 ▼0.94 |
Dashboard /wp-admin | 3.33 ▲0.02 | 43.51 ▼2.82 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.40 ▲0.89 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 88.43 ▼15.24 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.21 ▼1.63 |
Super Booking Calendar /wp-admin/options-general.php?page=super-booking-calendar | 3.23 | 41.03 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 17 new files
Database: 1 new table, 6 new options
New tables |
---|
booking |
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Super 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 / | 2,839 ▲93 | 13.37 ▼0.99 | 2.66 ▲0.96 | 39.93 ▼5.45 |
Dashboard /wp-admin | 2,232 ▲44 | 4.96 ▼0.86 | 113.79 ▲7.97 | 42.72 ▲1.15 |
Posts /wp-admin/edit.php | 2,112 ▲20 | 2.10 ▲0.08 | 40.38 ▼0.53 | 34.28 ▼1.78 |
Add New Post /wp-admin/post-new.php | 1,538 ▲19 | 23.33 ▲0.27 | 630.31 ▲4.46 | 33.95 ▼16.23 |
Media Library /wp-admin/upload.php | 1,408 ▲20 | 4.24 ▲0.04 | 93.89 ▲0.50 | 42.13 ▼0.14 |
Super Booking Calendar /wp-admin/options-general.php?page=super-booking-calendar | 897 | 1.80 | 24.16 | 26.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 1 table in the database
- booking
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/super-booking-calendar/super-booking-calendar.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/super-booking-calendar/views/default.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/super-booking-calendar/views/form.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
No browser issues were found
Optimizations
Plugin configuration 97% 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 to be fixed:
- Screenshots: Please describe screenshot #1 in super-booking-calendar/assets to your readme.txt
super-booking-calendar/super-booking-calendar.php Passed 13 tests
The main PHP script in "Super Booking Calendar" version 1.0 is automatically included on every request by WordPress
39 characters long description:
Nice calendar to mark important events.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected225 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 25 | 35 | 192 |
JavaScript | 3 | 1 | 31 | 31 |
CSS | 2 | 1 | 9 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 7 | 87.50% |
▷ Public methods | 7 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 12.50% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
6 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/images/ui-icons_444444_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
inc/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |
inc/images/ui-icons_555555_256x240.png | 6.82KB | 4.17KB | ▼ 38.82% |
inc/images/ui-icons_777620_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
inc/images/ui-icons_777777_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |