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

Code Review | 12 Step Meeting List Feedback Enhancement

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

About plugin

  • Plugin page: 12-step-meeting-l...
  • Plugin version: 1.0.6
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.2-6.1
  • WordPress version: 6.3.1
  • First release: Nov 24, 2021
  • Latest release: Jul 26, 2022
  • Number of updates: 17
  • Update frequency: every 14.4 days
  • Top authors: waypar (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /3,036 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.00MB] [CPU: ▼3.67ms] Passed 4 tests

A check of server-side resources used by 12 Step Meeting List Feedback Enhancement
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0037.70 ▲2.77
Dashboard /wp-admin3.31 ▲0.0049.47 ▲0.83
Posts /wp-admin/edit.php3.36 ▲0.0046.30 ▼4.24
Add New Post /wp-admin/post-new.php5.89 ▲0.0079.88 ▼11.79
Media Library /wp-admin/upload.php3.23 ▲0.0033.54 ▲0.53

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
widget_recent-comments
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for 12 Step Meeting List Feedback Enhancement
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲4314.54 ▲0.051.89 ▲0.3744.53 ▲8.27
Dashboard /wp-admin2,198 ▲215.62 ▲0.0886.33 ▼13.7240.46 ▼6.75
Posts /wp-admin/edit.php2,100 ▼31.94 ▼0.0834.14 ▼11.6034.96 ▼1.74
Add New Post /wp-admin/post-new.php1,535 ▲918.03 ▼5.21668.21 ▼13.1572.71 ▲12.17
Media Library /wp-admin/upload.php1,397 ▼04.20 ▼0.0198.50 ▼2.5442.55 ▼3.55

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
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 0% 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 output text when accessed directly:
    • > /wp-content/plugins/12-step-meeting-list-feedback-enhancement/updater.php
  • 3× PHP files trigger errors when accessed directly with GET requests:
    • > 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 plugin_dir_path() in wp-content/plugins/12-step-meeting-list-feedback-enhancement/12-step-meeting-list-feedback-enhancement.php:26
    • > 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:8

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed: Please take inspiration from this readme.txt

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

The main PHP script in "12 Step Meeting List Feedback Enhancement" version 1.0.6 is automatically included on every request by WordPress
You should first fix the following items:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 311 characters long)

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
No dangerous file extensions were detected1,965 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP4224581,839
PO File1182160
JavaScript116455
Markdown16011

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.66
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%
Functions12
▷ Named functions1083.33%
▷ Anonymous functions216.67%
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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
templates/LocationInfo.png15.68KB7.17KB▼ 54.31%