Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.63ms] Passed 4 tests
A check of server-side resources used by Botowski for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.13 ▼1.08 |
Dashboard /wp-admin | 3.34 ▼0.00 | 45.61 ▼16.95 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.44 ▼1.28 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 84.32 ▲0.81 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.57 ▲0.89 |
Botowski /wp-admin/options-general.php?page=botowski-settings | 3.23 | 29.35 |
Server storage [IO: ▲0.10MB] [DB: ▲0.98MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Botowski for WooCommerce: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲81 | 13.65 ▼0.48 | 1.81 ▲0.20 | 42.70 ▼1.94 |
Dashboard /wp-admin | 2,233 ▲66 | 6.04 ▲0.44 | 99.15 ▼12.22 | 38.41 ▼3.54 |
Posts /wp-admin/edit.php | 2,143 ▲40 | 2.32 ▲0.36 | 41.81 ▲8.09 | 35.95 ▲0.52 |
Add New Post /wp-admin/post-new.php | 1,548 ▼24 | 23.56 ▲4.47 | 686.28 ▲54.54 | 37.00 ▼36.66 |
Media Library /wp-admin/upload.php | 1,441 ▲44 | 4.55 ▲0.40 | 98.96 ▼1.32 | 43.31 ▲2.64 |
Botowski /wp-admin/options-general.php?page=botowski-settings | 854 | 2.08 | 26.61 | 25.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.98MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/botowski-for-woocommerce/botowski.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5 in botowski-for-woocommerce/assets to your readme.txt
- Contributors: The plugin contributors field is not present
botowski-for-woocommerce/botowski.php 92% from 13 tests
The principal PHP file in "Botowski for WooCommerce" v. 1.1.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("botowski-for-woocommerce.php" instead of "botowski.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 plugin365 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 45 | 17 | 167 |
JavaScript | 1 | 28 | 0 | 127 |
CSS | 1 | 8 | 1 | 71 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 8 | |
▷ Named functions | 8 | 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
1 PNG file occupies 0.09MB with 0.05MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
botowski.png | 88.28KB | 35.56KB | ▼ 59.72% |