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: ▲0.01MB] [CPU: ▼7.21ms] Passed 4 tests
An overview of server-side resources used by Background Update Notification Email Address
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.80 ▼0.52 |
Dashboard /wp-admin | 3.32 ▲0.01 | 47.76 ▼7.03 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.47 ▼7.14 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.86 ▼14.13 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.35 ▲0.98 |
Update Notifications /wp-admin/options-general.php?page=update-notification-email-address | 3.24 | 34.67 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
update_notification_email_address_options |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Background Update Notification Email Address
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲32 | 14.24 ▼0.48 | 1.95 ▼0.08 | 45.31 ▼1.59 |
Dashboard /wp-admin | 2,199 ▲22 | 5.55 ▼0.11 | 88.03 ▼3.37 | 38.91 ▼4.14 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.00 | 34.85 ▼0.66 | 32.64 ▼5.31 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 18.11 ▼5.13 | 661.89 ▼26.79 | 65.86 ▲3.62 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.23 ▲0.12 | 100.73 ▼14.86 | 46.79 ▼2.52 |
Update Notifications /wp-admin/options-general.php?page=update-notification-email-address | 793 | 2.03 | 27.64 | 30.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
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)
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/background-update-notification-email-address/admin/views/admin.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: manage, admin, automatic updates, plugin, background updates...
background-update-notification-email-address/update-notification-email-address.php 85% from 13 tests
The main PHP file in "Background Update Notification Email Address" ver. 1.1.1 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("background-update-notification-email-address.php" instead of "update-notification-email-address.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
There were no executable files found in this plugin218 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 73 | 218 | 173 |
PO File | 1 | 12 | 15 | 45 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 2 | 15.38% |
▷ Public methods | 11 | 84.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 15.38% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 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
No PNG images were found in this plugin