83% automizely-dropshipping

Code Review | Automizely - Free AliExpress Dropshipping Plugin. Drop Ship Fast 3-10 days to the US

WordPress plugin Automizely - Free AliExpress Dropshipping Plugin. Drop Ship Fast 3-10 days to the US scored83%from 54 tests.

About plugin

  • Plugin page: automizely-dropsh...
  • Plugin version: 1.0.9
  • PHP compatiblity: 5.6.20+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-5.8
  • WordPress version: 6.3.1
  • First release: Jul 29, 2021
  • Latest release: Apr 29, 2022
  • Number of updates: 14
  • Update frequency: every 19.6 days
  • Top authors: aftership (100%)

Code review

54 tests

User reviews

16 reviews

Install metrics

80+ active /4,183 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.07MB] [CPU: ▼7.08ms] Passed 4 tests

A check of server-side resources used by Automizely - Free AliExpress Dropshipping Plugin. Drop Ship Fast 3-10 days to the US
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0836.28 ▼4.93
Dashboard /wp-admin3.38 ▲0.0743.99 ▼5.84
Posts /wp-admin/edit.php3.49 ▲0.1347.27 ▲1.36
Add New Post /wp-admin/post-new.php5.96 ▲0.0789.22 ▼17.53
Media Library /wp-admin/upload.php3.30 ▲0.0731.82 ▼0.02

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
can_compress_scripts
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for Automizely - Free AliExpress Dropshipping Plugin. Drop Ship Fast 3-10 days to the US
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,862 ▲9114.45 ▲0.101.95 ▼0.1339.03 ▼3.90
Dashboard /wp-admin2,243 ▲584.89 ▼0.92110.90 ▲0.2668.83 ▲25.61
Posts /wp-admin/edit.php2,123 ▲342.00 ▼0.0239.79 ▲1.8036.48 ▲1.47
Add New Post /wp-admin/post-new.php1,554 ▲4023.13 ▲5.31658.84 ▼27.5761.69 ▲8.19
Media Library /wp-admin/upload.php1,425 ▲374.22 ▼0.04100.30 ▲5.4868.59 ▲25.06

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP 50% from 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
The following issues need your attention
  • 5× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/automizely-dropshipping/includes/class-am-rest-controller.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'AM_REST_Controller' not found in wp-content/plugins/automizely-dropshipping/includes/api/dropshipping/v1/class-am-dp-rest-settings-controller.php:10
    • > PHP Warning
      include(): Failed opening 'AUTOMIZELY_DROPSHIPPING_PATH/includes/class-am-rest-controller.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/automizely-dropshipping/includes/api/dropshipping/v1/class-am-dp-rest-settings-controller.php on line 5
    • > PHP Warning
      Use of undefined constant AUTOMIZELY_DROPSHIPPING_PATH - assumed 'AUTOMIZELY_DROPSHIPPING_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/automizely-dropshipping/includes/api/dropshipping/v1/class-am-dp-rest-settings-controller.php on line 5
    • > PHP Warning
      include(AUTOMIZELY_DROPSHIPPING_PATH/includes/class-am-rest-controller.php): failed to open stream: No such file or directory in wp-content/plugins/automizely-dropshipping/includes/api/dropshipping/v1/class-am-dp-rest-settings-controller.php on line 5

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 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
  • Tags: Please delete some tags, you are using 11 tag instead of maximum 10
Please take inspiration from this readme.txt

automizely-dropshipping/automizely-dropshipping.php 85% from 13 tests

The primary PHP file in "Automizely - Free AliExpress Dropshipping Plugin. Drop Ship Fast 3-10 days to the US" version 1.0.9 is used by WordPress to initiate all plugin functionality
The following require your attention:
  • Plugin Name: Please don't use more than 70 characters for the plugin name (currently 84 characters long)
  • Description: Keep the plugin description shorter than 140 characters (currently 151 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected656 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
PHP474142324
CSS276131230
SVG500102

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.38
Average class complexity13.33
▷ Minimum class complexity4.00
▷ Maximum class complexity25.00
Average method complexity2.61
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods23
▷ Static methods00.00%
▷ Public methods1982.61%
▷ Protected methods00.00%
▷ Private methods417.39%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
11 PNG files occupy 2.24MB with 1.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/screenshot-2.png218.41KB51.29KB▼ 76.52%
assets/banner-772x250.png125.41KB40.42KB▼ 67.77%
assets/images/bg.png81.38KB83.64KB0.00%
assets/screenshot-5.png381.50KB104.47KB▼ 72.62%
assets/icon-128x128.png2.88KB1.43KB▼ 50.49%