94% plugin-last-updated-warning

Code Review | Plugin Last Updated Warning

WordPress plugin Plugin Last Updated Warning scored 94% from 54 tests.

About plugin

  • Plugin page: plugin-last-updat...
  • Plugin version: 0.9.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.3-5.3
  • WordPress version: 5.8.1
  • First release: Jan 10, 2020
  • Latest release: Jan 10, 2020
  • Number of updates: 5
  • Update frequency: N/A
  • Top authors: vincenthasselgard (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 226 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

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

Server-side resources used by Plugin Last Updated Warning
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.1335.45 ▲14.45
Dashboard /wp-admin3.08 ▲0.0254.21 ▼2.68
Posts /wp-admin/edit.php3.13 ▲0.0237.66 ▼3.91
Add New Post /wp-admin/post-new.php5.44 ▲0.0094.38 ▼573.20
Media Library /wp-admin/upload.php3.03 ▲0.0234.50 ▼0.40

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Plugin Last Updated Warning: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10715.96 ▲0.699.05 ▼1.7349.22 ▼4.06
Dashboard /wp-admin2,967 ▲365.92 ▼0.08140.76 ▼30.02118.98 ▼7.40
Posts /wp-admin/edit.php2,739 ▼02.69 ▲0.0168.40 ▼0.6394.16 ▼2.40
Add New Post /wp-admin/post-new.php1,604 ▼7918.61 ▼0.14398.01 ▼6.85115.64 ▲6.40
Media Library /wp-admin/upload.php1,810 ▲35.02 ▲0.04155.80 ▼6.59123.50 ▼4.71

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function MilesToGo\\add_action() in wp-content/plugins/plugin-last-updated-warning/plugin-last-updated-warning.php:117

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

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
  • Donate link: Please fix this invalid URI: ""
You can look at the official readme.txt

plugin-last-updated-warning/plugin-last-updated-warning.php Passed 13 tests

Analyzing the main PHP file in "Plugin Last Updated Warning" version 0.9.1
117 characters long description:
This plugin will display a warning for plugins that haven't received updates on the WP.org plugin repo the past year.

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 plugin100 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1253564
PO File15536

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.24
Average class complexity5.00
▷ Minimum class complexity5.00
▷ Maximum class complexity5.00
Average method complexity2.33
▷ Minimum method complexity2.00
▷ Maximum method complexity3.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods125.00%
▷ Public methods4100.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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected