84% bbp-topic-and-reply-author-override

Code Review | bbPress Topic and Reply Author Override

WordPress plugin bbPress Topic and Reply Author Override scored84%from 54 tests.

About plugin

  • Plugin page: bbp-topic-and-rep...
  • Plugin version: 1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3-5.4
  • WordPress version: 6.3.1
  • First release: Aug 25, 2017
  • Latest release: Mar 7, 2020
  • Number of updates: 14
  • Update frequency: every 66.1 days
  • Top authors: raviry (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /1,232 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

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

A check of server-side resources used by bbPress Topic and Reply Author Override
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0039.10 ▼9.87
Dashboard /wp-admin3.31 ▲0.0150.97 ▼1.87
Posts /wp-admin/edit.php3.36 ▲0.0050.87 ▼0.79
Add New Post /wp-admin/post-new.php5.90 ▲0.0198.58 ▼3.56
Media Library /wp-admin/upload.php3.23 ▲0.0036.78 ▼1.76

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by bbPress Topic and Reply Author Override
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.72 ▲0.371.58 ▼0.2239.73 ▼5.64
Dashboard /wp-admin2,198 ▲245.63 ▼0.0290.81 ▲2.6041.42 ▼4.08
Posts /wp-admin/edit.php2,097 ▼31.99 ▲0.0238.55 ▲2.7733.88 ▼3.17
Add New Post /wp-admin/post-new.php1,526 ▼223.12 ▲0.22700.82 ▲23.3051.54 ▲0.79
Media Library /wp-admin/upload.php1,403 ▲64.24 ▼0.0194.45 ▼8.2141.56 ▼3.09

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP 50% 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 trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/bbp-topic-and-reply-author-override/bbp-topic-and-reply-author-override.php:39

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found


Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes: You can look at the official readme.txt

bbp-topic-and-reply-author-override/bbp-topic-and-reply-author-override.php Passed 13 tests

"bbPress Topic and Reply Author Override" version 1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
54 characters long description:
A qucik way to override bbPress topic and reply author

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
There were no executable files found in this plugin88 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.54
Average class complexity20.00
▷ Minimum class complexity20.00
▷ Maximum class complexity20.00
Average method complexity4.17
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods6100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ 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 were not PNG files found in your plugin