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
This plugin's installer ran successfully
Server metrics [RAM: ▲1.11MB] [CPU: ▲10.52ms] Passed 4 tests
A check of server-side resources used by Newsletter, SMTP, Email marketing and Subscribe forms by Brevo (formely Sendinblue)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.60 ▲1.14 | 53.21 ▲11.92 |
Dashboard /wp-admin | 4.44 ▲1.14 | 59.22 ▲11.53 |
Posts /wp-admin/edit.php | 4.49 ▲1.13 | 58.92 ▲11.42 |
Add New Post /wp-admin/post-new.php | 6.96 ▲1.08 | 91.37 ▲7.21 |
Media Library /wp-admin/upload.php | 4.31 ▲1.08 | 47.70 ▲16.40 |
Server storage [IO: ▲5.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 221 new files
Database: no new tables, 11 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
sib_token_store |
sib_service_worker_install_exception |
db_upgraded |
can_compress_scripts |
sib_use_apiv2 |
sib_home_option |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
Newsletter, SMTP, Email marketing and Subscribe forms by Brevo (formely Sendinblue): an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,948 ▲190 | 13.65 ▼0.66 | 9.16 ▲6.87 | 41.96 ▼3.00 |
Dashboard /wp-admin | 2,227 ▲49 | 5.78 ▲0.08 | 92.11 ▼5.73 | 86.02 ▲46.33 |
Posts /wp-admin/edit.php | 2,150 ▲50 | 2.25 ▲0.27 | 40.74 ▼0.62 | 37.36 ▼0.52 |
Add New Post /wp-admin/post-new.php | 1,571 ▲42 | 23.03 ▼0.15 | 724.62 ▲94.85 | 39.86 ▼13.83 |
Media Library /wp-admin/upload.php | 1,444 ▲44 | 4.44 ▲0.29 | 95.67 ▼3.49 | 70.34 ▲30.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 11 options
- widget_recent-comments
- theysaidso_admin_options
- sib_main_option
- widget_theysaidso_widget
- sib_use_apiv2
- can_compress_scripts
- sib_home_option
- widget_recent-posts
- sib_token_store
- db_upgraded
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/mailin/inc/table-forms.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function register_deactivation_hook() in wp-content/plugins/mailin/sendinblue.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_head() in wp-content/plugins/mailin/inc/sib-form-preview.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/mailin/widget/widget_form.php:12
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/mailin/inc/table-forms.php on line 6
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/mailin/inc/table-forms.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/mailin/inc/function.wp_mail.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Add images for these screenshots: #1 (First, your are invited to create an account on Brevo then enter your API keys), #2 (The Homepage gives you an overall view over your campaigns and allows you to activate Brevo SMTP for all transactional emails and Marketing Automation to better target your customers), #3 (The Forms page gives you access to your forms list), #4 (When you click on a specific form, you can configure your sign up process and customize it), #5 (The Statistics page gives you a global view over your performance: delivered, opened, clicked, etc.)
mailin/sendinblue.php 92% from 13 tests
The main PHP script in "Newsletter, SMTP, Email marketing and Subscribe forms by Brevo (formely Sendinblue)" version 3.1.72 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("mailin.php" instead of "sendinblue.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 plugin31,335 lines of code in 74 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 1,789 | 49 | 11,508 |
JavaScript | 7 | 2,562 | 1,189 | 9,722 |
PHP | 21 | 737 | 1,227 | 5,755 |
Sass | 13 | 19 | 22 | 1,158 |
LESS | 13 | 19 | 31 | 1,149 |
SVG | 2 | 0 | 0 | 792 |
PO File | 1 | 311 | 470 | 711 |
HTML | 7 | 4 | 0 | 540 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 38.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 167.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 237 | |
▷ Static methods | 115 | 48.52% |
▷ Public methods | 227 | 95.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 4.22% |
Functions | 4 | |
▷ Named functions | 1 | 25.00% |
▷ Anonymous functions | 3 | 75.00% |
Constants | 42 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 42 | 100.00% |
▷ Public constants | 42 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
116 compressed PNG files occupy 1.91MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/flags/cn.png | 0.41KB | 0.46KB | 0.00% |
img/flags/no.png | 0.37KB | 0.39KB | 0.00% |
img/flags/mg.png | 0.31KB | 0.37KB | 0.00% |
img/flags/sk.png | 0.41KB | 0.46KB | 0.00% |
img/flags/pk.png | 0.52KB | 0.63KB | 0.00% |