Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.33MB] [CPU: ▼3.02ms] Passed 4 tests
Server-side resources used by WPC Variation Swatches for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.32 | 40.53 ▲0.88 |
Dashboard /wp-admin | 3.63 ▲0.32 | 45.20 ▼3.99 |
Posts /wp-admin/edit.php | 3.74 ▲0.38 | 48.63 ▲2.39 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.34 | 81.89 ▼11.34 |
Media Library /wp-admin/upload.php | 3.55 ▲0.32 | 38.46 ▲6.79 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.52 | 36.00 |
About /wp-admin/admin.php?page=wpclever | 3.52 | 32.59 |
Server storage [IO: ▲0.42MB] [DB: ▲0.02MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WPC Variation Swatches for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,867 ▲105 | 14.32 ▲0.04 | 1.73 ▼0.00 | 40.18 ▲0.03 |
Dashboard /wp-admin | 2,257 ▲86 | 5.53 ▼0.05 | 97.22 ▼0.83 | 83.01 ▲38.71 |
Posts /wp-admin/edit.php | 2,185 ▲85 | 1.98 ▲0.02 | 39.74 ▼1.50 | 35.48 ▼6.11 |
Add New Post /wp-admin/post-new.php | 1,753 ▲216 | 21.81 ▼1.35 | 745.23 ▲83.21 | 51.13 ▼11.74 |
Media Library /wp-admin/upload.php | 1,474 ▲77 | 4.15 ▼0.08 | 113.10 ▲12.25 | 45.61 ▲1.42 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,739 | 2.13 | 35.61 | 60.56 |
About /wp-admin/admin.php?page=wpclever | 1,396 | 2.14 | 34.38 | 34.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- 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
The smoke test was a success, however most plugin functionality was not tested
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 smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #2 in wpc-variation-swatches/assets to your readme.txt
wpc-variation-swatches/wpc-variation-swatches.php Passed 13 tests
Analyzing the main PHP file in "WPC Variation Swatches for WooCommerce" version 4.0.0
42 characters long description:
WooCommerce Variation Swatches by WPClever
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin3,190 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 230 | 66 | 1,513 |
CSS | 5 | 252 | 152 | 1,146 |
JavaScript | 6 | 111 | 33 | 502 |
SVG | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 58.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 187.00 |
Average method complexity | 5.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 69.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 | 47 | |
▷ Static methods | 4 | 8.51% |
▷ Public methods | 47 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 9 | |
▷ Global constants | 9 | 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
No PNG files were detected