90% outdated-plugin-notifier

Code Review | Outdated Plugin Notifier

WordPress plugin Outdated Plugin Notifier scored90%from 54 tests.

About plugin

  • Plugin page: outdated-plugin-n...
  • Plugin version: 1.0.6
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9.0-6.3
  • WordPress version: 6.3.1
  • First release: Oct 15, 2019
  • Latest release: Jun 17, 2023
  • Number of updates: 23
  • Update frequency: every 58.7 days
  • Top authors: carlgross (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

200+ active /1,648 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 successfully, without throwing any errors or notices

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

Analyzing server-side resources used by Outdated Plugin Notifier
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0040.64 ▲1.16
Dashboard /wp-admin3.31 ▲0.0054.51 ▼6.42
Posts /wp-admin/edit.php3.36 ▲0.0047.42 ▼10.82
Add New Post /wp-admin/post-new.php5.89 ▲0.0086.45 ▼9.75
Media Library /wp-admin/upload.php3.23 ▲0.0039.25 ▲2.65

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments
db_upgraded
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

Outdated Plugin Notifier: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.22 ▼1.081.78 ▲0.0341.34 ▼2.32
Dashboard /wp-admin2,209 ▲305.88 ▲0.07110.81 ▼8.4844.73 ▼2.81
Posts /wp-admin/edit.php2,089 ▼02.05 ▲0.0240.62 ▲1.4433.26 ▲0.25
Add New Post /wp-admin/post-new.php1,533 ▲1923.42 ▲5.98660.02 ▲41.1660.28 ▲8.91
Media Library /wp-admin/upload.php1,385 ▲34.24 ▼0.04106.92 ▼3.6047.69 ▲4.11

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
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
1 plugin tags: plugins

outdated-plugin-notifier/outdated-plugin-notifier.php 92% from 13 tests

The principal PHP file in "Outdated Plugin Notifier" v. 1.0.6 is loaded by WordPress automatically on each request
The following require your attention:
  • Domain Path: The domain path points to a folder that does not exist ("/languages")

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
Good job! No executable or dangerous file extensions detected116 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1217082
JavaScript17634

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.28
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%
Functions7
▷ Named functions7100.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
There were not PNG files found in your plugin