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
Install script ran successfully
Server metrics [RAM: ▲0.32MB] [CPU: ▼2.97ms] Passed 4 tests
This is a short check of server-side resources used by WPC Linked Variation for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.32 | 43.20 ▲4.03 |
Dashboard /wp-admin | 3.62 ▲0.32 | 47.03 ▼8.44 |
Posts /wp-admin/edit.php | 3.73 ▲0.38 | 49.09 ▼0.43 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.33 | 83.21 ▼5.91 |
Media Library /wp-admin/upload.php | 3.54 ▲0.31 | 36.50 ▲2.89 |
About /wp-admin/admin.php?page=wpclever | 3.51 | 32.13 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.51 | 32.21 |
Server storage [IO: ▲0.40MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for WPC Linked Variation for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲130 | 14.48 ▲0.20 | 2.12 ▲0.60 | 44.34 ▲1.12 |
Dashboard /wp-admin | 2,260 ▲83 | 5.60 ▼0.04 | 84.52 ▼27.03 | 70.27 ▲24.44 |
Posts /wp-admin/edit.php | 2,178 ▲78 | 2.01 ▲0.06 | 36.59 ▲3.24 | 32.53 ▼6.34 |
Add New Post /wp-admin/post-new.php | 1,596 ▲68 | 23.72 ▲0.59 | 626.05 ▼90.70 | 136.96 ▲82.46 |
Media Library /wp-admin/upload.php | 1,474 ▲74 | 4.12 ▼0.09 | 94.40 ▼5.94 | 72.89 ▲27.04 |
About /wp-admin/admin.php?page=wpclever | 1,405 | 2.14 | 29.75 | 34.21 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,735 | 2.13 | 32.05 | 59.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 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
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: woo, woocommerce, wpc, variations, linked
wpc-linked-variation/wpc-linked-variation.php Passed 13 tests
"WPC Linked Variation for WooCommerce" version 4.1.7's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
76 characters long description:
WPC Linked Variation built to link separate products together by attributes.
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
There were no executable files found in this plugin2,990 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 240 | 37 | 1,561 |
CSS | 5 | 250 | 147 | 1,177 |
JavaScript | 6 | 31 | 10 | 223 |
SVG | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
Analyzing 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.52 |
Average class complexity | 75.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 252.00 |
Average method complexity | 5.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 64.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 45 | |
▷ Static methods | 9 | 20.00% |
▷ Public methods | 45 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin