84% hide-plugin-update-message

Code Review | Hide Plugins Update Message

WordPress plugin Hide Plugins Update Message scored84%from 54 tests.

About plugin

  • Plugin page: hide-plugin-updat...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5.0-6.3.1
  • WordPress version: 6.3.1
  • First release: Dec 9, 2020
  • Latest release: Sep 12, 2023
  • Number of updates: 9
  • Update frequency: every 111.9 days
  • Top authors: asifalimca.2011 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /780 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.04MB] [CPU: ▲361.25ms] 75% from 4 tests

Analyzing server-side resources used by Hide Plugins Update Message
The following require your attention
  • Extra CPU: Extra CPU usage should be kept under 200.00ms (currently 361.25ms on /wp-admin/upload.php)
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0146.15 ▲6.70
Dashboard /wp-admin3.40 ▲0.10536.46 ▲491.52
Posts /wp-admin/edit.php3.45 ▲0.09518.59 ▲471.59
Add New Post /wp-admin/post-new.php5.92 ▲0.03596.30 ▲497.73
Media Library /wp-admin/upload.php3.26 ▲0.03504.97 ▲475.20

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

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

Browser metrics Passed 4 tests

Hide Plugins Update Message: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.25 ▼1.142.48 ▲0.7858.00 ▲8.24
Dashboard /wp-admin2,209 ▲214.82 ▼0.07100.64 ▼5.1938.71 ▼4.30
Posts /wp-admin/edit.php2,089 ▼02.04 ▲0.0433.23 ▼9.8431.42 ▼6.11
Add New Post /wp-admin/post-new.php1,542 ▲1918.37 ▼4.72587.26 ▼68.7852.45 ▲5.91
Media Library /wp-admin/upload.php1,388 ▼34.20 ▲0.0193.10 ▼4.0945.11 ▲2.04

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
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded

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
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 server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/hide-plugin-update-message/hide-plugin-update-message.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

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
7 plugin tags: remove plugins update message notification, remove plugins update, how to hide plugins update message, hide plugins update message, how to remove update message...

hide-plugin-update-message/hide-plugin-update-message.php Passed 13 tests

The principal PHP file in "Hide Plugins Update Message" v. 1.0.0 is loaded by WordPress automatically on each request
87 characters long description:
This plugin will hide pluging update message of wordpress from dashboard and plugin tab

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin6 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1196

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in 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%
Functions1
▷ Named functions1100.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 images were found in this plugin