Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/mail-on-update/mail-on-update.php+89
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.05MB] [CPU: ▼290.44ms] Passed 4 tests
This is a short check of server-side resources used by Mail On Update
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.21 | 57.51 ▲6.21 |
Dashboard /wp-admin | 3.48 ▲0.07 | 34.56 ▲0.30 |
Posts /wp-admin/edit.php | 3.71 ▲0.07 | 38.84 ▲1.60 |
Add New Post /wp-admin/post-new.php | 6.96 ▼0.01 | 98.46 ▼1,161.24 |
Media Library /wp-admin/upload.php | 3.37 ▲0.06 | 26.85 ▼2.41 |
Mail On Update /wp-admin/options-general.php?page=mail-on-update | 3.34 | 23.75 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 1 new option
New WordPress options |
---|
mailonupdate |
Browser metrics Passed 4 tests
A check of browser resources used by Mail On Update
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,800 ▲45 | 16.15 ▲0.49 | 5.81 ▼0.22 | 2.63 ▼0.16 |
Dashboard /wp-admin | 2,897 ▲39 | 6.20 ▲0.02 | 117.27 ▼19.86 | 158.02 ▼3.03 |
Posts /wp-admin/edit.php | 2,693 ▲2 | 3.24 ▼0.00 | 63.01 ▼2.00 | 142.98 ▼3.34 |
Add New Post /wp-admin/post-new.php | 1,664 ▲27 | 16.62 ▼2.81 | 422.00 ▼2.95 | 155.50 ▼8.98 |
Media Library /wp-admin/upload.php | 1,703 ▲8 | 5.51 ▼0.05 | 143.94 ▼1.06 | 186.12 ▼9.92 |
Mail On Update /wp-admin/options-general.php?page=mail-on-update | 1,266 | 2.49 | 55.31 | 126.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin cannot be uninstalled
- > Warning in wp-includes/class-wp-hook.php+307
call_user_func_array() expects parameter 1 to be a valid callback, function 'uninstall' not found or invalid function name
- Zombie WordPress options detected upon uninstall: 1 option
- mailonupdate
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 everything seems fine, this is not 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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mail-on-update/mail-on-update.php:51
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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 to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== mail-on-update ===
) - Tags: Please delete some tags, you are using 14 tag instead of maximum 10
mail-on-update/mail-on-update.php Passed 13 tests
The primary PHP file in "Mail On Update" version 5.4.14 is used by WordPress to initiate all plugin functionality
104 characters long description:
Sends an eMail notification to one or multiple eMail addresses if new versions of plugins are available.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected600 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 61 | 36 | 391 |
PO File | 2 | 174 | 364 | 209 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of 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.36 |
Average class complexity | 58.00 |
▷ Minimum class complexity | 58.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 5.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 14 | 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 | 2 | |
▷ Global constants | 2 | 100.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
No PNG images were found in this plugin