Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼10.47ms] Passed 4 tests
An overview of server-side resources used by Antdiy Dropshipping Solution: Find products on AliExpress for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.94 ▼3.78 |
Dashboard /wp-admin | 3.33 ▼0.02 | 46.19 ▼15.38 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 43.97 ▼2.63 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 79.59 ▼20.09 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 40.85 ▲8.72 |
Server storage [IO: ▲0.90MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Antdiy Dropshipping Solution: Find products on AliExpress for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,862 ▲116 | 14.74 ▲0.49 | 2.15 ▲0.15 | 45.43 ▲0.89 |
Dashboard /wp-admin | 2,243 ▲55 | 5.84 ▲0.95 | 100.17 ▼16.25 | 83.25 ▲40.24 |
Posts /wp-admin/edit.php | 2,129 ▲40 | 1.99 ▼0.03 | 34.71 ▼1.70 | 34.66 ▼0.10 |
Add New Post /wp-admin/post-new.php | 1,704 ▲190 | 22.34 ▲4.84 | 764.43 ▲16.10 | 56.93 ▼2.94 |
Media Library /wp-admin/upload.php | 1,428 ▲43 | 4.23 ▼0.14 | 102.50 ▼4.18 | 78.46 ▲35.97 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/antdiy/antdiy-aliexpress-dropshipping.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
antdiy/antdiy-aliexpress-dropshipping.php 69% from 13 tests
"Antdiy Dropshipping Solution: Find products on AliExpress for WooCommerce" version 2.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Plugin Name: It is recommended to keep the plugin name shorter than 70 characters (currently 73 characters long)
- Description: Please keep the plugin description shorter than 140 characters (currently 141 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("antdiy.php" instead of "antdiy-aliexpress-dropshipping.php")
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected216 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 9 | 0 | 167 |
PHP | 1 | 0 | 10 | 36 |
SVG | 1 | 0 | 0 | 13 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.04 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
5 PNG files occupy 0.88MB with 0.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 65.11KB | 22.25KB | ▼ 65.82% |
assets/icon-256x256.png | 9.28KB | 4.65KB | ▼ 49.88% |
assets/screenshot-3.png | 251.84KB | 271.19KB | 0.00% |
assets/screenshot-2.png | 276.80KB | 290.76KB | 0.00% |
assets/screenshot-1.png | 299.28KB | 315.36KB | 0.00% |