Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.52MB] [CPU: ▲1.84ms] Passed 4 tests
This is a short check of server-side resources used by Newsletter Sign-Up for CleverReach
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.96 ▲0.50 | 44.35 ▼1.40 |
Dashboard /wp-admin | 3.84 ▲0.53 | 61.98 ▲8.86 |
Posts /wp-admin/edit.php | 3.89 ▲0.53 | 56.37 ▲4.62 |
Add New Post /wp-admin/post-new.php | 6.44 ▲0.55 | 90.07 ▲0.03 |
Media Library /wp-admin/upload.php | 3.76 ▲0.53 | 42.52 ▲4.09 |
Integrations /wp-admin/admin.php?page=cleverreach-integrations | 3.70 | 37.15 |
CleverReach /wp-admin/admin.php?page=cleverreach | 3.72 | 38.98 |
Form Builder /wp-admin/admin.php?page=cleverreach-forms | 3.75 | 42.28 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 77 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_cleverreach_mail_widget |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
CR_SCHEMA_VERSION |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Newsletter Sign-Up for CleverReach
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲144 | 13.51 ▼1.22 | 8.27 ▲6.15 | 37.75 ▼5.28 |
Dashboard /wp-admin | 2,213 ▲33 | 5.50 ▼0.15 | 87.61 ▼9.21 | 77.28 ▲32.62 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 1.98 ▼0.05 | 38.47 ▲1.67 | 36.45 ▲3.01 |
Add New Post /wp-admin/post-new.php | 1,705 ▲174 | 22.40 ▼0.41 | 747.60 ▲125.85 | 52.03 ▲0.27 |
Media Library /wp-admin/upload.php | 1,433 ▲33 | 4.23 ▼0.03 | 99.87 ▼8.54 | 63.19 ▲14.34 |
Integrations /wp-admin/admin.php?page=cleverreach-integrations | 955 | 1.96 | 37.41 | 29.59 |
CleverReach /wp-admin/admin.php?page=cleverreach | 894 | 1.97 | 33.03 | 29.70 |
Form Builder /wp-admin/admin.php?page=cleverreach-forms | 964 | 1.78 | 24.88 | 32.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_cleverreach_mail_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/cleverreach/resources/views/storefront/form.php
- > /wp-content/plugins/cleverreach/resources/views/admin/form/field-label-position.php
- 52× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: data in wp-content/plugins/cleverreach/resources/views/admin/settings-general.php on line 6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/cleverreach/resources/views/storefront/form.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/cleverreach/resources/views/admin/sidebar-features.php:3
- > PHP Notice
Undefined variable: data in wp-content/plugins/cleverreach/resources/views/admin/integrations/field-name-attribute-selection.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/cleverreach/resources/views/admin/integrations/field-name-attribute-selection.php:71
- > PHP Fatal error
Uncaught Error: Class 'CleverReach\ewsletter\\Database\\Abstract_Migration' not found in wp-content/plugins/cleverreach/database/Migrations/migration.v.2.3.0.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/cleverreach/resources/views/admin/settings-general.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/cleverreach/resources/views/admin/form/field-message.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/cleverreach/resources/views/admin/sidebar-woocommerce.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/cleverreach/resources/views/admin/settings-form.php:13
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: email, woocommerce, widget, marketing, campaign...
cleverreach/cleverreach.php Passed 13 tests
The main PHP file in "Newsletter Sign-Up for CleverReach" ver. 2.3.4 adds more information about the plugin and also serves as the entry point for this plugin
60 characters long description:
Easily integrate a CleverReach Sign-Up Form in your website.
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 plugin4,068 lines of code in 70 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 62 | 619 | 1,371 | 3,281 |
PO File | 1 | 118 | 144 | 350 |
CSS | 2 | 53 | 3 | 238 |
JavaScript | 3 | 30 | 12 | 183 |
JSON | 2 | 0 | 0 | 16 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 8.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 17 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 34 | |
▷ Abstract classes | 2 | 5.88% |
▷ Concrete classes | 32 | 94.12% |
▷ Final classes | 0 | 0.00% |
Methods | 209 | |
▷ Static methods | 19 | 9.09% |
▷ Public methods | 164 | 78.47% |
▷ Protected methods | 10 | 4.78% |
▷ Private methods | 35 | 16.75% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 26 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 26 | 100.00% |
▷ Public constants | 26 | 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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
resources/images/menu-icon.png | 0.48KB | 0.33KB | ▼ 30.63% |
resources/images/logo.png | 5.58KB | 2.52KB | ▼ 54.84% |