78% frontend-checklist

Code Review | Frontend Checklist

WordPress plugin Frontend Checklist scored78%from 54 tests.

About plugin

  • Plugin page: frontend-checklist
  • Plugin version: 2.3.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5.0-5.2
  • WordPress version: 6.3.1
  • First release: Sep 1, 2012
  • Latest release: May 16, 2019
  • Number of updates: 43
  • Update frequency: every 57.0 days
  • Top authors: JonasBreuer (100%)

Code review

54 tests

User reviews

12 reviews

Install metrics

1,000+ active /21,055 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.10MB] [CPU: ▼2.06ms] Passed 4 tests

An overview of server-side resources used by Frontend Checklist
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.1040.71 ▼0.98
Dashboard /wp-admin3.40 ▲0.1046.47 ▼2.00
Posts /wp-admin/edit.php3.52 ▲0.1649.21 ▼0.51
Add New Post /wp-admin/post-new.php5.98 ▲0.0983.45 ▼4.76
Media Library /wp-admin/upload.php3.33 ▲0.0933.82 ▲0.41
Frontend Checklist /wp-admin/options-general.php?page=frontend-checklist3.2933.20

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 21 new files
Database: 2 new tables, 8 new options
New tables
wp_fc_items
wp_fc_lists
New WordPress options
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
frontend-checklist-meta-options
db_upgraded
widget_theysaidso_widget
frontend-checklist-version
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by Frontend Checklist
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,888 ▲14213.55 ▼0.855.25 ▲3.4145.65 ▲2.98
Dashboard /wp-admin2,210 ▲255.85 ▼0.02106.37 ▲2.1738.47 ▼8.32
Posts /wp-admin/edit.php2,090 ▲12.04 ▲0.0233.11 ▼7.2434.14 ▼4.21
Add New Post /wp-admin/post-new.php1,537 ▼123.12 ▲0.04647.50 ▲47.0155.11 ▲6.37
Media Library /wp-admin/upload.php1,392 ▲14.16 ▼0.0597.34 ▲0.8643.41 ▲1.18
Frontend Checklist /wp-admin/options-general.php?page=frontend-checklist8262.1826.1925.82

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 7 options
    • widget_recent-posts
    • frontend-checklist-meta-options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests 50% 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 no errors were found, this is by no means an exhaustive test

SRP 0% from 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
Please fix the following items
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/frontend-checklist/frontend-checklist-pdf.php
  • 8× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/frontend-checklist/frontend-checklist-pdf.php on line 12
    • > PHP Warning
      Invalid argument supplied for foreach() in wp-content/plugins/frontend-checklist/frontend-checklist-pdf.php on line 16
    • > PHP Notice
      Undefined index: frontend-checklist-pdf-title in wp-content/plugins/frontend-checklist/frontend-checklist-pdf.php on line 12
    • > PHP Notice
      Undefined index: id in wp-content/plugins/frontend-checklist/frontend-checklist-pdf.php on line 5
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/frontend-checklist/frontend-checklist-pdf.php on line 16
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/frontend-checklist/frontend-checklist-menu.php:3
    • > PHP Notice
      Undefined index: frontend-checklist-items in wp-content/plugins/frontend-checklist/frontend-checklist-pdf.php on line 16
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/frontend-checklist/frontend-checklist-menu.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: checkliste, to-do, list, liste, packing list...

frontend-checklist/frontend-checklist.php 92% from 13 tests

Analyzing the main PHP file in "Frontend Checklist" version 2.3.2
It is important to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 166 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected3,935 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
PHP54163503,218
PO File5143284658
JavaScript115059

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity154.50
▷ Minimum class complexity24.00
▷ Maximum class complexity410.00
Average method complexity5.69
▷ Minimum method complexity1.00
▷ Maximum method complexity46.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods131
▷ Static methods1712.98%
▷ Public methods131100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants8
▷ Global constants8100.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