Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.49ms] Passed 4 tests
This is a short check of server-side resources used by MultiMailer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 42.76 ▲3.32 |
Dashboard /wp-admin | 3.36 ▲0.06 | 62.05 ▲7.04 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 49.52 ▼0.64 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 97.19 ▼13.61 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.05 ▲0.97 |
MultiMailer /wp-admin/options-general.php?page=scand-multi-mailer | 3.51 | 37.42 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 17 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_mm_providers |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by MultiMailer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.70 ▲0.14 | 1.87 ▲0.22 | 43.74 ▲4.29 |
Dashboard /wp-admin | 2,198 ▲17 | 5.53 ▼0.13 | 86.27 ▼18.02 | 40.20 ▼1.67 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 1.98 ▼0.05 | 34.99 ▼1.39 | 32.65 ▼5.87 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.78 ▲0.31 | 632.25 ▼52.36 | 60.42 ▲2.18 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.24 ▲0.06 | 101.40 ▼6.51 | 43.21 ▼4.18 |
MultiMailer /wp-admin/options-general.php?page=scand-multi-mailer | 806 | 2.04 | 26.17 | 27.33 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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 fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/scand-multi-mailer/scand-multi-mailer.php
- 10× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined variable: providerService in wp-content/plugins/scand-multi-mailer/view-provider-form.php on line 10
- > PHP Fatal error
Uncaught Error: Call to a member function get_provider() on null in wp-content/plugins/scand-multi-mailer/view-provider-form.php:10
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHWPINC/PHPMailer/PHPMailer.php' (include_path='.:/usr/share/php') in wp-content/plugins/scand-multi-mailer/providers/class-phpmailer-sender.php on line 9
- > PHP Fatal error
Uncaught Error: Interface 'Scand_Multi_Mailer_ISender' not found in wp-content/plugins/scand-multi-mailer/providers/class-mail-std-sender.php:9
- > PHP Fatal error
Uncaught Error: Call to a member function sort_providers() on null in wp-content/plugins/scand-multi-mailer/view-providers-table.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Scand_Multi_Mailer_ISender' not found in wp-content/plugins/scand-multi-mailer/providers/class-log-file-sender.php:9
- > PHP Warning
require_once(ABSPATHWPINC/PHPMailer/PHPMailer.php): failed to open stream: No such file or directory in wp-content/plugins/scand-multi-mailer/providers/class-phpmailer-sender.php on line 9
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/scand-multi-mailer/providers/class-phpmailer-sender.php on line 9
- > PHP Notice
Undefined variable: providerService in wp-content/plugins/scand-multi-mailer/view-providers-table.php on line 10
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/scand-multi-mailer/providers/class-phpmailer-sender.php on line 9
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: scandltd, smtp, email log, php mailer, contact form
scand-multi-mailer/scand-multi-mailer.php Passed 13 tests
"MultiMailer" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
87 characters long description:
Send data from one contact form to multiple email addresses or save data into log file.
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
Success! There were no dangerous files found in this plugin1,777 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 276 | 124 | 1,628 |
PO File | 1 | 47 | 56 | 108 |
JavaScript | 1 | 4 | 0 | 41 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 21.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 124 | |
▷ Static methods | 23 | 18.55% |
▷ Public methods | 106 | 85.48% |
▷ Protected methods | 4 | 3.23% |
▷ Private methods | 14 | 11.29% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 7 | 50.00% |
▷ Class constants | 7 | 50.00% |
▷ Public constants | 7 | 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
There are no PNG files in this plugin