Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.80ms] Passed 4 tests
Server-side resources used by Mad Cow Customizer for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 42.53 ▼1.02 |
Dashboard /wp-admin | 3.37 ▲0.07 | 48.52 ▼5.81 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 51.38 ▼1.33 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 96.06 ▼3.03 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 42.14 ▲5.16 |
Server storage [IO: ▲1.35MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Mad Cow Customizer for WooCommerce: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.72 ▼0.66 | 1.83 ▼0.22 | 43.71 ▼0.57 |
Dashboard /wp-admin | 2,206 ▲18 | 4.91 ▼0.96 | 111.51 ▲4.07 | 44.37 ▲0.43 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 2.01 ▼0.03 | 39.40 ▼4.08 | 34.11 ▼4.06 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.30 ▲0.08 | 650.82 ▲50.07 | 61.64 ▲14.39 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.25 ▲0.04 | 100.90 ▼0.69 | 42.97 ▼2.95 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5 in mad-cow-customizer-for-woocommerce/assets to your readme.txt
mad-cow-customizer-for-woocommerce/mad-cow-customizer-for-woocommerce.php 85% from 13 tests
This is the main PHP file of "Mad Cow Customizer for WooCommerce" version 1.9.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Requires at least: The required version number did not match the one declared in readme.txt ("5.2" instead of "6.2")
- Requires PHP: The required version number did not match the one declared in readme.txt ("7.0" instead of "7.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin2,529 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 61 | 69 | 2,356 |
Markdown | 1 | 44 | 0 | 119 |
CSS | 1 | 23 | 7 | 54 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 19.67 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 30 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 33 | |
▷ Named functions | 31 | 93.94% |
▷ Anonymous functions | 2 | 6.06% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 1.24MB with 0.89MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/mcw-customizer-email.png | 152.01KB | 41.88KB | ▼ 72.45% |
images/mcw-customizer-cart.png | 272.62KB | 77.01KB | ▼ 71.75% |
images/mcw-customizer-checkout.png | 329.70KB | 99.62KB | ▼ 69.78% |
images/mcw-customizer-shop.png | 183.32KB | 48.99KB | ▼ 73.28% |
images/mcw-customizer-product.png | 329.34KB | 91.43KB | ▼ 72.24% |