84% show-modified-date-in-admin-lists

Code Review | Show modified Date in admin lists

WordPress plugin Show modified Date in admin lists scored84%from 54 tests.

About plugin

  • Plugin page: show-modified-dat...
  • Plugin version: 1.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-6.3
  • WordPress version: 6.3.1
  • First release: Nov 9, 2016
  • Latest release: Sep 23, 2023
  • Number of updates: 38
  • Update frequency: every 66.0 days
  • Top authors: apasionados (100%)

Code review

54 tests

User reviews

30 reviews

Install metrics

7,000+ active /35,594 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

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

This is a short check of server-side resources used by Show modified Date in admin lists
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0236.76 ▼2.98
Dashboard /wp-admin3.32 ▼0.0345.79 ▼15.54
Posts /wp-admin/edit.php3.37 ▲0.0245.11 ▼6.97
Add New Post /wp-admin/post-new.php5.90 ▲0.0189.32 ▼15.26
Media Library /wp-admin/upload.php3.24 ▲0.0135.90 ▲2.49

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

A check of browser resources used by Show modified Date in admin lists
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.33 ▼0.091.75 ▲0.1745.16 ▲5.87
Dashboard /wp-admin2,192 ▲155.62 ▼0.0387.69 ▼1.4441.95 ▼4.11
Posts /wp-admin/edit.php2,138 ▲382.07 ▲0.0536.77 ▲1.8541.86 ▲5.43
Add New Post /wp-admin/post-new.php1,526 ▼923.51 ▲5.09627.29 ▲25.9652.76 ▲5.72
Media Library /wp-admin/upload.php1,400 ▼04.18 ▲0.0192.26 ▼4.8044.15 ▲1.50

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 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
Almost there! Just fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/show-modified-date-in-admin-lists/show-modified-date-in-admin-lists.php:29

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 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: page modified, post modified, last modified, last updated, post update...

show-modified-date-in-admin-lists/show-modified-date-in-admin-lists.php 92% from 13 tests

"Show modified Date in admin lists" version 1.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
  • Description: Keep the plugin description shorter than 140 characters (currently 167 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin110 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PO File281271
PHP1102339

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.09
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%
Functions4
▷ Named functions4100.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