84% plugins-last-updated-column

Code Review | Plugins Last Updated Column

WordPress plugin Plugins Last Updated Column scored84%from 54 tests.

About plugin

  • Plugin page: plugins-last-upda...
  • Plugin version: 0.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7-6.0.1
  • WordPress version: 6.3.1
  • First release: Aug 19, 2014
  • Latest release: Jul 30, 2022
  • Number of updates: 32
  • Update frequency: every 90.7 days
  • Top authors: Fastmover (100%)

Code review

54 tests

User reviews

7 reviews

Install metrics

800+ active /21,531 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.06MB] [CPU: ▼9.72ms] Passed 4 tests

A check of server-side resources used by Plugins Last Updated Column
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.0545.96 ▲4.94
Dashboard /wp-admin47.84 ▲44.499,173,297.98 ▲9,173,239.63
Posts /wp-admin/edit.php3.51 ▲0.1150.85 ▼6.49
Add New Post /wp-admin/post-new.php5.98 ▲0.0588.29 ▼29.62
Media Library /wp-admin/upload.php3.32 ▲0.0539.17 ▼7.71
Plugin Columns /wp-admin/plugins.php?page=plugins-last-updated-settings3.3635.22

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Plugins Last Updated Column
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,796 ▲3514.23 ▼0.332.11 ▲0.5944.60 ▲1.79
Dashboard /wp-admin2,202 ▲285.63 ▲0.1084.41 ▼0.8643.25 ▲1.50
Posts /wp-admin/edit.php2,107 ▲71.95 ▼0.0136.67 ▼3.9138.07 ▼2.78
Add New Post /wp-admin/post-new.php1,410 ▼11617.98 ▼5.18601.18 ▼46.9648.03 ▼16.13
Media Library /wp-admin/upload.php1,404 ▲44.11 ▼0.1197.56 ▼14.7540.93 ▼5.41
Plugin Columns /wp-admin/plugins.php?page=plugins-last-updated-settings7732.0326.6527.07

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
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
    • > GET request to /wp-admin/plugins.php?page=plugins-last-updated-settings
    • > Notice in wp-content/plugins/plugins-last-updated-column/sk-plugins-last-updated-column.php+398
    Undefined index: clear-cache
  • 10 occurences, only the last one shown
    • > GET request to /wp-admin/plugins.php?page=plugins-last-updated-settings
    • > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
    file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
  • 10 occurences, only the last one shown
    • > GET request to /wp-admin/plugins.php?page=plugins-last-updated-settings
    • > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
    file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known

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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === plugins-last-updated-column === )
You can look at the official readme.txt

plugins-last-updated-column/sk-plugins-last-updated-column.php 92% from 13 tests

The main PHP script in "Plugins Last Updated Column" version 0.1.1 is automatically included on every request by WordPress
It is important to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("plugins-last-updated-column.php" instead of "sk-plugins-last-updated-column.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected323 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP118138289
Markdown15026
JavaScript1708

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity36.00
▷ Minimum class complexity36.00
▷ Maximum class complexity36.00
Average method complexity3.19
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods16
▷ Static methods00.00%
▷ Public methods16100.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

Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin