Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.68ms] Passed 4 tests
Server-side resources used by Woocommerce Quick View lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.37 ▼2.13 |
Dashboard /wp-admin | 3.31 ▲0.00 | 42.86 ▼3.24 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.95 ▲4.23 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 77.82 ▼20.87 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.55 ▼0.49 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Woocommerce Quick View lite
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.35 ▼0.26 | 1.62 ▲0.07 | 39.57 ▼0.13 |
Dashboard /wp-admin | 2,195 ▲17 | 5.62 ▼0.04 | 80.40 ▼14.32 | 36.96 ▼3.66 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▼0.03 | 38.66 ▲1.81 | 35.08 ▲6.17 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 22.96 ▼0.12 | 649.67 ▼2.54 | 53.49 ▼3.07 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.21 ▲0.05 | 108.97 ▼3.61 | 46.62 ▼2.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/woocommerce-quick-view-lite/libs/tgm/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/woocommerce-quick-view-lite/libs/tgm/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/woocommerce-quick-view-lite/libs/tgm/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
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 90% 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 need to be fixed:
- Screenshots: Please add descriptions for these screenshots #2, #3, #4, #5 in woocommerce-quick-view-lite/assets to your readme.txt
woocommerce-quick-view-lite/plugin.php 85% from 13 tests
The entry point to "Woocommerce Quick View lite" version 1.5.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("woocommerce-quick-view-lite.php" instead of "plugin.php")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin2,639 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 855 | 1,680 | 2,454 |
CSS | 2 | 34 | 5 | 144 |
JavaScript | 1 | 27 | 1 | 41 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 48.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 4.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.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 | 101 | |
▷ Static methods | 5 | 4.95% |
▷ Public methods | 78 | 77.23% |
▷ Protected methods | 23 | 22.77% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
16 PNG files occupy 0.12MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/prm_option6.png | 5.41KB | 2.96KB | ▼ 45.35% |
images/prm_option7.png | 8.19KB | 3.70KB | ▼ 54.80% |
images/prm_option3.png | 23.05KB | 7.61KB | ▼ 66.99% |
images/head-arrow.png | 1.68KB | 1.43KB | ▼ 14.83% |
images/premium-head.png | 6.61KB | 5.20KB | ▼ 21.37% |