68% orbisius-bbpress-enhancer

Code Review | Orbisius bbPress Enhancer

WordPress plugin Orbisius bbPress Enhancer scored68%from 54 tests.

About plugin

  • Plugin page: orbisius-bbpress-...
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 2.0.2-3.5.2
  • WordPress version: 6.3.1
  • First release: Mar 16, 2013
  • Latest release: Jul 11, 2013
  • Number of updates: 8
  • Update frequency: every 14.7 days
  • Top authors: lordspace (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

50+ active /3,292 total downloads

Benchmarks

Plugin footprint 65% 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.92MB] [CPU: ▼29.98ms] Passed 4 tests

This is a short check of server-side resources used by Orbisius bbPress Enhancer
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0334.44 ▼4.94
Dashboard /wp-admin3.02 ▼0.2823.08 ▼22.10
Posts /wp-admin/edit.php3.02 ▼0.3324.03 ▼17.33
Add New Post /wp-admin/post-new.php3.02 ▼2.8624.65 ▼68.24
Media Library /wp-admin/upload.php3.02 ▼0.2023.69 ▼12.26
Orbisius bbPress Enhancer /wp-admin/options-general.php?page=orbisius-bbpress-enhancer/orbisius-bbpress-enhancer.php3.0325.70

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Orbisius bbPress Enhancer
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,806 ▲7113.25 ▼1.414.77 ▲3.0839.74 ▼7.29
Dashboard /wp-admin2,210 ▲224.85 ▼0.93112.01 ▼2.6541.43 ▼5.56
Posts /wp-admin/edit.php2,095 ▲62.01 ▼0.0439.17 ▲2.1635.70 ▼1.74
Add New Post /wp-admin/post-new.php1,536 ▲2223.36 ▲5.82661.03 ▼36.5658.96 ▼5.65
Media Library /wp-admin/upload.php1,392 ▲74.22 ▼0.0096.06 ▼4.3946.41 ▲0.92
Orbisius bbPress Enhancer /wp-admin/options-general.php?page=orbisius-bbpress-enhancer/orbisius-bbpress-enhancer.php9572.0727.4332.87

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • This plugin did not uninstall without warnings or errors
    • > User deprecated in wp-includes/functions.php+5737
    Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=orbisius-bbpress-enhancer/orbisius-bbpress-enhancer.php
    • > User deprecated in wp-includes/functions.php+5737
    Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.

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 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/orbisius-bbpress-enhancer/orbisius-bbpress-enhancer.php:30

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 97% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
  • Screenshots: Add images for these screenshots: #1 (Shows the author box which allows you to change the author of a forum post), #2 (Showing how the checkbox is checked off)
You can look at the official readme.txt

orbisius-bbpress-enhancer/orbisius-bbpress-enhancer.php Passed 13 tests

The main PHP file in "Orbisius bbPress Enhancer" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
73 characters long description:
This plugin adds missing or not yet implemented functionality to bbPress.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin187 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP154103187

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.27
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%
Functions10
▷ Named functions10100.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
4 PNG files occupy 0.09MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png63.96KB32.81KB▼ 48.70%
i/guNzr.qr.2.png0.23KB0.23KB0.43%
screenshot-2.png29.42KB10.63KB▼ 63.86%
i/guNzr.qr.16.png0.39KB0.41KB0.00%