84% response-stack

Code Review | Response Stack

WordPress plugin Response Stack scored 84% from 54 tests.

About plugin

  • Plugin page: response-stack
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.8
  • WordPress version: 6.3.1
  • First release: May 31, 2014
  • Latest release: May 31, 2014
  • Number of updates: 7
  • Update frequency: every 9.3 days
  • Top authors: AramZS (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 776 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
This plugin's installer ran successfully

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

An overview of server-side resources used by Response Stack
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0235.06 ▼4.65
Dashboard /wp-admin3.33 ▲0.0244.64 ▼3.66
Posts /wp-admin/edit.php3.38 ▲0.0244.82 ▼2.57
Add New Post /wp-admin/post-new.php5.91 ▲0.0284.49 ▼10.75
Media Library /wp-admin/upload.php3.25 ▲0.0235.27 ▲4.16

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Response Stack
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,827 ▲9214.48 ▲0.171.91 ▲0.2743.28 ▲4.76
Dashboard /wp-admin2,203 ▲155.86 ▲0.9097.69 ▼8.7239.92 ▼3.40
Posts /wp-admin/edit.php2,089 ▼32.00 ▼0.0635.03 ▼4.5932.54 ▼2.50
Add New Post /wp-admin/post-new.php1,533 ▼023.35 ▲0.04652.85 ▼46.6753.69 ▼3.87
Media Library /wp-admin/upload.php1,388 ▼04.20 ▼0.0396.56 ▼11.1845.06 ▼1.37

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

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% 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× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/response-stack/response-stack.php:33

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
  • Donate link: Invalid URI ("")
Please take inspiration from this readme.txt

response-stack/response-stack.php Passed 13 tests

The main file in "Response Stack" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
74 characters long description:
This plugin allows users to build posts around user comments in WordPress.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin397 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
Sass391183
CSS129101
PHP1283588
Markdown111025

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.11
Average class complexity4.00
▷ Minimum class complexity4.00
▷ Maximum class complexity4.00
Average method complexity1.43
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods7
▷ Static methods457.14%
▷ Public methods7100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
No PNG files were detected