Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.58MB] [CPU: ▲0.53ms] Passed 4 tests
An overview of server-side resources used by Dropify
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.04 ▲0.58 | 44.24 ▲3.76 |
Dashboard /wp-admin | 3.88 ▲0.58 | 57.84 ▲4.02 |
Posts /wp-admin/edit.php | 3.94 ▲0.58 | 51.29 ▼0.83 |
Add New Post /wp-admin/post-new.php | 6.47 ▲0.58 | 101.56 ▼4.45 |
Media Library /wp-admin/upload.php | 3.81 ▲0.58 | 41.46 ▲3.65 |
Server storage [IO: ▲0.77MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 47 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_dropi_tokens |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Dropify
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲92 | 14.68 ▲0.13 | 1.64 ▼0.13 | 41.19 ▲0.23 |
Dashboard /wp-admin | 2,225 ▲48 | 5.58 ▲0.02 | 95.14 ▲7.59 | 41.25 ▼3.30 |
Posts /wp-admin/edit.php | 2,106 ▲3 | 2.00 ▲0.03 | 35.32 ▼7.09 | 37.51 ▼0.51 |
Add New Post /wp-admin/post-new.php | 1,455 ▼71 | 22.17 ▼0.95 | 508.59 ▼180.19 | 146.80 ▲88.07 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.19 ▼0.10 | 97.38 ▼21.66 | 38.84 ▼8.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_dropi_tokens
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: dropi, woocommerce, dropshipping
wc-dropi-integration/wc-dropi-integration.php Passed 13 tests
The main file in "Dropify" v. 4.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
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 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected17,447 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 4 | 27 | 9,405 |
PHP | 29 | 977 | 492 | 7,545 |
JavaScript | 5 | 152 | 53 | 494 |
Markdown | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
This is a very shot 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.31 |
Average class complexity | 21.94 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 102.00 |
Average method complexity | 3.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 158 | |
▷ Static methods | 20 | 12.66% |
▷ Public methods | 142 | 89.87% |
▷ Protected methods | 4 | 2.53% |
▷ Private methods | 12 | 7.59% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
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 |
img/icon.png | 0.47KB | 0.74KB | 0.00% |
assets/screenshot-1.png | 16.65KB | 6.44KB | ▼ 61.36% |
assets/screenshot-2.png | 59.04KB | 19.43KB | ▼ 67.09% |
assets/banner-772x250.png | 22.60KB | 9.11KB | ▼ 59.68% |
img/avatar.png | 6.94KB | 3.53KB | ▼ 49.20% |