Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.39ms] Passed 4 tests
This is a short check of server-side resources used by WooCommerce Quick View
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 34.63 ▼2.72 |
Dashboard /wp-admin | 3.32 ▲0.02 | 42.96 ▼4.06 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.93 ▼0.82 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.83 ▼2.73 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.31 ▼4.03 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 9 new options
New WordPress options |
---|
wcqv_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
wpcqv_view_install_date |
widget_theysaidso_widget |
theysaidso_admin_options |
wcqv_style |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce Quick View
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.26 ▼1.32 | 4.56 ▲2.90 | 37.48 ▼4.95 |
Dashboard /wp-admin | 2,209 ▲21 | 5.92 ▲0.02 | 107.92 ▲7.30 | 40.23 ▼0.85 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▲0.04 | 39.44 ▲2.09 | 33.50 ▲0.17 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 23.21 ▼0.07 | 595.38 ▼61.00 | 50.32 ▼2.07 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.24 ▼0.04 | 97.48 ▼3.46 | 42.69 ▼1.35 |
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
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/woo-quick-view/woo-quick-view.php:13
- > PHP Fatal error
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: Screenshot #2 (Front end) image missing
woo-quick-view/woo-quick-view.php Passed 13 tests
The primary PHP file in "WooCommerce Quick View" version 1.1.1 is used by WordPress to initiate all plugin functionality
100 characters long description:
Woo Quick View plugin allows the customers to have a brief overview of every product in a light box.
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
Everything looks great! No dangerous files found in this plugin1,564 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 214 | 217 | 655 |
CSS | 2 | 46 | 0 | 522 |
PHP | 3 | 156 | 12 | 387 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 3.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/warn.png | 0.44KB | 0.36KB | ▼ 19.65% |
img/right_arr.png | 0.74KB | 0.42KB | ▼ 43.87% |
img/left_arr.png | 0.74KB | 0.42KB | ▼ 43.61% |