Benchmarks
Plugin footprint Passed 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.33MB] [CPU: ▼302.33ms] Passed 4 tests
This is a short check of server-side resources used by Dropify
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.90 ▲0.38 | 56.72 ▲5.79 |
Dashboard /wp-admin | 3.73 ▲0.32 | 33.97 ▲0.94 |
Posts /wp-admin/edit.php | 3.96 ▲0.31 | 39.32 ▲2.08 |
Add New Post /wp-admin/post-new.php | 7.26 ▲0.29 | 93.21 ▼1,213.09 |
Media Library /wp-admin/upload.php | 3.67 ▲0.37 | 26.66 ▲0.77 |
Server storage [IO: ▲0.59MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 30 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Dropify
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,812 ▲58 | 15.89 ▲0.19 | 5.71 ▼0.82 | 2.45 ▼0.14 |
Dashboard /wp-admin | 2,908 ▲50 | 6.17 ▲0.04 | 114.60 ▼17.96 | 183.96 ▲22.40 |
Posts /wp-admin/edit.php | 2,705 ▲12 | 3.25 ▼0.11 | 63.81 ▼0.31 | 137.81 ▼2.35 |
Add New Post /wp-admin/post-new.php | 1,770 ▲18 | 21.32 ▼0.01 | 427.94 ▼30.88 | 185.28 ▲29.91 |
Media Library /wp-admin/upload.php | 1,712 ▲14 | 5.55 ▲0.01 | 130.00 ▼8.07 | 210.25 ▲15.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests Passed 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)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: dropshipping, woocommerce, dropi
wc-dropi-integration/wc-dropi-integration.php Passed 13 tests
"Dropify" version 3.17's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
76 characters long description:
This plugin allow users to show and import products from dropi on woocomerce
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 detected13,659 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 4 | 27 | 9,405 |
PHP | 15 | 593 | 355 | 3,806 |
JavaScript | 4 | 153 | 78 | 448 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 22.20 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 93 | |
▷ Static methods | 14 | 15.05% |
▷ Public methods | 82 | 88.17% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 11.83% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 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
7 PNG files occupy 0.12MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 59.04KB | 19.43KB | ▼ 67.09% |
assets/icon-128x128.png | 6.94KB | 3.53KB | ▼ 49.20% |
assets/banner-772x250.png | 22.60KB | 9.11KB | ▼ 59.68% |
img/icon.png | 0.47KB | 0.74KB | 0.00% |
assets/icon-256x256.png | 14.51KB | 6.43KB | ▼ 55.69% |