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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.49MB] [CPU: ▼0.92ms] Passed 4 tests
An overview of server-side resources used by Automate Dropshipping for B2BDropshipper(WWTech)
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.93 ▲0.47 | 48.14 ▲4.73 |
Dashboard /wp-admin | 3.86 ▲0.51 | 54.95 ▼8.52 |
Posts /wp-admin/edit.php | 3.91 ▲0.55 | 57.30 ▲7.30 |
Add New Post /wp-admin/post-new.php | 6.37 ▲0.49 | 101.04 ▼4.59 |
Media Library /wp-admin/upload.php | 3.72 ▲0.49 | 41.57 ▲4.68 |
Help /wp-admin/admin.php?page=klock-help | 3.71 | 49.95 |
General Settings /wp-admin/admin.php?page=klock-general | 3.68 | 37.45 |
Payment /wp-admin/admin.php?page=payment-setting | 3.66 | 39.14 |
API Settings /wp-admin/admin.php?page=klockjatten-menu | 3.68 | 39.14 |
Brand Names /wp-admin/admin.php?page=brand-name-menu | 3.69 | 39.93 |
Server storage [IO: ▲2.20MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Automate Dropshipping for B2BDropshipper(WWTech)
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,861 ▲100 | 14.79 ▲0.36 | 1.84 ▲0.02 | 44.40 ▲4.51 |
Dashboard /wp-admin | 2,264 ▲67 | 5.80 ▼0.05 | 98.19 ▼21.50 | 40.22 ▼8.58 |
Posts /wp-admin/edit.php | 2,149 ▲52 | 2.02 ▲0.02 | 40.44 ▲4.34 | 37.60 ▲2.04 |
Add New Post /wp-admin/post-new.php | 1,574 ▲43 | 18.55 ▼4.96 | 601.33 ▼65.50 | 50.82 ▼11.86 |
Media Library /wp-admin/upload.php | 1,446 ▲43 | 4.31 ▲0.13 | 101.57 ▲2.84 | 43.45 ▼3.09 |
Help /wp-admin/admin.php?page=klock-help | 1,238 | 1.71 | 26.20 | 37.78 |
General Settings /wp-admin/admin.php?page=klock-general | 1,089 | 1.83 | 26.48 | 54.36 |
Payment /wp-admin/admin.php?page=payment-setting | 710 | 1.53 | 6.57 | 23.62 |
API Settings /wp-admin/admin.php?page=klockjatten-menu | 1,078 | 2.02 | 24.21 | 42.13 |
Brand Names /wp-admin/admin.php?page=brand-name-menu | 829 | 1.89 | 29.89 | 27.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin cannot be uninstalled
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'klock_uninstall' not found or invalid function name
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
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 no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Use of undefined constant KLOCK_VERSION - assumed 'KLOCK_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/automate-dropshipping-for-b2bdropshipperwwtech/automate-help.php on line 29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/automate-dropshipping-for-b2bdropshipperwwtech/settings.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/automate-dropshipping-for-b2bdropshipperwwtech/brand-name.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/automate-dropshipping-for-b2bdropshipperwwtech/general-settings.php:173
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/automate-dropshipping-for-b2bdropshipperwwtech/payment-page.php:168
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/automate-dropshipping-for-b2bdropshipperwwtech/automate-help.php:47
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/automate-dropshipping-for-b2bdropshipperwwtech/automate-functions.php:6
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=brand-name-menu
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=brand-name-menu 0:0 Uncaught SyntaxError: Unexpected end of JSON input
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% 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
Please fix the following attributes:
- Tags: There are too many tags (11 tag instead of maximum 10)
- Screenshots: No descriptions were found for these screenshots #2, #3, #4, #5, #6 in automate-dropshipping-for-b2bdropshipperwwtech/assets to your readme.txt
automate-dropshipping-for-b2bdropshipperwwtech/automate-dropshipping.php 77% from 13 tests
The main file in "Automate Dropshipping for B2BDropshipper(WWTech)" v. 3.0.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 146 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("automate-dropshipping-for-b2bdropshipperwwtech.php" instead of "automate-dropshipping.php")
- 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin6,451 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 461 | 74 | 3,120 |
SVG | 1 | 0 | 0 | 2,671 |
CSS | 3 | 16 | 22 | 658 |
JavaScript | 2 | 0 | 1 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 19.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 4.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 1 | 1.92% |
▷ Public methods | 50 | 96.15% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.85% |
Functions | 29 | |
▷ Named functions | 29 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.33MB with 0.22MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/screenshot-2.png | 337.55KB | 114.79KB | ▼ 65.99% |