84% wp-update-checklist

Code Review | WP Update Checklist

WordPress plugin WP Update Checklist scored84%from 54 tests.

About plugin

  • Plugin page: wp-update-checklist
  • Plugin version: 0.1
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Feb 23, 2020
  • Latest release: Feb 1, 2021
  • Number of updates: 4
  • Update frequency: every 86.8 days
  • Top authors: michalblazek (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /503 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
Install script ran successfully

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

A check of server-side resources used by WP Update Checklist
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0139.69 ▼3.45
Dashboard /wp-admin3.32 ▲0.0145.20 ▼5.50
Posts /wp-admin/edit.php3.37 ▲0.0149.44 ▼6.23
Add New Post /wp-admin/post-new.php5.90 ▲0.0194.67 ▼8.35
Media Library /wp-admin/upload.php3.24 ▲0.0135.58 ▼0.61
Wordpress Update Checklist /wp-admin/tools.php?page=pwupcheck_wp_updade_checklist3.2129.96

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for WP Update Checklist
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲3314.44 ▲0.061.70 ▼0.2543.91 ▼0.99
Dashboard /wp-admin2,213 ▲224.86 ▼1.04114.07 ▲8.9040.20 ▼0.98
Posts /wp-admin/edit.php2,093 ▲41.99 ▼0.0238.81 ▲1.0938.60 ▲5.53
Add New Post /wp-admin/post-new.php1,539 ▲323.24 ▲0.09628.70 ▼3.0959.28 ▲7.99
Media Library /wp-admin/upload.php1,392 ▲44.24 ▲0.0994.34 ▼2.3140.52 ▲0.25
Wordpress Update Checklist /wp-admin/tools.php?page=pwupcheck_wp_updade_checklist8322.0122.7528.96

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

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

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

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
The following issues need your attention
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-update-checklist/index.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 96% 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: upgrade, update

wp-update-checklist/index.php 92% from 13 tests

Analyzing the main PHP file in "WP Update Checklist" version 0.1
The following require your attention:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-update-checklist.php" instead of "index.php")

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 plugin99 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP210748
CSS16743
JavaScript1008

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.14
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%
Functions3
▷ Named functions3100.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 are no PNG files in this plugin