Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.51ms] Passed 4 tests
An overview of server-side resources used by ProChains - Best Dropship and Affiliate Tools for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.82 ▼6.09 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.98 ▼10.52 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.89 ▲1.67 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 94.04 ▼11.11 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.32 ▲3.62 |
ProChains /wp-admin/admin.php?page=pch-welcome | 3.00 | 23.01 |
Fetching Bulk Products /wp-admin/admin.php?page=pch-crawler | 3.00 | 22.61 |
Server storage [IO: ▲0.62MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
ProChains - Best Dropship and Affiliate Tools for WooCommerce: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.32 ▼0.04 | 1.64 ▼0.30 | 41.65 ▼2.91 |
Dashboard /wp-admin | 2,195 ▲14 | 5.61 ▼0.10 | 79.07 ▼27.02 | 38.61 ▼3.38 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.02 ▲0.03 | 34.42 ▼5.31 | 34.68 ▼3.26 |
Add New Post /wp-admin/post-new.php | 1,541 ▲6 | 18.34 ▲0.20 | 642.95 ▲26.27 | 53.56 ▼16.39 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.32 ▲0.13 | 103.41 ▲0.89 | 43.68 ▼0.46 |
ProChains /wp-admin/admin.php?page=pch-welcome | 28 | 0.42 | 0.06 | 3.97 |
Fetching Bulk Products /wp-admin/admin.php?page=pch-crawler | 28 | 0.42 | 0.07 | 3.72 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
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
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/prochains/prochains.php:32
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=pch-welcome
- > Network (severe)
wp-admin/admin.php?page=pch-welcome - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=pch-crawler
- > Network (severe)
wp-admin/admin.php?page=pch-crawler - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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 need to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
prochains/prochains.php Passed 13 tests
This is the main PHP file of "ProChains - Best Dropship and Affiliate Tools for WooCommerce" version 2.6.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
79 characters long description:
An easy way to connect products from multiple marketplaces to your 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 detected2,386 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 367 | 184 | 1,689 |
JavaScript | 2 | 186 | 210 | 624 |
CSS | 1 | 21 | 1 | 73 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 6.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 3.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 5 | 55.56% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 36 | |
▷ Named functions | 36 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.45MB with 0.30MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/banner-prochains.png | 457.71KB | 148.11KB | ▼ 67.64% |