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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.68ms] Passed 4 tests
A check of server-side resources used by Advanced Linked Variations for Woocommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 43.18 ▲0.91 |
Dashboard /wp-admin | 3.32 ▼0.02 | 49.30 ▼11.38 |
Posts /wp-admin/edit.php | 3.38 ▲0.01 | 49.58 ▼4.87 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.01 | 83.53 ▼19.88 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 36.56 ▼2.60 |
Server storage [IO: ▲1.71MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 60 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Advanced Linked Variations for Woocommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲56 | 14.72 ▲0.17 | 1.80 ▲0.15 | 42.71 ▲0.00 |
Dashboard /wp-admin | 2,205 ▲31 | 5.61 ▲0.06 | 87.13 ▼8.32 | 42.20 ▲1.48 |
Posts /wp-admin/edit.php | 2,117 ▲14 | 1.98 ▼0.01 | 39.23 ▼0.99 | 39.05 ▲0.47 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.32 ▲0.20 | 660.43 ▲11.32 | 65.43 ▲3.61 |
Media Library /wp-admin/upload.php | 1,416 ▲13 | 4.21 ▲0.02 | 101.06 ▼8.29 | 46.77 ▼1.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected 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 on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: link, product, free, variations
linked-variation/linked-variation.php 85% from 13 tests
The primary PHP file in "Advanced Linked Variations for Woocommerce" version 1.0.2 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 181 characters long)
- Requires at least: The required version number did not match the one declared in readme.txt ("4.0" instead of "5.1")
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
Success! There were no dangerous files found in this plugin4,281 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 216 | 544 | 1,708 |
CSS | 8 | 239 | 166 | 1,309 |
PO File | 4 | 436 | 576 | 1,034 |
JavaScript | 4 | 24 | 10 | 227 |
SVG | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 35.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 189.00 |
Average method complexity | 5.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 9 | 18.75% |
▷ Public methods | 44 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 8.33% |
Functions | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
20 PNG files occupy 1.31MB with 0.42MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/thedotstore-images/popular-plugins/Advanced-Flat-Rate-Shipping-Method.png | 4.88KB | 4.90KB | 0.00% |
admin/css/images/ui-icons_444444_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
admin/images/thedotstore-images/popular-plugins/Advanced-Product-Sample-for-WooCommerce.png | 11.96KB | 4.80KB | ▼ 59.83% |
admin/images/thedotstore-images/popular-plugins/hide-shipping-method-for-woocommerce.png | 7.13KB | 2.75KB | ▼ 61.38% |
admin/images/thedotstore-images/popular-plugins/WooCommerce-Blocker-Prevent-Fake-Orders.png | 6.83KB | 6.87KB | 0.00% |