73% blighty-pluginator

Code Review | Blighty Pluginator

WordPress plugin Blighty Pluginator scored 73% from 53 tests.

About plugin

  • Plugin page: blighty-pluginator
  • Plugin version: 1.1.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1.1-4.8
  • WordPress version: 5.8.1
  • First release: Mar 18, 2016
  • Latest release: Jan 14, 2017
  • Number of updates: 22
  • Update frequency: every 20.7 days
  • Top authors: Blighty (100%)

Code review

53 tests

User reviews

1 review

Install metrics

10+ active / 726 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.05MB] [CPU: ▼268.06ms] Passed 4 tests

This is a short check of server-side resources used by Blighty Pluginator
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.86 ▲0.1433.36 ▲12.63
Dashboard /wp-admin3.11 ▲0.0544.34 ▲2.76
Posts /wp-admin/edit.php3.16 ▲0.0542.56 ▼3.19
Add New Post /wp-admin/post-new.php5.47 ▲0.0490.18 ▼1,067.02
Media Library /wp-admin/upload.php3.05 ▲0.0432.47 ▼4.77
Blighty Pluginator /wp-admin/options-general.php?page=blighty-pluginator-plugin3.0029.25

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 2 new options
New WordPress options

Browser metrics Passed 4 tests

Blighty Pluginator: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,678 ▲7215.80 ▲0.127.54 ▼2.1346.77 ▼3.03
Dashboard /wp-admin2,938 ▲885.89 ▲0.05137.83 ▲6.68104.24 ▲9.04
Posts /wp-admin/edit.php2,708 ▲52.68 ▲0.0062.60 ▼2.0390.47 ▼1.09
Add New Post /wp-admin/post-new.php1,654 ▼19917.17 ▼1.98357.05 ▼9.81111.01 ▲2.47
Media Library /wp-admin/upload.php1,780 ▲85.02 ▲0.02142.86 ▼10.26103.24 ▼18.24
Blighty Pluginator /wp-admin/options-general.php?page=blighty-pluginator-plugin1,1862.2357.7970.28

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
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 2 options
    • bpl_last_run
    • bpl_notified

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=blighty-pluginator-plugin
    • > Notice in wp-content/plugins/blighty-pluginator/admin-settings.php+121
    Trying to access array offset on value of type bool

SRP 0% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/blighty-pluginator/blighty-pluginator.php
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/blighty-pluginator/admin-settings.php:36

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


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: updates, development, wordpress, maintenance, plugin

blighty-pluginator/blighty-pluginator.php Passed 13 tests

The main file in "Blighty Pluginator" v. 1.1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
88 characters long description:
Checks a WordPress installation for out of date plugins and sends an email to the admin.

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
There were no executable files found in this plugin258 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.29
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 functions8100.00%
▷ Anonymous functions00.00%
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 1 test

Image compression Passed 1 test

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin