Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.70ms] Passed 4 tests
This is a short check of server-side resources used by Zeta Abandoned Cart
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 44.43 ▼2.07 |
Dashboard /wp-admin | 3.31 ▲0.00 | 53.04 ▲0.48 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 53.06 ▼1.11 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.12 ▼7.34 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.26 ▼4.28 |
Dashboard /wp-admin/admin.php?page=zac-dashboard | 3.00 | 24.12 |
Settings /wp-admin/admin.php?page=zac-settings | 3.00 | 27.25 |
Server storage [IO: ▲3.62MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 24 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_zac_abandoned_carts |
wp_zac_email_templates |
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Zeta Abandoned Cart
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 14.37 ▼0.26 | 2.21 ▲0.12 | 49.63 ▲5.78 |
Dashboard /wp-admin | 2,195 ▲18 | 5.63 ▲0.02 | 83.16 ▼3.75 | 41.42 ▼0.67 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.98 ▲0.00 | 40.01 ▲4.17 | 38.25 ▲0.74 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.25 ▲0.17 | 687.99 ▲50.43 | 58.72 ▲8.87 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.11 ▼0.10 | 113.58 ▲6.99 | 48.98 ▲5.87 |
Dashboard /wp-admin/admin.php?page=zac-dashboard | 28 | 0.42 | 0.11 | 3.86 |
Settings /wp-admin/admin.php?page=zac-settings | 28 | 0.42 | 0.07 | 3.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie tables detected upon uninstall: 2 tables
- wp_zac_email_templates
- wp_zac_abandoned_carts
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/zeta-abandoned-cart/includes/class-zac-list-table.php:22
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/zeta-abandoned-cart/admin/partials/dashboard.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_referer() in wp-content/plugins/zeta-abandoned-cart/admin/partials/view-cart.php:14
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=zac-dashboard
- > Network (severe)
wp-admin/admin.php?page=zac-dashboard - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=zac-settings
- > Network (severe)
wp-admin/admin.php?page=zac-settings - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: cart abandonment, order recovery, abandoned cart, follow up emails, cart recovery
zeta-abandoned-cart/zeta-abandoned-cart.php 92% from 13 tests
"Zeta Abandoned Cart" version 1.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 147 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin1,719 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 357 | 923 | 1,478 |
CSS | 2 | 9 | 9 | 141 |
JavaScript | 4 | 20 | 57 | 100 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 1.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 83 | |
▷ Static methods | 11 | 13.25% |
▷ Public methods | 76 | 91.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 8.43% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 20 | |
▷ Global constants | 20 | 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
PNG images were not found in this plugin