Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼11.54ms] Passed 4 tests
A check of server-side resources used by Disable WordPress Update Notifications and auto-update Email Notifications
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.55 ▼0.92 |
Dashboard /wp-admin | 3.33 ▼0.02 | 45.05 ▼13.55 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 43.63 ▼8.59 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 88.21 ▼23.11 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.17 ▲0.48 |
Disable Notifications /wp-admin/options-general.php?page=fm-dwns | 3.21 | 30.42 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Disable WordPress Update Notifications and auto-update Email Notifications
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲58 | 14.85 ▲0.47 | 2.08 ▲0.15 | 43.54 ▼1.59 |
Dashboard /wp-admin | 2,207 ▲22 | 5.83 ▼0.02 | 99.07 ▼0.42 | 38.47 ▼5.56 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 1.99 ▼0.02 | 36.17 ▼4.98 | 33.50 ▼2.07 |
Add New Post /wp-admin/post-new.php | 1,536 ▼0 | 23.23 ▲0.12 | 610.03 ▲26.06 | 57.60 ▼5.78 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.27 ▲0.08 | 95.66 ▼5.34 | 44.92 ▲0.23 |
Disable Notifications /wp-admin/options-general.php?page=fm-dwns | 967 | 2.18 | 22.06 | 67.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/disable-update-notifications/disable-auto-email-notification.php:9
- > 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)
There were no browser issues found
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
5 plugin tags: update notifications, plugin update, hide warnings, core update, disable
disable-update-notifications/index.php 85% from 13 tests
This is the main PHP file of "Disable WordPress Update Notifications and auto-update Email Notifications" version 2.4.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("disable-update-notifications.php" instead of "index.php")
- Description: The description should be shorter than 140 characters (currently 159 characters long)
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
Everything looks great! No dangerous files found in this plugin413 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 21 | 12 | 246 |
PHP | 2 | 21 | 32 | 167 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
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 | 5 | |
▷ Named functions | 5 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin