83% bbpress-reply-titles

Code Review | bbPress Reply Titles

WordPress plugin bbPress Reply Titles scored83%from 54 tests.

About plugin

  • Plugin page: bbpress-reply-titles
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: May 20, 2014
  • Latest release: Jul 25, 2016
  • Number of updates: 6
  • Update frequency: every 132.8 days
  • Top authors: boonebgorges (100%)

Code review

54 tests

User reviews

1 review

Install metrics

70+ active /2,407 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

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

A check of server-side resources used by bbPress Reply Titles
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0138.56 ▼1.70
Dashboard /wp-admin3.32 ▼0.0348.47 ▼12.90
Posts /wp-admin/edit.php3.37 ▲0.0145.09 ▼5.63
Add New Post /wp-admin/post-new.php5.90 ▲0.0182.23 ▼26.32
Media Library /wp-admin/upload.php3.24 ▲0.0135.47 ▼4.53

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for bbPress Reply Titles
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲4314.32 ▼0.091.95 ▼0.4439.32 ▼11.09
Dashboard /wp-admin2,195 ▲185.55 ▲0.0283.36 ▼9.0539.76 ▼2.60
Posts /wp-admin/edit.php2,100 ▼32.02 ▼0.0034.97 ▼7.3833.74 ▼5.19
Add New Post /wp-admin/post-new.php1,528 ▲223.21 ▼0.57690.35 ▲21.3956.46 ▲1.84
Media Library /wp-admin/upload.php1,397 ▼34.16 ▼0.01101.42 ▼13.1142.94 ▼4.58

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
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded

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
Everything seems fine, however this is by no means an exhaustive test

SRP 50% 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
Please take a closer look at the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbpress-reply-titles/bbp-reply-titles.php:25

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)
Everything seems fine on the user side

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
  • Requires at least: Invalid version format
  • Tested up to: Invalid version format
Please take inspiration from this readme.txt

bbpress-reply-titles/bbp-reply-titles.php 85% from 13 tests

The principal PHP file in "bbPress Reply Titles" v. 1.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Domain Path: The domain path is invalid: folder "/languages" does not exist
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("bbpress-reply-titles.php" instead of "bbp-reply-titles.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin31 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP142723
CSS1106
Markdown1102

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.25
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

All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin