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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.87MB] [CPU: ▲4.93ms] Passed 4 tests
An overview of server-side resources used by Quick View for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.36 ▲0.90 | 52.14 ▲16.24 |
Dashboard /wp-admin | 4.17 ▲0.87 | 51.22 ▲0.23 |
Posts /wp-admin/edit.php | 4.22 ▲0.87 | 57.95 ▲13.33 |
Add New Post /wp-admin/post-new.php | 6.75 ▲0.87 | 92.29 ▼2.95 |
Media Library /wp-admin/upload.php | 4.09 ▲0.87 | 41.86 ▲9.11 |
Server storage [IO: ▲2.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 115 new files
Database: no new tables, 12 new options
New WordPress options |
---|
db_upgraded |
woo_quick_view_version |
_sp_wqvpro_options |
woo_quick_view_activation_date |
sp_woo_quick_view_review_notice_dismiss |
widget_theysaidso_widget |
woo_quick_view_first_version |
woo_quick_view_db_version |
widget_recent-comments |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Quick View for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,956 ▲194 | 13.35 ▼1.04 | 9.59 ▲7.94 | 43.89 ▼1.94 |
Dashboard /wp-admin | 2,232 ▲55 | 5.57 ▲0.01 | 88.93 ▲2.99 | 40.43 ▲2.55 |
Posts /wp-admin/edit.php | 2,137 ▲37 | 2.03 ▲0.02 | 42.04 ▲1.98 | 38.96 ▲3.28 |
Add New Post /wp-admin/post-new.php | 1,541 ▲5 | 22.86 ▼0.18 | 609.62 ▼68.77 | 51.11 ▼21.73 |
Media Library /wp-admin/upload.php | 1,433 ▲33 | 4.20 ▲0.01 | 99.75 ▼6.33 | 45.04 ▼0.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 12 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- sp_woo_quick_view_review_notice_dismiss
- can_compress_scripts
- woo_quick_view_first_version
- woo_quick_view_db_version
- woo_quick_view_version
- _sp_wqvpro_options
- woo_quick_view_activation_date
- ...
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/woo-quickview/includes/updates/update-1.0.11.php:5
- > PHP Warning
require_once(SP_WQV_PATHpublic/views/scripts.php): failed to open stream: No such file or directory in wp-content/plugins/woo-quickview/includes/loader.php on line 26
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woo-quickview/includes/custom-css.php:11
- > PHP Warning
Use of undefined constant SP_WQV_PATH - assumed 'SP_WQV_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/woo-quickview/includes/loader.php on line 26
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/woo-quickview/includes/updates/update-2.1.0.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/woo-quickview/includes/updates/update-2.0.0.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/woo-quickview/includes/updates/update-1.0.7.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-quickview/admin/views/notices/review.php:19
- > PHP Fatal error
require_once(): Failed opening required 'SP_WQV_PATHpublic/views/scripts.php' (include_path='.:/usr/share/php') in wp-content/plugins/woo-quickview/includes/loader.php on line 26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
woo-quickview/woo-quick-view.php 77% from 13 tests
The entry point to "Quick View for WooCommerce" version 2.2.4 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 213 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("woo-quickview.php" instead of "woo-quick-view.php")
- Requires at least: Required version does not match the one declared in readme.txt ("4.8" instead of "4.0")
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
Success! There were no dangerous files found in this plugin15,819 lines of code in 92 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 48 | 1,052 | 1,910 | 5,336 |
CSS | 19 | 859 | 487 | 4,687 |
SVG | 15 | 22 | 3 | 2,943 |
JavaScript | 9 | 626 | 196 | 2,769 |
Sass | 1 | 5 | 0 | 84 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 21.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 135.00 |
Average method complexity | 6.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 33 | |
▷ Abstract classes | 2 | 6.06% |
▷ Concrete classes | 31 | 93.94% |
▷ Final classes | 0 | 0.00% |
Methods | 129 | |
▷ Static methods | 21 | 16.28% |
▷ Public methods | 129 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
PNG images were not found in this plugin