Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼9.40ms] Passed 4 tests
A check of server-side resources used by WooCommerce Product CSS3 Tags
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.48 ▲1.16 |
Dashboard /wp-admin | 3.35 ▲0.01 | 47.10 ▼10.83 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 42.84 ▼3.42 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 80.31 ▼24.49 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 37.51 ▲4.91 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce Product CSS3 Tags
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.72 ▼0.67 | 1.87 ▲0.15 | 42.54 ▲2.70 |
Dashboard /wp-admin | 2,206 ▲18 | 5.84 ▼0.09 | 95.75 ▼3.57 | 38.66 ▼4.40 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 2.05 ▲0.01 | 36.05 ▼4.33 | 30.75 ▼5.67 |
Add New Post /wp-admin/post-new.php | 1,514 ▼28 | 17.51 ▼0.46 | 598.45 ▼28.69 | 53.28 ▲0.95 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.22 ▲0.06 | 93.29 ▼10.15 | 44.91 ▲1.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/woocommerce-product-css-tags/wc-product-css3-tags.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
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
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (Screenshot Admin WooCommerce Sidebar Tab - Product CSS3 Tags , Use label 'Model' as SKU field), #2 (Screenshot Frontend Product Page - Default Color Scheme for Product Tags), #3 (Screenshot Frontend Product Page - Silver Color for Product Tags and use Stitched Effect)
- Plugin Name: You should set the name of your plugin on the first line (
=== woocommerce-product-css-tags ===
)
woocommerce-product-css-tags/wc-product-css3-tags.php 92% from 13 tests
The main PHP script in "WooCommerce Product CSS3 Tags" version 1.0.4 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("woocommerce-product-css-tags.php" instead of "wc-product-css3-tags.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin416 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 85 | 61 | 291 |
CSS | 1 | 13 | 8 | 120 |
JavaScript | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 34.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 5.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.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 | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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.29MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/css3-tag.png | 2.33KB | 1.27KB | ▼ 45.41% |
screenshot-3.png | 127.15KB | 31.41KB | ▼ 75.29% |
screenshot-2.png | 123.95KB | 30.78KB | ▼ 75.17% |
screenshot-1.png | 34.90KB | 15.58KB | ▼ 55.36% |
images/get-more-extensions.png | 3.48KB | 1.84KB | ▼ 47.02% |