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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.74ms] Passed 4 tests
A check of server-side resources used by superZoom- WooCommerce Product Image Zoom
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 46.06 ▲7.15 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.62 ▼2.46 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.21 ▼2.15 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 88.86 ▼12.48 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.68 ▲2.12 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
superZoom- WooCommerce Product Image Zoom: 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 / | 2,925 ▲164 | 13.63 ▼0.75 | 7.38 ▲5.32 | 43.25 ▼1.30 |
Dashboard /wp-admin | 2,221 ▲24 | 5.79 ▼0.08 | 102.36 ▼2.25 | 38.19 ▼4.32 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.97 ▼0.04 | 35.55 ▼4.64 | 34.10 ▲0.59 |
Add New Post /wp-admin/post-new.php | 1,545 ▼0 | 23.10 ▼0.08 | 648.43 ▲18.68 | 50.42 ▼8.26 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.24 ▲0.05 | 96.18 ▼11.38 | 41.55 ▼9.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #2 (The Magnifier settings page. Choose the size of the zoom area, the size of the image to be shown in zoom area and the its position (on the right or over the image).), #3 (The slider settings page. You can choose to use the slider for product image thumbnails, set how many images to show within the slider, and the behavior of the slider, choosing if circular, infinite or standard carousel.), #4 (The zoom applied to a product image, showing zoomed image on the right side.), #5 (The zoom applied to a product image, showing zoomed image over the same image.), #6 (Choose how many items the slider should show, the image thumbnails will fit the available width.)
superzoom-woocommerce-product-image-zoom/superZoom_WooCommerce Product Image Zoom.php 92% from 13 tests
"superZoom- WooCommerce Product Image Zoom" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("superzoom-woocommerce-product-image-zoom.php" instead of "superZoom_WooCommerce Product Image Zoom.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected94 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 16 | 6 | 87 |
PHP | 1 | 14 | 19 | 7 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 1 | |
▷ Named functions | 1 | 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
There were not PNG files found in your plugin