84% plugin-modification-date

Code Review | Plugin Modification Date

WordPress plugin Plugin Modification Date scored 84% from 54 tests.

About plugin

  • Plugin page: plugin-modificati...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-5.6
  • WordPress version: 6.3.1
  • First release: May 22, 2016
  • Latest release: Dec 30, 2020
  • Number of updates: 9
  • Update frequency: every 187.1 days
  • Top authors: kiranpatil353 (88.89%)clarionwpdeveloper (22.22%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active / 1,234 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.01MB] [CPU: ▼4.44ms] Passed 4 tests

A check of server-side resources used by Plugin Modification Date
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0238.32 ▼5.35
Dashboard /wp-admin3.32 ▲0.0144.92 ▼10.05
Posts /wp-admin/edit.php3.37 ▲0.0146.33 ▲1.92
Add New Post /wp-admin/post-new.php5.90 ▲0.0185.72 ▼4.28
Media Library /wp-admin/upload.php3.25 ▲0.0137.89 ▲4.62

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

Plugin Modification Date: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.28 ▼1.311.95 ▼0.0143.51 ▼7.80
Dashboard /wp-admin2,203 ▲154.83 ▼1.03104.56 ▼11.9041.90 ▼1.29
Posts /wp-admin/edit.php2,089 ▼02.06 ▲0.0341.10 ▲2.6833.84 ▼1.28
Add New Post /wp-admin/post-new.php1,533 ▼023.30 ▲0.12661.04 ▼21.5558.04 ▲2.06
Media Library /wp-admin/upload.php1,382 ▼94.19 ▼0.1097.88 ▼7.2750.34 ▲5.88

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 75% from 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 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/plugin-modification-date/plugin-modification-date.php:16

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

Optimizations

Plugin configuration Passed 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: plugin modification date, last updated, modification date, plugin update, plugin update date...

plugin-modification-date/plugin-modification-date.php Passed 13 tests

The main file in "Plugin Modification Date" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
121 characters long description:
Displays Plugin Updation time. Useful when you have multiple plugins, and you are not sure which plugin is last modified.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin47 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1101647

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity7.00
▷ Minimum class complexity7.00
▷ Maximum class complexity7.00
Average method complexity2.20
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods00.00%
▷ Public methods5100.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

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin