84% auto-update-wp-and-disable-e-mail-notifications

Code Review | Automatic updates for WordPress without email notifications

WordPress plugin Automatic updates for WordPress without email notifications scored84%from 54 tests.

About plugin

  • Plugin page: auto-update-wp-an...
  • Plugin version: 1.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.5-6.3
  • WordPress version: 6.3.1
  • First release: Aug 25, 2021
  • Latest release: Aug 13, 2023
  • Number of updates: 36
  • Update frequency: every 20.0 days
  • Top authors: wilbrinkdesign (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,044 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼5.93ms] Passed 4 tests

This is a short check of server-side resources used by Automatic updates for WordPress without email notifications
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0241.54 ▲1.76
Dashboard /wp-admin3.32 ▲0.0248.14 ▼4.46
Posts /wp-admin/edit.php3.37 ▲0.0247.69 ▼5.33
Add New Post /wp-admin/post-new.php5.90 ▲0.0286.09 ▼15.67
Media Library /wp-admin/upload.php3.24 ▲0.0138.65 ▲3.83

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_theysaidso_widget
db_upgraded
widget_recent-posts
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Automatic updates for WordPress without email notifications
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.72 ▲0.371.66 ▼0.2043.28 ▼0.79
Dashboard /wp-admin2,198 ▲215.71 ▲0.2096.47 ▲4.9645.31 ▼5.05
Posts /wp-admin/edit.php2,100 ▼01.99 ▼0.0338.72 ▲2.1534.59 ▼3.22
Add New Post /wp-admin/post-new.php1,531 ▲521.09 ▼2.66664.08 ▲42.6456.83 ▼2.02
Media Library /wp-admin/upload.php1,400 ▼04.20 ▼0.0199.19 ▼6.7247.77 ▲5.30

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options

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 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 fix the following items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/auto-update-wp-and-disable-e-mail-notifications/auto-update-wp-and-disable-e-mail-notifications.php:12

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)
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: upgrade, auto update, update, disable email notifications, security...

auto-update-wp-and-disable-e-mail-notifications/auto-update-wp-and-disable-e-mail-notifications.php Passed 13 tests

"Automatic updates for WordPress without email notifications" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
92 characters long description:
Keep your WordPress site up-to-date and disable email notifications about WordPress updates.

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 plugin12 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP151312

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were 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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected