68% orbisius-bbpress-signature

Code Review | Orbisius bbPress Signature

WordPress plugin Orbisius bbPress Signature scored68%from 54 tests.

About plugin

  • Plugin page: orbisius-bbpress-...
  • Plugin version: 1.0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 2.6-3.8
  • WordPress version: 6.3.1
  • First release: Jul 4, 2013
  • Latest release: Jan 22, 2014
  • Number of updates: 10
  • Update frequency: every 21.5 days
  • Top authors: lordspace (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

20+ active /4,311 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.94MB] [CPU: ▼39.03ms] Passed 4 tests

A check of server-side resources used by Orbisius bbPress Signature
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0040.15 ▼2.16
Dashboard /wp-admin3.00 ▼0.3023.33 ▼29.88
Posts /wp-admin/edit.php3.00 ▼0.3622.75 ▼27.91
Add New Post /wp-admin/post-new.php3.00 ▼2.8922.33 ▼82.34
Media Library /wp-admin/upload.php3.00 ▼0.2321.35 ▼15.97
Orbisius bbPress Signature /wp-admin/options-general.php?page=orbisius-bbpress-signature/orbisius-bbpress-signature.php3.0021.84

Server storage [IO: ▲0.23MB] [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
widget_recent-comments
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

Orbisius bbPress Signature: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,835 ▲7414.24 ▼0.111.76 ▼0.0341.35 ▼2.92
Dashboard /wp-admin2,214 ▲345.64 ▼0.0581.98 ▼9.8975.61 ▲34.79
Posts /wp-admin/edit.php2,116 ▲191.98 ▲0.0433.75 ▼5.5729.64 ▼7.28
Add New Post /wp-admin/post-new.php1,569 ▲3523.22 ▼0.05685.03 ▲21.4461.03 ▲3.59
Media Library /wp-admin/upload.php1,419 ▲194.17 ▼0.02100.69 ▼3.2272.34 ▲21.70
Orbisius bbPress Signature /wp-admin/options-general.php?page=orbisius-bbpress-signature/orbisius-bbpress-signature.php9312.0324.6829.47

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • The plugin did not uninstall gracefully
    • > 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.
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=orbisius-bbpress-signature/orbisius-bbpress-signature.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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/orbisius-bbpress-signature/orbisius-bbpress-signature.php:30

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
  • Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (Shows how the signature will appear in the forum), #2 (Shows the signature box from top level menu in WordPress administration area), #3 (Shows the signature box from Edit Profile page), #4 (Shows the settings page)
Please take inspiration from this readme.txt

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

This is the main PHP file of "Orbisius bbPress Signature" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
71 characters long description:
This plugin allows your users to have signatures in your bbPress forum.

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 detected215 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP16073215

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.20
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%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 0.21MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
i/guNzr.qr.16.png0.39KB0.41KB0.00%
screenshot-4.png74.54KB34.79KB▼ 53.33%
screenshot-3.png58.81KB29.39KB▼ 50.02%
i/guNzr.qr.2.png0.23KB0.23KB0.43%
screenshot-1.png38.72KB20.49KB▼ 47.09%