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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.10ms] Passed 4 tests
This is a short check of server-side resources used by WooCommerce Catalog Booster & Product Catalog Mode
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 41.77 ▲2.70 |
Dashboard /wp-admin | 3.32 ▲0.01 | 51.71 ▼1.72 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.88 ▼3.28 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.55 ▼10.11 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.11 ▲4.28 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce Catalog Booster & Product Catalog Mode
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲9 | 14.28 ▼0.30 | 1.91 ▼0.02 | 45.71 ▲2.87 |
Dashboard /wp-admin | 2,204 ▲27 | 5.63 ▲0.10 | 95.80 ▼1.98 | 42.82 ▲0.37 |
Posts /wp-admin/edit.php | 2,107 ▲10 | 1.98 ▼0.17 | 37.46 ▲3.45 | 35.08 ▼1.52 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.35 ▲0.34 | 705.95 ▼10.22 | 56.73 ▲5.12 |
Media Library /wp-admin/upload.php | 1,409 ▲6 | 4.22 ▲0.02 | 100.41 ▼5.90 | 44.66 ▼0.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests Passed 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 Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== catalog-booster-for-woocommerce ===
) - Tags: Too many tags (33 tag instead of maximum 10); only the first 5 tags are used in your directory listing
catalog-booster-for-woocommerce/woocommerce-catalog-booster.php 85% from 13 tests
The main PHP script in "WooCommerce Catalog Booster & Product Catalog Mode" version 1.2.2 is automatically included on every request by WordPress
Please take the time to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("3.5" instead of "3.0.0")
- Main file name: The principal plugin file should be the same as the plugin slug ("catalog-booster-for-woocommerce.php" instead of "woocommerce-catalog-booster.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
Good job! No executable or dangerous file extensions detected1,968 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 326 | 331 | 1,939 |
CSS | 1 | 5 | 6 | 29 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 29 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 114 | |
▷ Named functions | 114 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 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 |
css/images/success.png | 7.86KB | 2.45KB | ▼ 68.86% |
css/images/info.png | 2.21KB | 1.70KB | ▼ 22.85% |
css/images/warning.png | 1.64KB | 1.48KB | ▼ 9.80% |
css/images/plus.png | 5.59KB | 2.14KB | ▼ 61.65% |
img/implecode.png | 11.70KB | 5.04KB | ▼ 56.91% |