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: ▼5.57ms] Passed 4 tests
A check of server-side resources used by Drip - Marketing Automation for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 31.30 ▼8.12 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.02 ▼3.82 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.81 ▼2.13 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 76.32 ▼8.20 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.92 ▲4.46 |
Server storage [IO: ▲2.36MB] [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-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Drip - Marketing Automation for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.67 ▲0.32 | 1.70 ▲0.02 | 38.62 ▼5.26 |
Dashboard /wp-admin | 2,192 ▲15 | 5.51 ▼0.15 | 86.94 ▼0.56 | 37.32 ▲0.22 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.96 ▼0.03 | 34.63 ▲0.38 | 34.45 ▼1.83 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.26 ▲0.04 | 680.30 ▲6.62 | 57.71 ▼3.47 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.14 ▼0.09 | 95.02 ▼5.71 | 45.02 ▲0.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 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 50% from 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
Almost there! Just fix the following items
- 13× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/drip/src/class-drip-woocommerce-checkout-marketing-confirmation.php
- > /wp-content/plugins/drip/src/class-drip-woocommerce-cart-event-product.php
- > /wp-content/plugins/drip/src/class-drip-woocommerce-cookie-parser.php
- > /wp-content/plugins/drip/src/class-drip-woocommerce-cart-event.php
- > /wp-content/plugins/drip/src/class-drip-woocommerce-settings.php
- > /wp-content/plugins/drip/src/class-drip-woocommerce-cart-events.php
- > /wp-content/plugins/drip/src/snippet.js.php
- > /wp-content/plugins/drip/drip.php
- > /wp-content/plugins/drip/src/class-drip-woocommerce-customer-identify.php
- > /wp-content/plugins/drip/src/class-drip-woocommerce-plugin-view.php
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 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: emailmarketingautomation, emailmarketing, drip, marketingautomation, ecommerce...
drip/drip.php 92% from 13 tests
The entry point to "Drip - Marketing Automation for WooCommerce" version 1.1.7 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("4.6" instead of "3.0")
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
There were no executable files found in this plugin583 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 125 | 440 | 565 |
JavaScript | 2 | 0 | 0 | 18 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 4.73 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 20 | 36.36% |
▷ Public methods | 33 | 60.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 22 | 40.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 9 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 9 | 100.00% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected