Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▲0.90ms] Passed 4 tests
A check of server-side resources used by Quick View WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.07 ▲1.50 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.54 ▲1.70 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.11 ▲0.45 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.75 ▲0.30 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.05 ▲1.36 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Quick View WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.35 ▼0.00 | 1.85 ▲0.23 | 44.91 ▲3.87 |
Dashboard /wp-admin | 2,201 ▲24 | 5.65 ▲0.07 | 95.23 ▲6.69 | 43.91 ▲3.59 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.02 ▼0.01 | 33.45 ▼7.56 | 35.36 ▼3.09 |
Add New Post /wp-admin/post-new.php | 1,532 ▲4 | 23.14 ▼0.12 | 682.66 ▲70.66 | 55.44 ▲3.19 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.21 ▲0.02 | 97.78 ▲4.06 | 42.56 ▼2.85 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
quick-view-woocommerce/xoo-quickview-main.php 92% from 13 tests
The primary PHP file in "Quick View WooCommerce" version 1.7 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("quick-view-woocommerce.php" instead of "xoo-quickview-main.php")
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
There were no executable files found in this plugin1,262 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 162 | 74 | 715 |
CSS | 2 | 44 | 9 | 383 |
JavaScript | 3 | 28 | 13 | 146 |
SVG | 1 | 0 | 0 | 18 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 38 | |
▷ Named functions | 38 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
5 compressed PNG files occupy 0.04MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/premium/3.png | 9.60KB | 9.99KB | 0.00% |
inc/premium/1.png | 14.82KB | 15.95KB | 0.00% |
inc/premium/preloaders.png | 4.52KB | 4.65KB | 0.00% |
inc/premium/2.png | 12.29KB | 12.86KB | 0.00% |
inc/premium/qv-icons.png | 2.54KB | 2.58KB | 0.00% |