Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.63MB] [CPU: ▼1.65ms] 75% from 4 tests
A check of server-side resources used by QuickSwish - WooCommerce Product Quick View
Please fix the following
- CPU: Total CPU usage should be kept under 500.00ms (currently 1,368.97ms on /wp-admin/admin.php?page=recommendations)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.30 | 38.11 ▲1.08 |
Dashboard /wp-admin | 4.06 ▲0.75 | 53.52 ▲6.32 |
Posts /wp-admin/edit.php | 4.11 ▲0.75 | 60.44 ▲5.45 |
Add New Post /wp-admin/post-new.php | 6.63 ▲0.74 | 85.96 ▼18.52 |
Media Library /wp-admin/upload.php | 3.96 ▲0.72 | 38.76 ▲5.41 |
Recommendations /wp-admin/admin.php?page=recommendations | 8.26 | 1,368.97 |
Server storage [IO: ▲0.56MB] [DB: ▲0.67MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 63 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
quickswish_style_tab |
quickswish_version |
quickswish_installed |
can_compress_scripts |
quickswish_modal_setting_tabs |
quickswish_setting_tabs |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for QuickSwish - WooCommerce Product Quick View
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,990 ▲244 | 15.01 ▲0.62 | 1.73 ▲0.02 | 40.91 ▲2.96 |
Dashboard /wp-admin | 2,399 ▲211 | 6.72 ▲1.81 | 123.19 ▲19.13 | 38.81 ▼2.60 |
Posts /wp-admin/edit.php | 2,309 ▲220 | 3.58 ▲1.59 | 50.94 ▲8.75 | 34.50 ▼1.73 |
Add New Post /wp-admin/post-new.php | 1,560 ▲27 | 23.43 ▲0.24 | 664.17 ▲61.05 | 37.21 ▼14.99 |
Media Library /wp-admin/upload.php | 1,449 ▲58 | 4.40 ▲0.20 | 82.21 ▼20.86 | 41.44 ▼2.84 |
Recommendations /wp-admin/admin.php?page=recommendations | 2,100 | 3.35 | 47.47 | 93.93 |
Settings /wp-admin/admin.php?page=quickswish#settings | 2,933 | 4.10 | 108.18 | 115.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.67MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 11 options
- quickswish_modal_setting_tabs
- widget_theysaidso_widget
- quickswish_style_tab
- db_upgraded
- quickswish_installed
- quickswish_version
- widget_recent-posts
- theysaidso_admin_options
- quickswish_setting_tabs
- can_compress_scripts
- ...
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 no errors were found, this is by no means 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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/quickswish/includes/templates/quickswish-button.php:1
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: woocommerce quick view, quick view, product popup, woocommerce, product quick view
quickswish/quickswish.php Passed 13 tests
The primary PHP file in "QuickSwish - WooCommerce Product Quick View" version 1.1.1 is used by WordPress to initiate all plugin functionality
47 characters long description:
WooCommerce Product quick view WordPress plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin3,751 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 31 | 782 | 923 | 2,856 |
CSS | 3 | 32 | 7 | 477 |
JavaScript | 4 | 85 | 93 | 335 |
SVG | 2 | 2 | 0 | 44 |
YAML | 2 | 2 | 0 | 34 |
JSON | 1 | 0 | 0 | 5 |
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.41 |
Average class complexity | 17.16 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 91.00 |
Average method complexity | 2.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 1 | 5.26% |
Methods | 151 | |
▷ Static methods | 27 | 17.88% |
▷ Public methods | 140 | 92.72% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 7.28% |
Functions | 17 | |
▷ Named functions | 13 | 76.47% |
▷ Anonymous functions | 4 | 23.53% |
Constants | 12 | |
▷ Global constants | 9 | 75.00% |
▷ Class constants | 3 | 25.00% |
▷ Public constants | 3 | 100.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
12 compressed PNG files occupy 0.17MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/extensions/multicurrencypro.png | 19.01KB | 9.36KB | ▼ 50.77% |
.wordpress-org/screenshot-5.png | 55.99KB | 58.01KB | 0.00% |
assets/images/extensions/htmega-pro.png | 4.60KB | 4.78KB | 0.00% |
assets/images/extensions/just-tables-pro.png | 1.02KB | 1.05KB | 0.00% |
.wordpress-org/screenshot-2.png | 20.47KB | 21.14KB | 0.00% |