Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼9.61ms] Passed 4 tests
An overview of server-side resources used by WPC Show Single Variations for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.12 ▼0.62 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.29 ▼1.99 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.79 ▼3.90 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 93.20 ▼31.94 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 33.48 ▲1.73 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
WPC Show Single Variations 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,790 ▲28 | 14.37 ▲0.02 | 1.75 ▲0.14 | 44.35 ▲1.04 |
Dashboard /wp-admin | 2,192 ▲25 | 5.49 ▼0.25 | 91.83 ▼19.18 | 37.24 ▼5.85 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.96 ▼0.05 | 40.70 ▼0.58 | 35.75 ▲1.19 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.11 ▼0.17 | 592.09 ▼103.35 | 51.73 ▼7.11 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.21 ▲0.04 | 101.58 ▲6.16 | 42.25 ▲0.21 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: variation, wpc, single, woo, variable...
wpc-show-single-variations/wpc-show-single-variations.php Passed 13 tests
The main PHP script in "WPC Show Single Variations for WooCommerce" version 2.3.5 is automatically included on every request by WordPress
122 characters long description:
WPC Show Single Variations help you show all variations as single products on catalog pages (shop, category, tag, search).
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 plugin1,488 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 134 | 24 | 902 |
CSS | 3 | 88 | 7 | 469 |
JavaScript | 3 | 11 | 3 | 88 |
SVG | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 16.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 3.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 5 | 11.63% |
▷ Public methods | 39 | 90.70% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 9.30% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin