68% orbisius-bbpress-notify-me-on-follow-up-replies

Code Review | Orbisius bbPress Notify Me On Follow Up Replies

WordPress plugin Orbisius bbPress Notify Me On Follow Up Replies 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: Feb 26, 2013
  • Latest release: Jul 11, 2013
  • Number of updates: 8
  • Update frequency: every 16.7 days
  • Top authors: lordspace (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /2,647 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.96MB] [CPU: ▼146.56ms] Passed 4 tests

A check of server-side resources used by Orbisius bbPress Notify Me On Follow Up Replies
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0238.91 ▼11.44
Dashboard /wp-admin3.01 ▼0.4129.75 ▼480.37
Posts /wp-admin/edit.php3.01 ▼0.3428.75 ▼23.58
Add New Post /wp-admin/post-new.php3.01 ▼2.8726.41 ▼69.81
Media Library /wp-admin/upload.php3.01 ▼0.2224.17 ▼12.49
Orbisius bbPress Notify Me On Follow Up Replies /wp-admin/options-general.php?page=orbisius-bbpress-notify-me-on-follow-up-replies/plugin.php3.0125.37

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for Orbisius bbPress Notify Me On Follow Up Replies
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,821 ▲8613.27 ▼0.941.77 ▼0.1341.85 ▼7.96
Dashboard /wp-admin2,225 ▲254.84 ▼0.29105.57 ▲0.6238.76 ▼2.44
Posts /wp-admin/edit.php2,107 ▲72.00 ▼0.0435.12 ▼2.8635.42 ▼0.98
Add New Post /wp-admin/post-new.php1,529 ▼1617.61 ▼5.70679.72 ▲12.5259.01 ▲3.81
Media Library /wp-admin/upload.php1,401 ▲14.23 ▲0.02103.10 ▼4.4542.26 ▼3.26
Orbisius bbPress Notify Me On Follow Up Replies /wp-admin/options-general.php?page=orbisius-bbpress-notify-me-on-follow-up-replies/plugin.php8942.0223.2128.68

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • Uninstall procedure had uncaught 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.
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=orbisius-bbpress-notify-me-on-follow-up-replies/plugin.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 | 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 fix the following
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/orbisius-bbpress-notify-me-on-follow-up-replies/plugin.php:29

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% 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
These attributes need your attention:
  • Screenshots: Add an image for screenshot #1 (Showing how the checkbox is checked)
Please take inspiration from this readme.txt

orbisius-bbpress-notify-me-on-follow-up-replies/plugin.php 85% from 13 tests

The main PHP script in "Orbisius bbPress Notify Me On Follow Up Replies" version 1.0.2 is automatically included on every request by WordPress
It is important to fix the following:
  • Description: The description should be shorter than 140 characters (currently 157 characters long)
  • Main file name: Name the main plugin file the same as the plugin slug ("orbisius-bbpress-notify-me-on-follow-up-replies.php" instead of "plugin.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
Everything looks great! No dangerous files found in this plugin102 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12251102

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.12
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%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
i/guNzr.qr.2.png0.23KB0.23KB0.43%
screenshot-1.png23.16KB11.51KB▼ 50.32%
i/guNzr.qr.16.png0.39KB0.41KB0.00%