Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.28MB] [CPU: ▼0.54ms] Passed 4 tests
An overview of server-side resources used by ALD - Dropshipping and Fulfillment for AliExpress and WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 40.82 ▲0.83 |
Dashboard /wp-admin | 3.58 ▲0.27 | 47.27 ▲1.15 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 52.87 ▲6.16 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 93.59 ▼10.30 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 40.70 ▲8.09 |
Server storage [IO: ▲22.86MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 159 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_vi_wad_ali_orders_info |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
wooaliexpressdropship_params |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ALD - Dropshipping and Fulfillment for AliExpress and WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲63 | 13.66 ▼0.95 | 4.61 ▲2.83 | 40.25 ▲2.37 |
Dashboard /wp-admin | 2,212 ▲27 | 5.80 ▼0.11 | 97.80 ▼5.59 | 42.72 ▼2.99 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.04 ▲0.03 | 39.58 ▲1.03 | 34.88 ▼1.62 |
Add New Post /wp-admin/post-new.php | 1,523 ▼10 | 17.34 ▼5.85 | 653.12 ▲0.25 | 52.29 ▼1.94 |
Media Library /wp-admin/upload.php | 1,397 ▲6 | 4.34 ▲0.09 | 99.63 ▲0.48 | 42.42 ▼0.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_vi_wad_ali_orders_info
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- wooaliexpressdropship_params
- widget_theysaidso_widget
- widget_recent-comments
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
woo-alidropship/woo-alidropship.php Passed 13 tests
"ALD - Dropshipping and Fulfillment for AliExpress and WooCommerce" version 2.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
126 characters long description:
Transfer data from AliExpress products to WooCommerce effortlessly and fulfill WooCommerce orders to AliExpress automatically.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin34,952 lines of code in 132 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 37 | 1,646 | 1,697 | 18,851 |
JavaScript | 20 | 1,508 | 496 | 10,425 |
CSS | 31 | 495 | 240 | 2,372 |
PO File | 1 | 534 | 818 | 1,707 |
SVG | 2 | 1 | 7 | 1,556 |
JSON | 41 | 0 | 0 | 41 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
It is recommended to fix the following
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 344)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 96.59 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 837.00 |
Average method complexity | 7.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 344.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 34 | |
▷ Abstract classes | 2 | 5.88% |
▷ Concrete classes | 32 | 94.12% |
▷ Final classes | 1 | 3.12% |
Methods | 469 | |
▷ Static methods | 169 | 36.03% |
▷ Public methods | 401 | 85.50% |
▷ Protected methods | 36 | 7.68% |
▷ Private methods | 32 | 6.82% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 26 | |
▷ Global constants | 26 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.06MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/price-format-rules.png | 44.02KB | 17.88KB | ▼ 59.38% |
assets/images/icon-256x256.png | 4.28KB | 1.41KB | ▼ 67.02% |
assets/images/icon.png | 15.64KB | 0.67KB | ▼ 95.72% |