90% disable-all-updates

Code Review | Disable All Updates & Notifications

WordPress plugin Disable All Updates & Notifications scored90%from 54 tests.

About plugin

  • Plugin page: disable-all-updates
  • Plugin version: 1.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.2.2
  • WordPress version: 6.3.1
  • First release: Aug 1, 2019
  • Latest release: Aug 1, 2019
  • Number of updates: 2
  • Update frequency: every 0.5 days
  • Top authors: sakthi2210 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /560 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

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

Analyzing server-side resources used by Disable All Updates & Notifications
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0251.17 ▲13.35
Dashboard /wp-admin3.31 ▲0.0144.79 ▼4.31
Posts /wp-admin/edit.php3.34 ▼0.0142.18 ▼2.64
Add New Post /wp-admin/post-new.php5.89 ▲0.0179.71 ▼8.63
Media Library /wp-admin/upload.php3.23 ▲0.0133.69 ▲0.19

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
db_upgraded
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Disable All Updates & Notifications
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,775 ▲1813.65 ▼0.795.81 ▲3.9242.55 ▼8.40
Dashboard /wp-admin2,192 ▲45.79 ▲0.93113.19 ▲0.9742.21 ▼3.50
Posts /wp-admin/edit.php2,072 ▼202.01 ▼0.0037.25 ▼2.0232.30 ▼3.96
Add New Post /wp-admin/post-new.php1,527 ▼623.37 ▲0.09667.58 ▲8.0863.66 ▲4.42
Media Library /wp-admin/upload.php1,377 ▼114.17 ▼0.06101.47 ▼0.7843.99 ▼1.32

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

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

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
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 describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: plugin-update, disable-updates, core-updates, disable-notifications, theme-update

disable-all-updates/disable-all-updates.php Passed 13 tests

The entry point to "Disable All Updates & Notifications" version 1.0 is a PHP file that has certain tags in its header comment area
79 characters long description:
Disable all auto updates and notifications of wordpress core, themes & plugins.

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
Success! There were no dangerous files found in this plugin22 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP262622

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.10
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods2
▷ Static methods00.00%
▷ Public methods2100.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
PNG images were not found in this plugin