Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼2.76ms] Passed 4 tests
Server-side resources used by Woowup Abandoned Cart
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 34.84 ▼11.56 |
Dashboard /wp-admin | 3.41 ▲0.11 | 49.18 ▲4.77 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 47.66 ▲2.42 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 93.56 ▼0.22 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 36.23 ▼1.66 |
WoowUp /wp-admin/admin.php?page=woowup-abandonedcart-woocommerce | 3.30 | 32.27 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 9 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_woowup_abandonedcart_woocommerce_table |
wp_woowup_abandonedcartrecovery_woocommerce_table |
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
woowupApikey |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Woowup Abandoned Cart
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲28 | 14.72 ▲0.35 | 1.89 ▲0.14 | 39.61 ▼0.18 |
Dashboard /wp-admin | 2,198 ▲18 | 5.57 ▼0.04 | 90.12 ▲2.64 | 40.86 ▲1.27 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.02 | 38.96 ▲4.53 | 37.34 ▼0.22 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.29 ▲0.32 | 602.84 ▼62.00 | 57.97 ▲1.36 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.24 ▲0.04 | 96.22 ▼21.08 | 39.80 ▼10.16 |
WoowUp /wp-admin/admin.php?page=woowup-abandonedcart-woocommerce | 831 | 2.00 | 23.87 | 25.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
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: api, cart abandonment, woowup, crm, woocommerce
woowup-abandoned-cart/woowup-abandonedcart-woocommerce.php 92% from 13 tests
"Woowup Abandoned Cart" version 1.1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("woowup-abandoned-cart.php" instead of "woowup-abandonedcart-woocommerce.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected581 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 34 | 19 | 581 |
PHP code Passed 2 tests
An overview 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.25 |
Average class complexity | 12.20 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 36 | |
▷ Static methods | 9 | 25.00% |
▷ Public methods | 29 | 80.56% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 19.44% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected