94% hide-update-notification

Code Review | Hide WordPress update notification

WordPress plugin Hide WordPress update notification scored 94% from 54 tests.

About plugin

  • Plugin page: hide-update-notif...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress version: 5.8.1
  • First release: Sep 4, 2017
  • Latest release: Sep 4, 2017
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: Sannikov1994 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active / 490 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

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

Analyzing server-side resources used by Hide WordPress update notification
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0037.44 ▲4.19
Dashboard /wp-admin3.06 ▲0.0050.33 ▲7.15
Posts /wp-admin/edit.php3.11 ▲0.0041.94 ▲7.45
Add New Post /wp-admin/post-new.php5.42 ▼0.0194.47 ▼549.32
Media Library /wp-admin/upload.php3.00 ▼0.0128.51 ▼9.53

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, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Hide WordPress update notification
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,666 ▲7016.19 ▲0.528.27 ▲0.2841.40 ▼2.58
Dashboard /wp-admin2,957 ▲215.90 ▼0.11134.28 ▼13.90101.28 ▲2.13
Posts /wp-admin/edit.php2,728 ▼112.69 ▲0.0059.68 ▼9.1688.35 ▼2.67
Add New Post /wp-admin/post-new.php1,675 ▼118.76 ▼0.07372.53 ▲18.47105.40 ▲6.33
Media Library /wp-admin/upload.php1,794 ▼135.00 ▼0.01152.36 ▲0.73111.95 ▼10.92

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully

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
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hide-update-notification/hide-update-notification.php:31

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 issues were found


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
There were no plugin tags found

hide-update-notification/hide-update-notification.php 92% from 13 tests

Analyzing the main PHP file in "Hide WordPress update notification" version 1.0
It is important to fix the following:
  • Description: The description should be shorter than 140 characters (currently 163 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
Success! There were no dangerous files found in this plugin6 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin