Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.36ms] Passed 4 tests
An overview of server-side resources used by Zonify - Earn Amazon affiliate commissions, or start a dropshipping business by importing Amazon products into WooCommerce.
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 44.38 ▲1.69 |
Dashboard /wp-admin | 3.35 ▲0.05 | 53.52 ▲1.58 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 50.78 ▼5.16 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 88.43 ▼11.56 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 46.92 ▲9.73 |
Server storage [IO: ▲2.65MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
zonify_api_key |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Zonify - Earn Amazon affiliate commissions, or start a dropshipping business by importing Amazon products into WooCommerce.
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲49 | 14.75 ▲0.48 | 2.11 ▲0.30 | 44.91 ▼1.96 |
Dashboard /wp-admin | 2,202 ▲25 | 5.61 ▼0.02 | 84.05 ▼7.60 | 77.36 ▲38.21 |
Posts /wp-admin/edit.php | 2,125 ▲22 | 2.08 ▲0.09 | 35.81 ▼6.09 | 33.82 ▼5.97 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.54 ▲0.41 | 760.28 ▲78.51 | 60.37 ▲15.83 |
Media Library /wp-admin/upload.php | 1,419 ▲16 | 4.24 ▲0.04 | 106.96 ▲3.07 | 77.91 ▲27.25 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: Screenshot #1 (Find, Import & Sell Amazon Products) image required
zonify/zonify.php 92% from 13 tests
The main file in "Zonify - Earn Amazon affiliate commissions, or start a dropshipping business by importing Amazon products into WooCommerce." v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin483 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 65 | 14 | 299 |
CSS | 1 | 16 | 0 | 107 |
XML | 3 | 0 | 0 | 55 |
JavaScript | 1 | 3 | 0 | 22 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 1 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 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 | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
13 PNG files occupy 2.63MB with 1.61MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-5.png | 316.72KB | 126.75KB | ▼ 59.98% |
assets/banner-772x250.png | 127.13KB | 41.11KB | ▼ 67.66% |
assets/icon-1200.png | 58.67KB | 29.61KB | ▼ 49.53% |
assets/screenshot-3.png | 460.89KB | 185.00KB | ▼ 59.86% |
assets/banner-1544x500.png | 339.34KB | 106.63KB | ▼ 68.58% |