Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼3.52ms] Passed 4 tests
Analyzing server-side resources used by Abandoned Checkout Recovery & Order Notifications for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 39.73 ▼2.38 |
Dashboard /wp-admin | 3.37 ▲0.07 | 52.21 ▼0.48 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 53.43 ▲3.44 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 86.53 ▼14.66 |
Media Library /wp-admin/upload.php | 3.30 ▲0.06 | 40.76 ▲5.24 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 41 new files
Database: 2 new tables, 23 new options
New tables |
---|
wp_intrkt_abandon_cart_abandonment |
wp_intrkt_order_status |
New WordPress options |
---|
intrkt_reply_email |
theysaidso_admin_options |
intrkt_from_email |
intrkt_discount_type |
intrkt_coupon_expiry |
intrkt_zapier_cart_abandoned_webhook |
intrkt_log_data |
intrkt_abandon_status |
intrkt_gdpr_message |
intrkt_cut_off_time |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Abandoned Checkout Recovery & Order Notifications for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.33 ▼0.88 | 1.73 ▼0.22 | 45.41 ▲0.36 |
Dashboard /wp-admin | 2,214 ▲26 | 5.87 ▲1.01 | 106.99 ▼9.30 | 40.31 ▼4.77 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.01 | 38.60 ▼0.84 | 35.99 ▼0.73 |
Add New Post /wp-admin/post-new.php | 1,546 ▲13 | 23.06 ▼0.10 | 676.93 ▲41.71 | 55.86 ▼12.16 |
Media Library /wp-admin/upload.php | 1,390 ▲2 | 4.19 ▼0.02 | 97.59 ▼2.99 | 41.94 ▲0.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 plugin did not uninstall successfully, leaving 2 tables in the database
- wp_intrkt_order_status
- wp_intrkt_abandon_cart_abandonment
- This plugin does not fully uninstall, leaving 23 options in the database
- intrkt_gdpr_status
- intrkt_reply_email
- widget_theysaidso_widget
- intrkt_abandon_status
- intrkt_from_email
- intrkt_zapier_tracking_status
- intrkt_gdpr_message
- intrkt_log_data
- widget_recent-posts
- intrkt_excludes_orders
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/abandoned-checkout-recovery-order-notifications-for-woocommerce/whatsapp-order-notifications-and-api.php on line 19
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/abandoned-checkout-recovery-order-notifications-for-woocommerce/whatsapp-order-notifications-and-api.php on line 19
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/abandoned-checkout-recovery-order-notifications-for-woocommerce/whatsapp-order-notifications-and-api.php on line 19
- > PHP Fatal error
Uncaught Error: Call to undefined function is_plugin_active() in wp-content/plugins/abandoned-checkout-recovery-order-notifications-for-woocommerce/whatsapp-order-notifications-and-api.php:20
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Contributors: Contributors not specified
abandoned-checkout-recovery-order-notifications-for-woocommerce/whatsapp-order-notifications-and-api.php 77% from 13 tests
The main file in "Abandoned Checkout Recovery & Order Notifications for WooCommerce" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Description: The description should be shorter than 140 characters (currently 260 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("abandoned-checkout-recovery-order-notifications-for-woocommerce.php" instead of "whatsapp-order-notifications-and-api.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin3,652 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 302 | 988 | 2,826 |
CSS | 4 | 18 | 15 | 502 |
JavaScript | 7 | 16 | 28 | 324 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 24.92 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 2 | 15.38% |
Methods | 137 | |
▷ Static methods | 13 | 9.49% |
▷ Public methods | 136 | 99.27% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.73% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 50 | |
▷ Global constants | 50 | 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
No PNG images were found in this plugin