Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.63MB] [CPU: ▼17.23ms] Passed 4 tests
Analyzing server-side resources used by WooCommerce Abandoned Cart Recovery - HookMax
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.05 | 39.83 ▼0.58 |
Dashboard /wp-admin | 3.39 ▲0.05 | 45.69 ▼7.41 |
Posts /wp-admin/edit.php | 3.50 ▲0.11 | 50.23 ▼5.47 |
Add New Post /wp-admin/post-new.php | 3.27 ▼2.66 | 37.64 ▼55.46 |
Media Library /wp-admin/upload.php | 3.31 ▲0.04 | 38.69 ▲1.90 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
cart-pull-key |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for WooCommerce Abandoned Cart Recovery - HookMax
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲69 | 14.24 ▲0.04 | 2.23 ▲0.45 | 45.34 ▲3.02 |
Dashboard /wp-admin | 2,205 ▲28 | 5.55 ▼0.11 | 85.53 ▼5.09 | 38.94 ▼5.88 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.01 ▲0.05 | 39.48 ▼0.48 | 36.02 ▼3.48 |
Add New Post /wp-admin/post-new.php | 1,544 ▲18 | 23.16 ▲0.09 | 689.37 ▲44.26 | 65.76 ▲10.26 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.09 ▼0.11 | 113.43 ▲10.39 | 48.74 ▲2.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- cart-pull-key
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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
Please take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/cartpull/cart-pull.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/cartpull/admin/cart-pull-page.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: cart, woocommerce
cartpull/cart-pull.php 85% from 13 tests
Analyzing the main PHP file in "WooCommerce Abandoned Cart Recovery - HookMax" version 1.0.2
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("cartpull.php" instead of "cart-pull.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin215 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 52 | 17 | 201 |
CSS | 1 | 1 | 0 | 14 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 3.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 4 | 25.00% |
▷ Public methods | 13 | 81.25% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 18.75% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There are no PNG files in this plugin