Benchmarks
Plugin footprint 83% 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.01MB] [CPU: ▼0.08ms] Passed 4 tests
An overview of server-side resources used by LiveRecover for WooCommerce - Text Message Abandoned Cart Recovery
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.95 ▼0.14 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.54 ▼0.28 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.34 ▲0.83 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 93.02 ▲1.86 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.18 ▼0.73 |
Server storage [IO: ▲1.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 180 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for LiveRecover for WooCommerce - Text Message Abandoned Cart Recovery
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲74 | 14.62 ▲0.24 | 2.16 ▲0.38 | 47.54 ▼0.64 |
Dashboard /wp-admin | 2,209 ▲21 | 5.79 ▼0.07 | 114.24 ▼1.89 | 46.29 ▲2.04 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.01 ▼0.01 | 39.03 ▲1.15 | 38.67 ▲3.70 |
Add New Post /wp-admin/post-new.php | 1,543 ▲1 | 23.42 ▲5.30 | 649.46 ▲27.16 | 55.15 ▲8.29 |
Media Library /wp-admin/upload.php | 1,394 ▲9 | 4.21 ▲0.01 | 98.11 ▼3.88 | 42.65 ▼1.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- 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
Good news, no errors were detected
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
Please fix the following items
- 58× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/liverecover-woocommerce/vendor/guzzlehttp/promises/src/FulfilledPromise.php:10
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/liverecover-woocommerce/vendor/guzzlehttp/promises/src/RejectedPromise.php:10
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\BadResponseException' not found in wp-content/plugins/liverecover-woocommerce/vendor/guzzlehttp/guzzle/src/Exception/ServerException.php:7
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Polyfill\\Intl\ormalizer\ormalizer' not found in wp-content/plugins/liverecover-woocommerce/vendor/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php:3
- > PHP Fatal error
Uncaught Error: Class 'WC_Auth' not found in wp-content/plugins/liverecover-woocommerce/helpers.php:18
- > PHP Fatal error
Cannot declare class DivisionByZeroError, because the name is already in use in wp-content/plugins/liverecover-woocommerce/vendor/symfony/polyfill-php70/Resources/stubs/DivisionByZeroError.php on line 0
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/liverecover-woocommerce/woocommerce-liverecover-plugin.php:19
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/liverecover-woocommerce/vendor/guzzlehttp/promises/src/Promise.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/liverecover-woocommerce/vendor/guzzlehttp/psr7/src/LazyOpenStream.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/liverecover-woocommerce/vendor/guzzlehttp/psr7/src/Stream.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: text message, woocommerce plugin, woocommerce, liverecover, abandoned cart
liverecover-woocommerce/woocommerce-liverecover-plugin.php 92% from 13 tests
Analyzing the main PHP file in "LiveRecover for WooCommerce - Text Message Abandoned Cart Recovery" version 1.1.7
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("liverecover-woocommerce.php" instead of "woocommerce-liverecover-plugin.php")
Code Analysis 97% from 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
There were no executable files found in this plugin31,703 lines of code in 165 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 132 | 2,264 | 5,315 | 27,293 |
Markdown | 14 | 1,049 | 0 | 3,300 |
JSON | 12 | 0 | 0 | 1,052 |
XML | 1 | 0 | 0 | 19 |
Dockerfile | 1 | 8 | 0 | 10 |
JavaScript | 1 | 0 | 0 | 9 |
make | 1 | 4 | 0 | 9 |
SVG | 2 | 0 | 0 | 8 |
Bourne Shell | 1 | 2 | 0 | 3 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
It is recommended to fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 179)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 16.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 179.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 179.00 |
Code structure | ||
---|---|---|
Namespaces | 13 | |
Interfaces | 16 | |
Traits | 2 | |
Classes | 83 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 83 | 100.00% |
▷ Final classes | 15 | 18.07% |
Methods | 730 | |
▷ Static methods | 103 | 14.11% |
▷ Public methods | 592 | 81.10% |
▷ Protected methods | 4 | 0.55% |
▷ Private methods | 134 | 18.36% |
Functions | 168 | |
▷ Named functions | 80 | 47.62% |
▷ Anonymous functions | 88 | 52.38% |
Constants | 161 | |
▷ Global constants | 47 | 29.19% |
▷ Class constants | 114 | 70.81% |
▷ Public constants | 114 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin