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.04MB] [CPU: ▼2.31ms] Passed 4 tests
A check of server-side resources used by FlexiZoom - Product Image Zoom for WooCommercee
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.02 | 49.05 ▲6.36 |
Dashboard /wp-admin | 3.39 ▲0.05 | 52.51 ▼0.08 |
Posts /wp-admin/edit.php | 3.50 ▲0.11 | 47.71 ▼3.54 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.04 | 85.26 ▼8.58 |
Media Library /wp-admin/upload.php | 3.31 ▲0.04 | 38.38 ▲2.96 |
Server storage [IO: ▲3.53MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 46 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for FlexiZoom - Product Image Zoom for WooCommercee
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲65 | 14.18 ▼0.17 | 1.88 ▼0.16 | 44.58 ▲0.08 |
Dashboard /wp-admin | 2,204 ▲27 | 5.55 ▼0.12 | 91.87 ▲2.10 | 44.26 ▼0.18 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 1.97 ▲0.02 | 34.30 ▼1.77 | 33.20 ▼0.04 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.25 ▲0.14 | 654.26 ▼61.45 | 52.66 ▼2.00 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.15 ▼0.07 | 108.78 ▼0.25 | 46.20 ▼0.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests Passed 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 Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% 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:
- Contributors: The plugin contributors field is missing
- Tags: Please delete some tags, you are using 26 tag instead of maximum 10
flexizoom-product-image-zoom-for-woocommerce/flexizoom-product-image-zoom-for-woocommerce.php 77% from 13 tests
This is the main PHP file of "FlexiZoom - Product Image Zoom for WooCommercee" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Requires at least: The required version number must match the one declared in readme.txt ("3.0.1" instead of "3.0.0")
- Description: The description should be shorter than 140 characters (currently 164 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
Success! There were no dangerous files found in this plugin3,680 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 84 | 107 | 1,759 |
Sass | 5 | 402 | 173 | 1,523 |
CSS | 3 | 5 | 7 | 307 |
JavaScript | 4 | 8 | 7 | 85 |
SVG | 1 | 0 | 1 | 6 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 4.67 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 14 | |
▷ Static methods | 2 | 14.29% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/admin/images/flexible_logo.png | 11.13KB | 5.02KB | ▼ 54.85% |