89% k-outdated-plugin-checker-k-opc

Code Review | k-OutDated Checker (k-OC)

WordPress plugin k-OutDated Checker (k-OC) scored89%from 54 tests.

About plugin

  • Plugin page: k-outdated-plugin...
  • Plugin version: 1.3
  • PHP compatiblity: 5.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8-6.1.1
  • WordPress version: 6.3.1
  • First release: May 4, 2015
  • Latest release: Feb 8, 2023
  • Number of updates: 42
  • Update frequency: every 67.6 days
  • Top authors: kanenas (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

90+ active /2,150 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.02MB] [CPU: ▼5.80ms] Passed 4 tests

Analyzing server-side resources used by k-OutDated Checker (k-OC)
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0240.73 ▼4.47
Dashboard /wp-admin3.33 ▲0.0250.95 ▼0.98
Posts /wp-admin/edit.php3.38 ▲0.0247.21 ▼9.89
Add New Post /wp-admin/post-new.php5.91 ▲0.0288.47 ▼7.46
Media Library /wp-admin/upload.php3.25 ▲0.0235.91 ▼1.38

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_recent-posts
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for k-OutDated Checker (k-OC)
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.28 ▲0.001.99 ▲0.2444.43 ▲3.34
Dashboard /wp-admin2,198 ▲185.58 ▼0.0294.34 ▼0.3443.82 ▲2.85
Posts /wp-admin/edit.php2,100 ▼32.03 ▼0.0038.73 ▼2.3132.89 ▼1.90
Add New Post /wp-admin/post-new.php1,526 ▼523.10 ▲0.12658.39 ▼2.8864.28 ▲11.83
Media Library /wp-admin/upload.php1,403 ▲34.14 ▼0.02100.60 ▼4.7645.12 ▲0.87

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: plugin updates, security

k-outdated-plugin-checker-k-opc/k-outdated.php 85% from 13 tests

The main PHP script in "k-OutDated Checker (k-OC)" version 1.3 is automatically included on every request by WordPress
Please take the time to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 194 characters long)
  • Main file name: Name the main plugin file the same as the plugin slug ("k-outdated-plugin-checker-k-opc.php" instead of "k-outdated.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin163 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP21942100
PO File1121463

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.21
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%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ 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
No PNG images were found in this plugin