84% hide-woo-update-notices

Code Review | Hide Woo Update Notices

WordPress plugin Hide Woo Update Notices scored84%from 54 tests.

About plugin

  • Plugin page: hide-woo-update-n...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.0.1
  • WordPress version: 6.3.1
  • First release: Dec 18, 2014
  • Latest release: Dec 18, 2014
  • Number of updates: 3
  • Update frequency: every 30.4 days
  • Top authors: creavince (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /862 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼4.08ms] Passed 4 tests

Server-side resources used by Hide Woo Update Notices
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0038.24 ▼0.31
Dashboard /wp-admin3.31 ▼0.0447.25 ▼12.66
Posts /wp-admin/edit.php3.36 ▲0.0043.99 ▼2.61
Add New Post /wp-admin/post-new.php5.89 ▲0.0088.34 ▼0.74
Media Library /wp-admin/upload.php3.23 ▲0.0032.29 ▲0.28

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

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

Browser metrics Passed 4 tests

Hide Woo Update Notices: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,803 ▲5713.19 ▼1.171.74 ▼0.1341.65 ▼1.44
Dashboard /wp-admin2,210 ▲215.86 ▲0.8396.57 ▼26.4434.90 ▼9.68
Posts /wp-admin/edit.php2,090 ▼21.97 ▼0.0537.79 ▼2.3031.71 ▼3.53
Add New Post /wp-admin/post-new.php1,515 ▼422.85 ▼0.31665.98 ▼4.7855.65 ▼2.41
Media Library /wp-admin/upload.php1,392 ▲44.12 ▼0.07100.32 ▼6.3842.83 ▼0.26

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/hide-woo-update-notices/hide-woo-update-notices.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

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
4 plugin tags: woocommerce, igintewoo, admin notices, woothemes

hide-woo-update-notices/hide-woo-update-notices.php Passed 13 tests

The main PHP file in "Hide Woo Update Notices" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
91 characters long description:
Hides those irritating WooThemes and IginiteWoo update notices on top of your admin screen.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin9 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP17199

PHP code Passed 2 tests

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