Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.31MB] [CPU: ▼3.70ms] Passed 4 tests
A check of server-side resources used by Enweby Pretty Product Quick View for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 39.51 ▼3.30 |
Dashboard /wp-admin | 3.70 ▲0.39 | 48.63 ▼2.15 |
Posts /wp-admin/edit.php | 3.75 ▲0.39 | 51.20 ▼3.38 |
Add New Post /wp-admin/post-new.php | 6.26 ▲0.37 | 89.29 ▼5.95 |
Media Library /wp-admin/upload.php | 3.56 ▲0.33 | 39.71 ▲0.75 |
Quick View /wp-admin/admin.php?page=enweby-pretty-product-quick-view&page=enweby-pretty-product-quick-view | 3.53 | 34.25 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Enweby Pretty Product Quick View for WooCommerce: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,035 ▲300 | 13.62 ▼0.67 | 10.43 ▲8.52 | 41.24 ▼5.17 |
Dashboard /wp-admin | 2,219 ▲34 | 4.92 ▼0.94 | 105.16 ▲0.56 | 37.89 ▼1.72 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.00 ▲0.02 | 42.59 ▲2.66 | 38.16 ▲1.53 |
Add New Post /wp-admin/post-new.php | 1,527 ▲13 | 23.44 ▲5.97 | 689.27 ▼0.98 | 47.98 ▼5.59 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.26 ▲0.04 | 98.48 ▼0.13 | 42.30 ▼0.32 |
Quick View /wp-admin/admin.php?page=enweby-pretty-product-quick-view&page=enweby-pretty-product-quick-view | 1,392 | 2.72 | 61.52 | 27.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 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
Please fix the following
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/enweby-pretty-product-quick-view/admin/partials/enweby-pretty-product-quick-view-admin-display.php
- > /wp-content/plugins/enweby-pretty-product-quick-view/admin/partials/wpqv-main-menu.php
- > /wp-content/plugins/enweby-pretty-product-quick-view/public/partials/enweby-pretty-product-quick-view-public-display.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Unterminated comment starting line 2 in wp-content/plugins/enweby-pretty-product-quick-view/includes/index.php on line 2
- > PHP Warning
Unterminated comment starting line 2 in wp-content/plugins/enweby-pretty-product-quick-view/public/index.php on line 2
- > PHP Warning
Unterminated comment starting line 2 in wp-content/plugins/enweby-pretty-product-quick-view/index.php on line 2
- > PHP Warning
Unterminated comment starting line 2 in wp-content/plugins/enweby-pretty-product-quick-view/admin/index.php on line 2
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
There were not plugin tags detected
enweby-pretty-product-quick-view/enweby-pretty-product-quick-view.php 92% from 13 tests
The main file in "Enweby Pretty Product Quick View for WooCommerce" v. 1.0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 166 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin1,784 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 485 | 901 | 1,299 |
CSS | 2 | 18 | 11 | 203 |
Markdown | 1 | 14 | 0 | 191 |
JavaScript | 2 | 26 | 75 | 91 |
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.30 |
Average class complexity | 15.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 108.00 |
Average method complexity | 2.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 112 | |
▷ Static methods | 2 | 1.79% |
▷ Public methods | 104 | 92.86% |
▷ Protected methods | 3 | 2.68% |
▷ Private methods | 5 | 4.46% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin