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
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.88ms] Passed 4 tests
A check of server-side resources used by Multiple Admin Emails
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.79 ▼2.40 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.20 ▼5.34 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 41.83 ▼5.27 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 88.57 ▼2.50 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.42 ▲4.30 |
Multiple Admin Emails /wp-admin/options-general.php?page=multiple-admin-emails | 3.22 | 34.79 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Multiple Admin Emails
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.21 ▼1.16 | 1.77 ▼0.00 | 43.52 ▲0.10 |
Dashboard /wp-admin | 2,207 ▲19 | 5.79 ▲0.88 | 98.06 ▼18.68 | 41.58 ▼6.01 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.02 ▲0.02 | 34.18 ▼1.75 | 32.59 ▼3.59 |
Add New Post /wp-admin/post-new.php | 1,536 ▼8 | 23.07 ▼0.10 | 673.92 ▲19.64 | 66.43 ▲7.08 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.25 ▼0.02 | 132.90 ▲34.34 | 48.81 ▲5.69 |
Multiple Admin Emails /wp-admin/options-general.php?page=multiple-admin-emails | 880 | 2.06 | 24.13 | 27.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=multiple-admin-emails
- > Notice in wp-content/plugins/multiple-admin-emails/admin-settings.php+63
Trying to access array offset on value of type bool
- > GET request to /wp-admin/options-general.php?page=multiple-admin-emails
- > Notice in wp-content/plugins/multiple-admin-emails/admin-settings.php+82
Undefined index: to
- > GET request to /wp-admin/options-general.php?page=multiple-admin-emails
- > Notice in wp-content/plugins/multiple-admin-emails/admin-settings.php+89
Undefined index: subject
- > GET request to /wp-admin/options-general.php?page=multiple-admin-emails
- > Notice in wp-content/plugins/multiple-admin-emails/admin-settings.php+95
Undefined index: message
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/multiple-admin-emails/admin-settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/multiple-admin-emails/multiple-admin-emails.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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 to be fixed:
- Screenshots: Please add an image for screenshot #1 (Admin)
multiple-admin-emails/multiple-admin-emails.php Passed 13 tests
"Multiple Admin Emails" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
71 characters long description:
Allows to edit From Name, From Email, admin emails and send test emails
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected159 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 36 | 8 | 159 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 75.92KB | 31.88KB | ▼ 58.00% |