89% zonify

Code Review | Zonify - Earn Amazon affiliate commissions, or start a dropshipping business by importing Amazon products into WooCommerce.

WordPress plugin Zonify - Earn Amazon affiliate commissions, or start a dropshipping business by importing Amazon products into WooCommerce. scored89%from 54 tests.

About plugin

  • Plugin page: zonify
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-6.1
  • WordPress version: 6.3.1
  • First release: May 11, 2022
  • Latest release: Nov 13, 2022
  • Number of updates: 8
  • Update frequency: every 23.3 days
  • Top authors: zonify (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

90+ active /2,384 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0544.38 ▲1.69
Dashboard /wp-admin3.35 ▲0.0553.52 ▲1.58
Posts /wp-admin/edit.php3.41 ▲0.0550.78 ▼5.16
Add New Post /wp-admin/post-new.php5.96 ▲0.0788.43 ▼11.56
Media Library /wp-admin/upload.php3.28 ▲0.0546.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,810 ▲4914.75 ▲0.482.11 ▲0.3044.91 ▼1.96
Dashboard /wp-admin2,202 ▲255.61 ▼0.0284.05 ▼7.6077.36 ▲38.21
Posts /wp-admin/edit.php2,125 ▲222.08 ▲0.0935.81 ▼6.0933.82 ▼5.97
Add New Post /wp-admin/post-new.php1,543 ▲1723.54 ▲0.41760.28 ▲78.5160.37 ▲15.83
Media Library /wp-admin/upload.php1,419 ▲164.24 ▲0.04106.96 ▲3.0777.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
The official readme.txt is a good inspiration

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:
LanguageFilesBlank linesComment linesLines of code
PHP26514299
CSS1160107
XML30055
JavaScript13022

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 code0.45
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods1
▷ Static methods00.00%
▷ Public methods1100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions14
▷ Named functions14100.00%
▷ Anonymous functions00.00%
Constants8
▷ Global constants8100.00%
▷ Class constants00.00%
▷ Public constants00.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
FileSize - originalSize - compressedSavings
assets/screenshot-5.png316.72KB126.75KB▼ 59.98%
assets/banner-772x250.png127.13KB41.11KB▼ 67.66%
assets/icon-1200.png58.67KB29.61KB▼ 49.53%
assets/screenshot-3.png460.89KB185.00KB▼ 59.86%
assets/banner-1544x500.png339.34KB106.63KB▼ 68.58%