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 gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▲0.16ms] Passed 4 tests
An overview of server-side resources used by WPC Variations Radio Buttons for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 40.31 ▲3.20 |
Dashboard /wp-admin | 3.33 ▲0.02 | 47.05 ▼0.09 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 46.63 ▲1.44 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 80.73 ▼3.74 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.16 ▲3.05 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.56 | 31.35 |
About /wp-admin/admin.php?page=wpclever | 3.21 | 30.67 |
Server storage [IO: ▲0.17MB] [DB: ▲0.02MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WPC Variations Radio Buttons for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,867 ▲105 | 14.61 ▲0.35 | 1.89 ▲0.17 | 40.20 ▼5.02 |
Dashboard /wp-admin | 2,257 ▲77 | 5.56 ▼0.07 | 95.85 ▲5.56 | 79.92 ▲37.54 |
Posts /wp-admin/edit.php | 2,182 ▲85 | 1.98 ▲0.04 | 38.79 ▲1.50 | 34.76 ▼3.43 |
Add New Post /wp-admin/post-new.php | 1,753 ▲227 | 21.70 ▼1.86 | 804.72 ▲181.31 | 80.26 ▲24.40 |
Media Library /wp-admin/upload.php | 1,474 ▲77 | 4.18 ▼0.02 | 102.88 ▼4.18 | 72.76 ▲29.38 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,744 | 2.13 | 34.03 | 56.24 |
About /wp-admin/admin.php?page=wpclever | 1,399 | 2.23 | 36.01 | 38.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
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 | 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
Congratulations! This plugin passed the SRP test
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 issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3 in wpc-variations-radio-buttons/assets to your readme.txt
wpc-variations-radio-buttons/wpc-variations-radio-buttons.php Passed 13 tests
The main file in "WPC Variations Radio Buttons for WooCommerce" v. 3.4.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
126 characters long description:
WPC Variations Radio Buttons will replace dropdown select with radio buttons for the buyer easier in selecting the variations.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin2,916 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 223 | 53 | 1,300 |
CSS | 4 | 148 | 11 | 728 |
JavaScript | 6 | 121 | 67 | 635 |
PO File | 2 | 82 | 129 | 224 |
SVG | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 48.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 147.00 |
Average method complexity | 5.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.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 | 43 | |
▷ Static methods | 7 | 16.28% |
▷ Public methods | 43 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin