Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.86MB] [CPU: ▼51.40ms] Passed 4 tests
This is a short check of server-side resources used by Auto Aliexpress Dropshipping
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.13 ▼1.33 | 4.59 ▼33.85 |
Dashboard /wp-admin | 2.15 ▼1.15 | 5.20 ▼42.73 |
Posts /wp-admin/edit.php | 2.15 ▼1.20 | 6.34 ▼38.18 |
Add New Post /wp-admin/post-new.php | 2.15 ▼3.73 | 5.34 ▼90.83 |
Media Library /wp-admin/upload.php | 2.15 ▼1.08 | 4.88 ▼27.96 |
Welcome /wp-admin/admin.php?page=auto-aliexpress-welcome | 2.15 | 5.77 |
Campaigns /wp-admin/admin.php?page=auto-aliexpress-campaign | 2.15 | 6.42 |
Dashboard /wp-admin/admin.php?page=auto-aliexpress | 2.15 | 5.23 |
New Campaigns /wp-admin/admin.php?page=auto-aliexpress-campaign-wizard | 2.15 | 6.48 |
Server storage [IO: ▲1.67MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 150 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_auto_aliexpress_logs |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
auto_aliexpress_version_pro |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Auto Aliexpress Dropshipping
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.17 ▼0.38 | 1.79 ▲0.26 | 46.83 ▲8.90 |
Dashboard /wp-admin | 2,229 ▲51 | 5.57 ▼0.09 | 84.70 ▼10.63 | 36.07 ▼11.99 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.02 ▲0.04 | 39.98 ▲2.12 | 34.68 ▲3.50 |
Add New Post /wp-admin/post-new.php | 1,553 ▲16 | 23.35 ▲5.31 | 665.65 ▲66.55 | 62.64 ▼8.14 |
Media Library /wp-admin/upload.php | 1,428 ▲34 | 4.22 ▲0.03 | 93.68 ▼9.00 | 42.10 ▼3.02 |
Welcome /wp-admin/admin.php?page=auto-aliexpress-welcome | 1,547 | 2.03 | 29.61 | 105.72 |
Campaigns /wp-admin/admin.php?page=auto-aliexpress-campaign | 1,412 | 5.10 | 63.35 | 51.19 |
Dashboard /wp-admin/admin.php?page=auto-aliexpress | 1,491 | 5.05 | 58.28 | 86.09 |
New Campaigns /wp-admin/admin.php?page=auto-aliexpress-campaign-wizard | 2,374 | 5.65 | 69.55 | 97.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/class-requests.php+24
The PSR-0 `Requests_...` class names in the Requests library are deprecated. Switch to the PSR-4 `WpOrg\Requests\...` class names at your earliest convenience.
- The uninstall procedure failed, leaving 1 table in the database
- wp_auto_aliexpress_logs
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- auto_aliexpress_version_pro
- widget_recent-posts
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=auto-aliexpress-campaign-wizard
- > User deprecated in wp-includes/class-requests.php+24
The PSR-0 `Requests_...` class names in the Requests library are deprecated. Switch to the PSR-4 `WpOrg\Requests\...` class names at your earliest convenience.
- > GET request to /wp-admin/admin.php?page=auto-aliexpress-campaign-wizard
- > Notice in wp-content/plugins/auto-aliexpress-dropshipping/admin/views/campaigns/wizard/sections/tab-category.php+72
Undefined index: aliexpress-post-category
- > GET request to /wp-admin/admin.php?page=auto-aliexpress-campaign-wizard
- > Warning in wp-content/plugins/auto-aliexpress-dropshipping/includes/helpers/helper-forms.php+135
in_array() expects parameter 2 to be array, null given
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 73× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Requests_Auth' not found in wp-content/plugins/auto-aliexpress-dropshipping/includes/library/Requests/Requests/Auth/Basic.php:18
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/auto-aliexpress-dropshipping/admin/views/campaigns/list/content.php:3
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/auto-aliexpress-dropshipping/includes/library/Requests/Requests/Exception/HTTP/411.php:13
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/auto-aliexpress-dropshipping/includes/library/Requests/Requests/Exception/HTTP/Unknown.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_types() in wp-content/plugins/auto-aliexpress-dropshipping/admin/views/campaigns/wizard/sections/tab-category.php:2
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/auto-aliexpress-dropshipping/includes/library/Requests/Requests/Exception/HTTP/405.php:13
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/auto-aliexpress-dropshipping/includes/library/Requests/Requests/Exception/HTTP/409.php:13
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/auto-aliexpress-dropshipping/includes/library/Requests/Requests/Exception/HTTP/501.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function auto_aliexpress_get_addon_data() in wp-content/plugins/auto-aliexpress-dropshipping/admin/views/integrations/popups/facebook.php:2
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/auto-aliexpress-dropshipping/includes/library/Requests/Requests/Exception/HTTP/431.php:15
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=auto-aliexpress-campaign-wizard
- > Console-api (warning) in unknown
https://unpkg.com/ionicons@5.0.0/dist/ionicons.js?ver=1.0.1 26:10 "[ionicons] Deprecated script, please remove: \u003Cscript src=\"https://unpkg.com/ionicons@5.0.0/dist/ionicons.js?ver=1.0.1\" id=\"ionicons-js\">\u003C/script>\nTo improve performance it is recommended to set the differential scripts in the head as follows:\n\u003Cscript type=\"module\" src=\"https://unpkg.com/ionicons@5.0.0/dist/ionicons/ionicons.esm.js\">\u003C/script>\n\u003Cscript nomodule=\"\" src=\"https://unpkg.com/ionicons@5.0.0/dist/ionicons/ionicons.js\">\u003C/script>"
- > GET request to /wp-admin/admin.php?page=auto-aliexpress-welcome
- > Rendering (severe) in unknown
/wp-admin/admin.php?page=auto-aliexpress-welcome 390 Error: attribute height: Expected length, "16\u003E".
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=auto-aliexpress
- > Network (severe)
https://fonts.googleapis.com/css?family=Aliexpresso+Condensed%3A300%2C300i%2C400%2C400i%2C700%2C700i%7CAliexpresso%3A300%2C300i%2C400%2C400i%2C500%2C500i%2C700%2C700i&ver=1.0.0 - Failed to load resource: the server responded with a status of 400 ()
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
auto-aliexpress-dropshipping/auto-aliexpress-dropshipping.php Passed 13 tests
This is the main PHP file of "Auto Aliexpress Dropshipping" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
44 characters long description:
Auto Aliexpress dropshipping for Woocommerce
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin13,459 lines of code in 134 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 122 | 2,377 | 5,241 | 9,471 |
CSS | 4 | 365 | 37 | 3,030 |
JavaScript | 8 | 340 | 320 | 958 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 16.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 249.00 |
Average method complexity | 4.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 82 | |
▷ Abstract classes | 5 | 6.10% |
▷ Concrete classes | 77 | 93.90% |
▷ Final classes | 0 | 0.00% |
Methods | 463 | |
▷ Static methods | 67 | 14.47% |
▷ Public methods | 389 | 84.02% |
▷ Protected methods | 59 | 12.74% |
▷ Private methods | 15 | 3.24% |
Functions | 34 | |
▷ Named functions | 34 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 54 | |
▷ Global constants | 26 | 48.15% |
▷ Class constants | 28 | 51.85% |
▷ Public constants | 28 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
13 PNG files occupy 0.66MB with 0.35MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/flickr.png | 23.07KB | 12.12KB | ▼ 47.45% |
assets/images/auto-robot-new-campaign.png | 166.04KB | 46.46KB | ▼ 72.02% |
assets/images/facebook.png | 14.41KB | 6.87KB | ▼ 52.33% |
assets/images/aliexpress.png | 14.46KB | 8.97KB | ▼ 37.97% |
assets/images/vimeo.png | 27.81KB | 12.03KB | ▼ 56.74% |