Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method SendinBlue_CF7::activate() should not be called statically
Server metrics [RAM: ▲0.08MB] [CPU: ▼5.17ms] Passed 4 tests
A check of server-side resources used by Contact Form 7 SendInBlue Opt-in Checkbox
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.13 | 41.71 ▼1.59 |
Dashboard /wp-admin | 3.70 ▲0.13 | 51.29 ▼5.99 |
Posts /wp-admin/edit.php | 3.75 ▲0.07 | 54.50 ▲2.93 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.07 | 97.71 ▼14.96 |
Media Library /wp-admin/upload.php | 3.56 ▲0.07 | 40.46 ▲1.86 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Contact Form 7 SendInBlue Opt-in Checkbox
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲31 | 14.37 ▲0.00 | 1.90 ▲0.33 | 42.62 ▼4.78 |
Dashboard /wp-admin | 2,201 ▲21 | 5.69 ▲0.01 | 89.95 ▲1.68 | 38.35 ▼10.51 |
Posts /wp-admin/edit.php | 2,106 ▲9 | 2.00 ▲0.01 | 40.53 ▲2.30 | 39.36 ▲8.09 |
Add New Post /wp-admin/post-new.php | 1,558 ▲12 | 18.34 ▼4.63 | 605.91 ▼72.90 | 51.35 ▼4.00 |
Media Library /wp-admin/upload.php | 1,406 ▲9 | 4.22 ▼0.02 | 101.57 ▼2.45 | 47.27 ▼1.68 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- 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
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/cf7-sendinblue-opt-in-checkbox/mailin-api-php/V1.0/examples/tutorial1.php
- 15× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
require(EE_SIB_CF7_PATH/mailin-api-php/V2.0/Mailin.php): failed to open stream: No such file or directory in wp-content/plugins/cf7-sendinblue-opt-in-checkbox/sendinblue.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'Sendinblue\\Mailin' not found in wp-content/plugins/cf7-sendinblue-opt-in-checkbox/mailin-api-php/src/Sendinblue/examples/tutorial3.php:8
- > PHP Fatal error
require(): Failed opening required 'Mailin.php' (include_path='.:/usr/share/php') in wp-content/plugins/cf7-sendinblue-opt-in-checkbox/mailin-api-php/V2.0/examples/tutorial3.php on line 3
- > PHP Fatal error
Uncaught ArgumentCountError: Too few arguments to function Mailin::get_campaigns(), 0 passed in wp-content/plugins/cf7-sendinblue-opt-in-checkbox/mailin-api-php/V1.0/examples/tutorial2.php on line 13 and exactly 4 expected in wp-content/plugins/cf7-sendinblue-opt-in-checkbox/mailin-api-php/V1.0/mailin.php:116
- > PHP Fatal error
require(): Failed opening required 'EE_SIB_CF7_PATH/mailin-api-php/V2.0/Mailin.php' (include_path='.:/usr/share/php') in wp-content/plugins/cf7-sendinblue-opt-in-checkbox/sendinblue.php on line 4
- > PHP Fatal error
require(): Failed opening required 'Mailin.php' (include_path='.:/usr/share/php') in wp-content/plugins/cf7-sendinblue-opt-in-checkbox/mailin-api-php/V2.0/examples/tutorial2.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'Sendinblue\\Mailin' not found in wp-content/plugins/cf7-sendinblue-opt-in-checkbox/mailin-api-php/src/Sendinblue/examples/tutorial2.php:8
- > PHP Warning
require(Mailin.php): failed to open stream: No such file or directory in wp-content/plugins/cf7-sendinblue-opt-in-checkbox/mailin-api-php/V2.0/examples/tutorial3.php on line 3
- > PHP Warning
require(Mailin.php): failed to open stream: No such file or directory in wp-content/plugins/cf7-sendinblue-opt-in-checkbox/mailin-api-php/V2.0/examples/tutorial2.php on line 3
- > PHP Fatal error
Uncaught ArgumentCountError: Too few arguments to function Mailin::send_sms(), 5 passed in wp-content/plugins/cf7-sendinblue-opt-in-checkbox/mailin-api-php/V1.0/examples/tutorial3.php on line 13 and exactly 6 expected in wp-content/plugins/cf7-sendinblue-opt-in-checkbox/mailin-api-php/V1.0/mailin.php:100
- > PHP Warning
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 94% from 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
These attributes need your attention:
- Tags: There are too many tags (17 tag instead of maximum 10)
cf7-sendinblue-opt-in-checkbox/send-in-blue-wpcf7.php 92% from 13 tests
The entry point to "Contact Form 7 SendInBlue Opt-in Checkbox" version 1.0.2 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("cf7-sendinblue-opt-in-checkbox.php" instead of "send-in-blue-wpcf7.php")
Code Analysis Passed 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 plugin2,315 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 194 | 1,150 | 1,199 |
Markdown | 9 | 238 | 0 | 1,092 |
JSON | 1 | 2 | 0 | 24 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 8.25 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 214 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 211 | 98.60% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 1.40% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected