100% wc-dropi-integration

Code Review | Dropify

WordPress plugin Dropify scored 100% from 54 tests.

About plugin

  • Plugin page: wc-dropi-integration
  • Plugin version: 3.17
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2.3-5.9
  • WordPress version: 5.9.2
  • First release: May 25, 2021
  • Latest release: Mar 22, 2022
  • Number of updates: 65
  • Update frequency: every 4.6 days
  • Top authors: jhaineymilevis (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active / 1,336 total downloads


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
PageMemory (MB)CPU Time (ms)
Home /3.90 ▲0.3856.72 ▲5.79
Dashboard /wp-admin3.73 ▲0.3233.97 ▲0.94
Posts /wp-admin/edit.php3.96 ▲0.3139.32 ▲2.08
Add New Post /wp-admin/post-new.php7.26 ▲0.2993.21 ▼1,213.09
Media Library /wp-admin/upload.php3.67 ▲0.3726.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,812 ▲5815.89 ▲0.195.71 ▼0.822.45 ▼0.14
Dashboard /wp-admin2,908 ▲506.17 ▲0.04114.60 ▼17.96183.96 ▲22.40
Posts /wp-admin/edit.php2,705 ▲123.25 ▼0.1163.81 ▼0.31137.81 ▼2.35
Add New Post /wp-admin/post-new.php1,770 ▲1821.32 ▼0.01427.94 ▼30.88185.28 ▲29.91
Media Library /wp-admin/upload.php1,712 ▲145.55 ▲0.01130.00 ▼8.07210.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


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:
LanguageFilesBlank linesComment linesLines of code

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 code0.31
Average class complexity22.20
▷ Minimum class complexity3.00
▷ Maximum class complexity59.00
Average method complexity3.28
▷ Minimum method complexity1.00
▷ Maximum method complexity28.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes10100.00%
▷ Final classes00.00%
▷ Static methods1415.05%
▷ Public methods8288.17%
▷ Protected methods00.00%
▷ Private methods1111.83%
▷ Named functions00.00%
▷ Anonymous functions1100.00%
▷ Global constants00.00%
▷ Class constants1100.00%
▷ Public constants1100.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
FileSize - originalSize - compressedSavings
assets/screenshot-2.png59.04KB19.43KB▼ 67.09%
assets/icon-128x128.png6.94KB3.53KB▼ 49.20%
assets/banner-772x250.png22.60KB9.11KB▼ 59.68%
assets/icon-256x256.png14.51KB6.43KB▼ 55.69%