90% fix-forum-breadcrumbs

Code Review | Fix Forum Breadcrumbs

WordPress plugin Fix Forum Breadcrumbs scored90%from 54 tests.

About plugin

  • Plugin page: fix-forum-breadcr...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9-6.1
  • WordPress version: 6.3.1
  • First release: Dec 10, 2015
  • Latest release: Oct 26, 2022
  • Number of updates: 21
  • Update frequency: every 119.7 days
  • Top authors: fliz (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /1,974 total downloads

Benchmarks

Plugin footprint 83% 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.01MB] [CPU: ▼5.08ms] Passed 4 tests

This is a short check of server-side resources used by Fix Forum Breadcrumbs
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.22 ▼4.96
Dashboard /wp-admin3.32 ▲0.0146.49 ▼3.42
Posts /wp-admin/edit.php3.37 ▲0.0149.67 ▼0.87
Add New Post /wp-admin/post-new.php5.90 ▲0.0179.64 ▼8.41
Media Library /wp-admin/upload.php3.24 ▲0.0132.00 ▼3.53

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for Fix Forum Breadcrumbs
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲9014.67 ▲0.291.95 ▲0.1538.80 ▼13.60
Dashboard /wp-admin2,209 ▲215.89 ▲0.83101.47 ▼16.3738.76 ▼5.65
Posts /wp-admin/edit.php2,092 ▼01.99 ▼0.0136.56 ▼4.2733.53 ▼3.08
Add New Post /wp-admin/post-new.php1,535 ▲1523.31 ▲0.14650.74 ▼2.1952.31 ▼3.70
Media Library /wp-admin/upload.php1,391 ▲64.29 ▲0.0798.61 ▼1.2941.82 ▼1.00

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

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

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: breadcrumbs, bbpress, forum breadcrumbs

fix-forum-breadcrumbs/fix-forum-breadcrumbs.php Passed 13 tests

This is the main PHP file of "Fix Forum Breadcrumbs" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
63 characters long description:
Removes duplicate root breadcrumb in bbPress forum breadcrumbs.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin56 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP2114156

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.20
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods240.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.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
No PNG images were found in this plugin