84% disable-all-update-notifications

Code Review | Disable All Update Notifications

WordPress plugin Disable All Update Notifications scored84%from 54 tests.

About plugin

  • Plugin page: disable-all-updat...
  • Plugin version: 1.0.1
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.5-5.8
  • WordPress version: 6.3.1
  • First release: Jan 10, 2022
  • Latest release: Jan 11, 2022
  • Number of updates: 5
  • Update frequency: every 0.2 days
  • Top authors: geenenitsysteme (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active /691 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.01MB] [CPU: ▼8.00ms] Passed 4 tests

This is a short check of server-side resources used by Disable All Update Notifications
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0038.75 ▲0.03
Dashboard /wp-admin3.31 ▼0.0352.62 ▼11.49
Posts /wp-admin/edit.php3.36 ▲0.0048.24 ▼5.84
Add New Post /wp-admin/post-new.php5.89 ▲0.0092.82 ▼13.37
Media Library /wp-admin/upload.php3.23 ▲0.0034.81 ▼1.29

Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for Disable All Update Notifications
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5414.78 ▲0.421.59 ▼0.0642.43 ▲4.14
Dashboard /wp-admin2,203 ▲155.99 ▲1.09106.87 ▼1.6938.68 ▼3.93
Posts /wp-admin/edit.php2,089 ▼01.99 ▼0.0134.23 ▼7.4638.01 ▲0.15
Add New Post /wp-admin/post-new.php1,537 ▲1823.26 ▲0.19652.36 ▲39.9956.13 ▲0.93
Media Library /wp-admin/upload.php1,388 ▼04.23 ▼0.0796.59 ▼11.7645.13 ▼2.62

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/disable-all-update-notifications/disable-all-update-notifications.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
9 plugin tags: plugin update, email, theme update, core update, notifications...

disable-all-update-notifications/disable-all-update-notifications.php Passed 13 tests

"Disable All Update Notifications" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
96 characters long description:
Simply disables all update notification emails (core, themes, plugins). No configuration needed.

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
There were no executable files found in this plugin4 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12114

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.00
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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