Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.25ms] Passed 4 tests
This is a short check of server-side resources used by Funbutler Booking System
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.43 ▼0.03 | 24.43 ▼17.87 |
Dashboard /wp-admin | 3.36 ▲0.06 | 50.42 ▲3.87 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 49.97 ▲3.46 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 91.87 ▲4.01 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.58 ▲1.55 |
Funbutler /wp-admin/options-general.php?page=funbutler-options-page | 3.25 | 29.54 |
Server storage [IO: ▲2.78MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
funbutler-settings |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Funbutler Booking System
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲92 | 23.81 ▲9.43 | 323.46 ▲321.51 | 44.58 ▼5.89 |
Dashboard /wp-admin | 2,210 ▲22 | 4.83 ▼0.07 | 110.68 ▲7.61 | 44.84 ▼0.09 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.01 ▼0.04 | 35.16 ▼2.78 | 31.86 ▼4.81 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.01 ▲5.31 | 659.51 ▼23.56 | 57.17 ▼0.49 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.14 ▼0.08 | 95.78 ▼1.09 | 40.38 ▼5.91 |
Funbutler /wp-admin/options-general.php?page=funbutler-options-page | 852 | 2.15 | 28.86 | 25.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- funbutler-settings
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 9× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/funbutler-booking/api/connect-client.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/funbutler-booking/shortcodes.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/funbutler-booking/api/connect-client.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/funbutler-booking/settings-page.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/funbutler-booking/api/disconnect-client.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/funbutler-booking/api/connect-client.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/funbutler-booking/menu-item.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/funbutler-booking/api/get-settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/funbutler-booking/api/get-client-data.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
- Screenshots: No descriptions were found for these screenshots #1, #2 in funbutler-booking/assets to your readme.txt
funbutler-booking/plugin.php 92% from 13 tests
The entry point to "Funbutler Booking System" version 1.0.8 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("funbutler-booking.php" instead of "plugin.php")
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
Everything looks great! No dangerous files found in this plugin473 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 112 | 10 | 403 |
Sass | 1 | 3 | 0 | 42 |
CSS | 1 | 3 | 0 | 28 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 20 | |
▷ Named functions | 20 | 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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 2.46MB with 1.56MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 21.82KB | 5.22KB | ▼ 76.08% |
assets/screenshot-1.png | 2,499.67KB | 1,242.21KB | ▼ 50.30% |