Benchmarks
Plugin footprint 83% 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.01MB] [CPU: ▼8.19ms] Passed 4 tests
An overview of server-side resources used by Official CleverReach® Plugin for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.59 ▲1.45 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.31 ▼10.68 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.95 ▼4.47 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 77.32 ▼16.79 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.54 ▼0.83 |
Server storage [IO: ▲10.32MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 743 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Official CleverReach® Plugin for WooCommerce: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.23 ▼0.12 | 1.77 ▲0.21 | 44.91 ▲3.19 |
Dashboard /wp-admin | 2,198 ▲18 | 5.60 ▲0.01 | 89.91 ▲4.87 | 38.57 ▼3.79 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.97 ▼0.01 | 39.80 ▲3.26 | 36.19 ▲0.45 |
Add New Post /wp-admin/post-new.php | 1,526 ▼3 | 23.31 ▼0.19 | 657.02 ▼22.51 | 57.59 ▲2.39 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.30 ▲0.08 | 92.35 ▼7.17 | 44.08 ▼1.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
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
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/cleverreach-wc/resources/views/wrapper-start.php
- > /wp-content/plugins/cleverreach-wc/resources/views/wrapper-end.php
- > /wp-content/plugins/cleverreach-wc/resources/views/close-frame.php
- 478× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CleverReach\\WooCommerce\\IntegrationCore\\Infrastructure\\ORM\\Entity' not found in wp-content/plugins/cleverreach-wc/vendor/cleverreach/integration-core/src/BusinessLogic/Scheduler/Models/Schedule.php:18
- > PHP Fatal error
Uncaught Error: Class 'CleverReach\\WooCommerce\\IntegrationCore\\Infrastructure\\ORM\\Entity' not found in wp-content/plugins/cleverreach-wc/vendor/cleverreach/integration-core/src/BusinessLogic/SyncSettings/Entities/EnabledServicesChangeLog.php:9
- > PHP Fatal error
Uncaught Error: Class 'CleverReach\\WooCommerce\\Components\\Repositories\\Base_Repository' not found in wp-content/plugins/cleverreach-wc/Components/Repositories/class-stats-repository.php:22
- > PHP Fatal error
Uncaught Error: Class 'CleverReach\\WooCommerce\\IntegrationCore\\Infrastructure\\Utility\\Events\\Event' not found in wp-content/plugins/cleverreach-wc/vendor/cleverreach/integration-core/src/BusinessLogic/Receiver/Events/ReceiverSyncTaskCompletedEvent.php:7
- > PHP Fatal error
Uncaught Error: Class 'CleverReach\\WooCommerce\\IntegrationCore\\Infrastructure\\ORM\\Entity' not found in wp-content/plugins/cleverreach-wc/vendor/cleverreach/integration-core/src/BusinessLogic/Automation/AbandonedCart/DTO/AbandonedCartRecord.php:9
- > PHP Fatal error
Uncaught Error: Class 'CleverReach\\WooCommerce\\IntegrationCore\\Infrastructure\\Exceptions\\BaseException' not found in wp-content/plugins/cleverreach-wc/vendor/cleverreach/integration-core/src/Infrastructure/TaskExecution/Exceptions/SyncTaskFailedException.php:12
- > PHP Fatal error
Uncaught Error: Class 'CleverReach\\WooCommerce\\IntegrationCore\\Infrastructure\\Exceptions\\BaseException' not found in wp-content/plugins/cleverreach-wc/vendor/cleverreach/integration-core/src/BusinessLogic/Automation/AbandonedCart/Exceptions/FailedToCreateAbandonedCartException.php:7
- > PHP Fatal error
Uncaught Error: Class 'CleverReach\\WooCommerce\\Components\\Util\\Step' not found in wp-content/plugins/cleverreach-wc/Migrations/V300/class-migrate-dynamic-content-data.php:21
- > PHP Fatal error
Uncaught Error: Class 'CleverReach\\WooCommerce\\IntegrationCore\\Infrastructure\\TaskExecution\\Task' not found in wp-content/plugins/cleverreach-wc/vendor/cleverreach/integration-core/src/BusinessLogic/DynamicContent/Tasks/RegisterDynamicContentTask.php:23
- > PHP Fatal error
Uncaught Error: Interface 'CleverReach\\WooCommerce\\IntegrationCore\\BusinessLogic\\Automation\\AbandonedCart\\Contracts\\AbandonedCartSettingsService' not found in wp-content/plugins/cleverreach-wc/vendor/cleverreach/integration-core/src/BusinessLogic/Automation/AbandonedCart/AbandonedCartSettingsService.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% 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
9 plugin tags: newsletter, email marketing tool, newsletter marketing, follow up newsletter, integration...
cleverreach-wc/cleverreach-wc.php 85% from 13 tests
The main file in "Official CleverReach® Plugin for WooCommerce" v. 3.2.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 150 characters long)
- Requires at least: Required version must match the one declared in readme.txt ("4.7" instead of "3.0.0")
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 detected46,744 lines of code in 709 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 667 | 7,596 | 23,608 | 30,816 |
CSS | 7 | 224 | 38 | 7,673 |
PO File | 12 | 1,988 | 2,246 | 4,717 |
SVG | 4 | 0 | 2 | 2,209 |
JavaScript | 13 | 204 | 28 | 1,106 |
Markdown | 2 | 43 | 0 | 104 |
JSON | 3 | 0 | 0 | 103 |
XML | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 3.53 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 1.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 264 | |
Interfaces | 72 | |
Traits | 0 | |
Classes | 569 | |
▷ Abstract classes | 50 | 8.79% |
▷ Concrete classes | 519 | 91.21% |
▷ Final classes | 0 | 0.00% |
Methods | 3,196 | |
▷ Static methods | 288 | 9.01% |
▷ Public methods | 2,413 | 75.50% |
▷ Protected methods | 401 | 12.55% |
▷ Private methods | 382 | 11.95% |
Functions | 120 | |
▷ Named functions | 1 | 0.83% |
▷ Anonymous functions | 119 | 99.17% |
Constants | 385 | |
▷ Global constants | 1 | 0.26% |
▷ Class constants | 384 | 99.74% |
▷ Public constants | 384 | 100.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
8 PNG files occupy 0.07MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
resources/images/wp_cr_loader.png | 0.80KB | 0.39KB | ▼ 51.52% |
resources/images/cr_logo_transparent_107px.png | 3.93KB | 2.26KB | ▼ 42.65% |
resources/images/icon_ciao.png | 14.07KB | 4.11KB | ▼ 70.81% |
resources/images/icon_hola.png | 14.32KB | 4.19KB | ▼ 70.71% |
resources/images/icon_bonjour.png | 14.43KB | 4.23KB | ▼ 70.67% |