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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 36.28 ▼4.93 |
Dashboard /wp-admin | 3.38 ▲0.07 | 43.99 ▼5.84 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.27 ▲1.36 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 89.22 ▼17.53 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 31.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,862 ▲91 | 14.45 ▲0.10 | 1.95 ▼0.13 | 39.03 ▼3.90 |
Dashboard /wp-admin | 2,243 ▲58 | 4.89 ▼0.92 | 110.90 ▲0.26 | 68.83 ▲25.61 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.00 ▼0.02 | 39.79 ▲1.80 | 36.48 ▲1.47 |
Add New Post /wp-admin/post-new.php | 1,554 ▲40 | 23.13 ▲5.31 | 658.84 ▼27.57 | 61.69 ▲8.19 |
Media Library /wp-admin/upload.php | 1,425 ▲37 | 4.22 ▼0.04 | 100.30 ▲5.48 | 68.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
- > PHP Fatal error
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
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 74 | 142 | 324 |
CSS | 2 | 76 | 131 | 230 |
SVG | 5 | 0 | 0 | 102 |
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 code | 0.38 |
Average class complexity | 13.33 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 82.61% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 17.39% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 218.41KB | 51.29KB | ▼ 76.52% |
assets/banner-772x250.png | 125.41KB | 40.42KB | ▼ 67.77% |
assets/images/bg.png | 81.38KB | 83.64KB | 0.00% |
assets/screenshot-5.png | 381.50KB | 104.47KB | ▼ 72.62% |
assets/icon-128x128.png | 2.88KB | 1.43KB | ▼ 50.49% |