Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼143.95ms] Passed 4 tests
Server-side resources used by wp_mail fix multiple send
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 33.79 ▼4.42 |
Dashboard /wp-admin | 3.06 ▲0.01 | 46.64 ▼4.24 |
Posts /wp-admin/edit.php | 3.11 ▼0.00 | 43.40 ▼4.64 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 89.04 ▼562.50 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 31.20 ▼1.35 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
wp_mail fix multiple send: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲66 | 15.81 ▲0.22 | 9.51 ▲0.98 | 47.90 ▼13.60 |
Dashboard /wp-admin | 2,970 ▲33 | 5.90 ▼0.06 | 126.28 ▼34.96 | 111.53 ▼5.97 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.69 ▼0.00 | 67.46 ▼1.31 | 89.36 ▼4.56 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.77 ▲0.01 | 352.53 ▼40.62 | 113.10 ▼5.49 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.01 ▲0.01 | 156.55 ▲9.40 | 117.43 ▲1.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-mail-fix-multiple-send/wp-mail-fix-multiple-send.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== wp-mail-fix-multiple-send ===
)
wp-mail-fix-multiple-send/wp-mail-fix-multiple-send.php Passed 13 tests
The main PHP script in "wp_mail fix multiple send" version 1.0 is automatically included on every request by WordPress
76 characters long description:
Avoids wp_mail to send multiple times the same mail within the same request.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin17 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 3 | 13 | 17 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin