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
Installer ran successfully
Server metrics [RAM: ▼0.34MB] [CPU: ▼17.42ms] Passed 4 tests
An overview of server-side resources used by Sharkdropship for AliExpress Dropship and Affiliate
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.32 | 40.38 ▼3.86 |
Dashboard /wp-admin | 3.69 ▲0.38 | 45.45 ▼1.41 |
Posts /wp-admin/edit.php | 3.74 ▲0.38 | 48.44 ▼2.65 |
Add New Post /wp-admin/post-new.php | 3.51 ▼2.39 | 36.36 ▼61.75 |
Media Library /wp-admin/upload.php | 3.55 ▲0.32 | 35.22 ▲0.58 |
Server storage [IO: ▲3.60MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 36 new files
Database: no new tables, 8 new options
New WordPress options |
---|
WoosharkAliexpressImporter_Plugin__version |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
WoosharkAliexpressImporter_Plugin__installed |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Sharkdropship for AliExpress Dropship and Affiliate
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 14.47 ▼0.21 | 1.85 ▲0.02 | 40.51 ▼4.28 |
Dashboard /wp-admin | 2,224 ▲36 | 4.96 ▲0.13 | 110.76 ▲2.23 | 80.07 ▲37.52 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.01 ▲0.00 | 38.91 ▼0.79 | 33.72 ▼0.92 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 23.31 ▲0.16 | 768.73 ▲80.91 | 62.58 ▲9.61 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.25 ▼0.05 | 99.48 ▼13.92 | 68.97 ▲20.96 |
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
- Zombie WordPress options detected upon uninstall: 8 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- WoosharkAliexpressImporter_Plugin__installed
- widget_recent-comments
- WoosharkAliexpressImporter_Plugin__version
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however 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 take a closer look at the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wooshark-aliexpress-importer/wooshark-aliexpress-importer.php:85
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wooshark-aliexpress-importer/wooshark-aliexpress-importer_init.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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
Attributes that require attention:
- Screenshots: Add descriptions for screenshots #1, #1, #2, #2, #3, #3, #4, #4, #5, #6, #6, #7, #8 in wooshark-aliexpress-importer/assets to your readme.txt
- Donate link: Please fix this invalid url: ""
wooshark-aliexpress-importer/wooshark-aliexpress-importer.php Passed 13 tests
The primary PHP file in "Sharkdropship for AliExpress Dropship and Affiliate" version 2.2.3 is used by WordPress to initiate all plugin functionality
52 characters long description:
Wooshark dropshipping for aliexpress and woocommerce
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
No dangerous file extensions were detected25,051 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 1,868 | 143 | 16,487 |
JavaScript | 7 | 877 | 620 | 6,666 |
PHP | 8 | 617 | 622 | 1,898 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 1.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 2 | 33.33% |
▷ Concrete classes | 4 | 66.67% |
▷ Final classes | 0 | 0.00% |
Methods | 68 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 43 | 63.24% |
▷ Protected methods | 25 | 36.76% |
▷ Private methods | 0 | 0.00% |
Functions | 30 | |
▷ Named functions | 29 | 96.67% |
▷ Anonymous functions | 1 | 3.33% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 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
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/wooshark_1_27x27.png | 0.78KB | 0.63KB | ▼ 19.65% |
images/wooshark_27x27.png | 0.78KB | 0.63KB | ▼ 20.07% |
images/wooshark.png | 5.78KB | 5.78KB | 0.00% |
images/chrome-extension-logo.png | 1.98KB | 1.34KB | ▼ 32.55% |