78% 12-step-meeting-list-feedback-enhancement

Code Review | 12 Step Meeting List Feedback Enhancement

WordPress plugin 12 Step Meeting List Feedback Enhancement scored 78% from 54 tests.

About plugin

  • Plugin page: 12-step-meeting-l...
  • Plugin version: 1.0.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.2-5.8.2
  • WordPress version: 5.9.2
  • First release: Nov 24, 2021
  • Latest release: Feb 17, 2022
  • Number of updates: 12
  • Update frequency: every 7.2 days
  • Top authors: waypar (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 457 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

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

A check of server-side resources used by 12 Step Meeting List Feedback Enhancement
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0153.34 ▲1.48
Dashboard /wp-admin3.41 ▲0.0033.29 ▲0.44
Posts /wp-admin/edit.php3.64 ▲0.0037.97 ▲0.28
Add New Post /wp-admin/post-new.php6.91 ▼0.08101.56 ▼1,194.62
Media Library /wp-admin/upload.php3.29 ▼0.0122.62 ▼9.71

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for 12 Step Meeting List Feedback Enhancement
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,785 ▲4115.86 ▲0.266.46 ▼0.022.31 ▲0.19
Dashboard /wp-admin2,895 ▲446.12 ▼0.07121.10 ▼16.56163.18 ▲1.44
Posts /wp-admin/edit.php2,694 ▲33.24 ▲0.0062.93 ▼0.83142.65 ▲1.45
Add New Post /wp-admin/post-new.php1,661 ▼9116.35 ▼4.63414.13 ▼38.80153.76 ▼7.07
Media Library /wp-admin/upload.php1,695 ▼35.50 ▼0.02135.04 ▼6.67185.25 ▼6.30

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • This plugin did not uninstall without warnings or errors
    • > Warning in wp-includes/class-wp-hook.php+307
    call_user_func_array() expects parameter 1 to be a valid callback, function 'uninstall' not found or invalid function name

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP 0% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/12-step-meeting-list-feedback-enhancement/updater.php
  • 3× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function remove_action() in wp-content/plugins/12-step-meeting-list-feedback-enhancement/includes/ajax-override.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function tsml_assets() in wp-content/plugins/12-step-meeting-list-feedback-enhancement/templates/single-meetings.php:86
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/12-step-meeting-list-feedback-enhancement/12-step-meeting-list-feedback-enhancement.php:26

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed: The official readme.txt is a good inspiration

12-step-meeting-list-feedback-enhancement/12-step-meeting-list-feedback-enhancement.php 92% from 13 tests

The main PHP file in "12 Step Meeting List Feedback Enhancement" ver. 1.0.3 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
  • Description: Please keep the plugin description shorter than 140 characters (currently 311 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,813 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP4218541,742
PO File1182160
Markdown16011

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.63
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%
Functions8
▷ Named functions675.00%
▷ Anonymous functions225.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin