90% de-updraftplus-disable-admin-wp-cron-notice

Code Review | Disable Admin WP Cron Notice For UpdraftPlus

WordPress plugin Disable Admin WP Cron Notice For UpdraftPlus scored90%from 54 tests.

About plugin

  • Plugin page: de-updraftplus-di...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-6.3
  • WordPress version: 6.3.1
  • First release: Jun 9, 2018
  • Latest release: Aug 3, 2023
  • Number of updates: 26
  • Update frequency: every 72.4 days
  • Top authors: davidbaumwald (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /3,494 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.00MB] [CPU: ▼6.41ms] Passed 4 tests

This is a short check of server-side resources used by Disable Admin WP Cron Notice For UpdraftPlus
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0040.03 ▼5.30
Dashboard /wp-admin3.31 ▲0.0057.80 ▲6.65
Posts /wp-admin/edit.php3.36 ▲0.0052.12 ▼5.92
Add New Post /wp-admin/post-new.php5.89 ▲0.0092.46 ▼9.60
Media Library /wp-admin/upload.php3.23 ▲0.0036.17 ▼4.82

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Disable Admin WP Cron Notice For UpdraftPlus
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲4214.72 ▲0.101.95 ▼0.0546.31 ▲5.95
Dashboard /wp-admin2,195 ▲155.60 ▼0.0587.11 ▼7.4340.03 ▼7.19
Posts /wp-admin/edit.php2,103 ▼02.02 ▲0.0135.58 ▼10.3836.98 ▼2.25
Add New Post /wp-admin/post-new.php1,526 ▼023.78 ▲0.60677.68 ▲29.3956.94 ▲5.16
Media Library /wp-admin/upload.php1,400 ▼04.16 ▼0.0197.33 ▼6.3345.14 ▼1.70

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
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests Passed 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 Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 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
6 plugin tags: updraft, admin, cron, notice, disable...

de-updraftplus-disable-admin-wp-cron-notice/de-updraftplus-disable-admin-wp-cron-notice.php 92% from 13 tests

"Disable Admin WP Cron Notice For UpdraftPlus" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 200 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected5 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12175

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.50
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%
Constants1
▷ Global constants1100.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 files were detected