Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method WOOFULLZOOM::plugin_activated() should not be called statically
Server metrics [RAM: ▲0.01MB] [CPU: ▼11.42ms] Passed 4 tests
This is a short check of server-side resources used by WooCommerce Fullscreen Image Zoom
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.10 ▼8.34 |
Dashboard /wp-admin | 3.33 ▼0.01 | 48.94 ▼17.58 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 48.94 ▲2.93 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 82.65 ▼18.03 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 37.66 ▼1.73 |
WOO FULLZOOM /wp-admin/options-general.php?page=woofz | 3.22 | 30.90 |
Server storage [IO: ▲0.78MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
woofz_options |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce Fullscreen Image Zoom
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.44 ▼0.09 | 1.67 ▼0.43 | 41.75 ▼1.08 |
Dashboard /wp-admin | 2,199 ▲31 | 5.55 ▼0.11 | 87.53 ▼4.87 | 39.81 ▼1.76 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▲0.02 | 38.89 ▲4.23 | 34.56 ▼0.59 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.22 ▲0.09 | 677.91 ▲0.65 | 46.94 ▼11.30 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.23 ▲0.06 | 95.67 ▼24.64 | 40.77 ▼7.69 |
WOO FULLZOOM /wp-admin/options-general.php?page=woofz | 1,528 | 2.79 | 55.65 | 28.50 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- woofz_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
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 | 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 perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/woo-fullzoom-lite/woo-fullzoom.php
- 3× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined variable: product in wp-content/plugins/woo-fullzoom-lite/templates/default.php on line 3
- > PHP Notice
Undefined variable: thumbnail_medium_url in wp-content/plugins/woo-fullzoom-lite/templates/default.php on line 3
- > PHP Fatal error
Uncaught Error: Call to a member function get_title() on null in wp-content/plugins/woo-fullzoom-lite/templates/default.php:3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
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
Attributes that need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Settings Page), #2 (Product page Images), #3 (Product Image Zoom), #4 (Product Image Zoom)
woo-fullzoom-lite/woo-fullzoom.php 92% from 13 tests
Analyzing the main PHP file in "WooCommerce Fullscreen Image Zoom" version 1.0.4
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("woo-fullzoom-lite.php" instead of "woo-fullzoom.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin786 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 70 | 9 | 395 |
CSS | 4 | 0 | 0 | 193 |
JavaScript | 4 | 25 | 0 | 103 |
SVG | 3 | 0 | 1 | 50 |
PO File | 1 | 50 | 86 | 45 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 79.00 |
▷ Minimum class complexity | 79.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
No PNG files were detected