89% importify

Code Review | Importify - Dropshipping WooCommerce Plugin for Aliexpress, Amazon, Etsy, Alibaba, Walmart & More

WordPress plugin Importify - Dropshipping WooCommerce Plugin for Aliexpress, Amazon, Etsy, Alibaba, Walmart & More scored89%from 54 tests.

About plugin

  • Plugin page: importify
  • Plugin version: 1.0.4
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-6.4.1
  • WordPress version: 6.3.1
  • First release: Jul 10, 2021
  • Latest release: Nov 20, 2023
  • Number of updates: 22
  • Update frequency: every 39.2 days
  • Top authors: importify (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

1,000+ active /26,065 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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.04MB] [CPU: ▼4.86ms] Passed 4 tests

This is a short check of server-side resources used by Importify - Dropshipping WooCommerce Plugin for Aliexpress, Amazon, Etsy, Alibaba, Walmart & More
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0541.65 ▼2.20
Dashboard /wp-admin3.36 ▲0.0148.12 ▼15.39
Posts /wp-admin/edit.php3.41 ▲0.0551.33 ▲1.48
Add New Post /wp-admin/post-new.php5.96 ▲0.0789.32 ▼2.99
Media Library /wp-admin/upload.php3.29 ▲0.0534.45 ▲1.13

Server storage [IO: ▲10.76MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options
db_upgraded
importify_api_key
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for Importify - Dropshipping WooCommerce Plugin for Aliexpress, Amazon, Etsy, Alibaba, Walmart & More
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,809 ▲3714.35 ▼0.381.61 ▼0.2245.63 ▲2.09
Dashboard /wp-admin2,214 ▲375.54 ▼0.0292.05 ▲0.8881.46 ▲37.52
Posts /wp-admin/edit.php2,122 ▲191.96 ▼0.0737.18 ▼4.8734.41 ▼2.10
Add New Post /wp-admin/post-new.php1,543 ▲1723.03 ▲0.24740.00 ▲112.9560.38 ▲8.69
Media Library /wp-admin/upload.php1,422 ▲254.23 ▲0.0696.15 ▼0.0774.57 ▲30.47

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check 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 | 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 just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
  • Screenshots: Screenshot #1 (Importify - Import & Sell Dropshipping Products) image required
The official readme.txt might help

importify/importify.php 92% from 13 tests

The main file in "Importify - Dropshipping WooCommerce Plugin for Aliexpress, Amazon, Etsy, Alibaba, Walmart & More" v. 1.0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected527 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP27514398
CSS1160107
JavaScript13022

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.49
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
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods2
▷ Static methods00.00%
▷ Public methods2100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions13
▷ Named functions13100.00%
▷ Anonymous functions00.00%
Constants7
▷ Global constants7100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
14 PNG files occupy 10.73MB with 6.34MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/icon-128x128.png13.93KB6.31KB▼ 54.72%
assets/ImportifyLogo.png43.46KB19.19KB▼ 55.85%
assets/banner-772x250.png56.97KB20.77KB▼ 63.54%
assets/images/importifyLogo.png43.46KB19.19KB▼ 55.85%
assets/screenshot-2.png1,243.54KB431.96KB▼ 65.26%