Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▲0.30ms] Passed 4 tests
An overview of server-side resources used by AliExpress Dropshipping with AliNext Lite
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.98 ▼5.31 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.55 ▲1.19 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.28 ▲2.25 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.78 ▲4.11 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.73 ▲3.08 |
Server storage [IO: ▲21.25MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 538 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by AliExpress Dropshipping with AliNext Lite
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲3 | 14.21 ▼0.12 | 1.78 ▼0.27 | 39.66 ▼3.79 |
Dashboard /wp-admin | 2,198 ▲27 | 5.59 ▼0.05 | 82.96 ▼20.33 | 35.89 ▼8.60 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.02 ▲0.01 | 36.86 ▼3.66 | 35.67 ▼3.04 |
Add New Post /wp-admin/post-new.php | 1,526 ▼4 | 23.65 ▲0.55 | 646.98 ▼17.71 | 53.05 ▲3.66 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.16 ▼0.03 | 99.94 ▲0.91 | 44.77 ▲2.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Please fix the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ali2woo-lite/view/emails/email-footer.php
- > /wp-content/plugins/ali2woo-lite/view/settings/settings_footer.php
- 188× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'AliNext_Lite\\Lib\\Requests_Exception_HTTP' not found in wp-content/plugins/ali2woo-lite/includes/libs/Requests/Requests/Exception/HTTP/406.php:14
- > PHP Fatal error
Uncaught Error: Class 'AliNext_Lite\\Lib\\Requests_Exception' not found in wp-content/plugins/ali2woo-lite/includes/libs/Requests/Requests/Exception/HTTP.php:14
- > PHP Fatal error
Uncaught Error: Class 'AliNext_Lite\\AbstractAdminPage' not found in wp-content/plugins/ali2woo-lite/includes/classes/controller/AddonsController.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Invoker\\ParameterResolver\\ParameterResolver' not found in wp-content/plugins/ali2woo-lite/vendor/php-di/invoker/src/ParameterResolver/Container/TypeHintContainerResolver.php:13
- > PHP Parse error
syntax error, unexpected 'private' (T_PRIVATE), expecting variable (T_VARIABLE) in wp-content/plugins/ali2woo-lite/vendor/php-di/php-di/src/Definition/Resolver/ResolverDispatcher.php on line 37
- > PHP Fatal error
Uncaught Error: Class 'AliNext_Lite\\Lib\\Requests_Exception_HTTP' not found in wp-content/plugins/ali2woo-lite/includes/libs/Requests/Requests/Exception/HTTP/404.php:14
- > PHP Fatal error
Uncaught Error: Class 'AliNext_Lite\\Lib\\Requests_Exception_HTTP' not found in wp-content/plugins/ali2woo-lite/includes/libs/Requests/Requests/Exception/HTTP/401.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/ali2woo-lite/view/product_data_tab.php:19
- > PHP Fatal error
Uncaught Error: Interface 'Laravel\\SerializableClosure\\Contracts\\Serializable' not found in wp-content/plugins/ali2woo-lite/vendor/laravel/serializable-closure/src/Serializers/Signed.php:9
- > PHP Parse error
syntax error, unexpected 'private' (T_PRIVATE), expecting variable (T_VARIABLE) in wp-content/plugins/ali2woo-lite/vendor/php-di/php-di/src/Attribute/Injectable.php on line 26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
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
These attributes need your attention:
- Screenshots: Please describe screenshot #7 in ali2woo-lite/assets to your readme.txt
ali2woo-lite/alinext-lite.php 85% from 13 tests
The principal PHP file in "AliExpress Dropshipping with AliNext Lite" v. 3.1.4 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("ali2woo-lite.php" instead of "alinext-lite.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin122,797 lines of code in 463 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 81 | 16,929 | 27,399 | 69,700 |
PHP | 326 | 7,336 | 9,368 | 33,806 |
CSS | 21 | 1,351 | 156 | 14,310 |
PO File | 1 | 629 | 725 | 1,972 |
JSON | 11 | 0 | 0 | 1,302 |
Markdown | 11 | 423 | 0 | 946 |
SVG | 9 | 62 | 12 | 706 |
XML | 3 | 2 | 1 | 55 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Method cyclomatic complexity should be reduced to less than 100 (currently 237)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 21.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 676.00 |
Average method complexity | 4.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 237.00 |
Code structure | ||
---|---|---|
Namespaces | 31 | |
Interfaces | 21 | |
Traits | 0 | |
Classes | 252 | |
▷ Abstract classes | 7 | 2.78% |
▷ Concrete classes | 245 | 97.22% |
▷ Final classes | 2 | 0.82% |
Methods | 1,487 | |
▷ Static methods | 215 | 14.46% |
▷ Public methods | 1,216 | 81.78% |
▷ Protected methods | 103 | 6.93% |
▷ Private methods | 168 | 11.30% |
Functions | 79 | |
▷ Named functions | 40 | 50.63% |
▷ Anonymous functions | 39 | 49.37% |
Constants | 61 | |
▷ Global constants | 17 | 27.87% |
▷ Class constants | 44 | 72.13% |
▷ Public constants | 41 | 93.18% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
39 PNG files occupy 1.03MB with 0.46MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/logo_chrome.png | 1.98KB | 1.34KB | ▼ 32.55% |
assets/img/icons/pipette.png | 0.88KB | 0.64KB | ▼ 27.81% |
assets/img/stickers/stick-002.png | 76.81KB | 20.31KB | ▼ 73.55% |
assets/img/logo-xs.png | 0.30KB | 0.24KB | ▼ 19.35% |
assets/img/stickers/stick-003.png | 68.36KB | 21.68KB | ▼ 68.29% |