Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.28ms] Passed 4 tests
A check of server-side resources used by Dropship Express
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.76 ▼2.02 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.72 ▼7.67 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 42.40 ▼5.97 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.33 ▼5.44 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.79 ▼0.87 |
Server storage [IO: ▲12.93MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 1,800 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Dropship Express
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.60 ▼0.63 | 1.92 ▲0.36 | 43.82 ▲3.85 |
Dashboard /wp-admin | 2,203 ▲12 | 5.83 ▲0.94 | 95.82 ▼8.94 | 38.34 ▼7.44 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.06 ▲0.00 | 37.10 ▼5.35 | 36.18 ▼1.76 |
Add New Post /wp-admin/post-new.php | 1,514 ▼8 | 23.49 ▲0.49 | 640.18 ▲19.22 | 55.80 ▼0.82 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.20 ▲0.03 | 94.88 ▼1.09 | 41.42 ▼2.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% 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 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please take a closer look at the following
- 33× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'DSE_Import' not found in wp-content/plugins/automated-dropshipping-for-woocommerce/templates/admin/import-rules/aliexpress.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/automated-dropshipping-for-woocommerce/templates/admin/tabs-content/vip.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/automated-dropshipping-for-woocommerce/templates/admin/tabs-content/lowes.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/automated-dropshipping-for-woocommerce/templates/admin/tabs-content/aliexpress.php:17
- > PHP Warning
include(TopSdk.php): failed to open stream: No such file or directory in wp-content/plugins/automated-dropshipping-for-woocommerce/assets/vendors/sdk/aliexpress/top/test.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/automated-dropshipping-for-woocommerce/templates/admin/tabs-content/amazon.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/automated-dropshipping-for-woocommerce/templates/admin/import-rules/ebay.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/automated-dropshipping-for-woocommerce/templates/admin/import-rules/homedepot.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/automated-dropshipping-for-woocommerce/templates/admin/tabs-content/ebay.php:9
- > PHP Warning
include(): Failed opening 'TopSdk.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/automated-dropshipping-for-woocommerce/assets/vendors/sdk/aliexpress/top/fileTest.php on line 2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: You are using too many tags: 17 tag instead of maximum 10
automated-dropshipping-for-woocommerce/index.php 69% from 13 tests
The entry point to "Dropship Express" version 1.1.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Requires PHP: Required version must be the same as the one declared in readme.txt ("7.0" instead of "7.2")
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.7" instead of "3.0.0")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("automated-dropshipping-for-woocommerce.php" instead of "index.php")
Code Analysis Passed 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 plugin67,326 lines of code in 1,741 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1,522 | 2 | 27 | 17,503 |
PHP | 113 | 2,979 | 5,194 | 13,928 |
CSS | 23 | 4,292 | 117 | 12,498 |
JavaScript | 24 | 896 | 382 | 8,541 |
PO File | 17 | 1,449 | 1,993 | 4,842 |
Sass | 18 | 505 | 34 | 4,584 |
LESS | 18 | 502 | 55 | 4,543 |
Markdown | 5 | 206 | 0 | 832 |
JSON | 1 | 0 | 0 | 55 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 21.49 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 238.00 |
Average method complexity | 3.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 83.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 71 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 71 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 622 | |
▷ Static methods | 146 | 23.47% |
▷ Public methods | 547 | 87.94% |
▷ Protected methods | 34 | 5.47% |
▷ Private methods | 41 | 6.59% |
Functions | 6 | |
▷ Named functions | 4 | 66.67% |
▷ Anonymous functions | 2 | 33.33% |
Constants | 19 | |
▷ Global constants | 15 | 78.95% |
▷ Class constants | 4 | 21.05% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin