84% group-forum-crumbs

Code Review | Group Forum Crumbs

WordPress plugin Group Forum Crumbs scored84%from 54 tests.

About plugin

  • Plugin page: group-forum-crumbs
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-3.5.1
  • WordPress version: 6.3.1
  • First release: Mar 19, 2013
  • Latest release: Mar 19, 2013
  • Number of updates: 6
  • Update frequency: every 0.2 days
  • Top authors: Ruuttu (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /2,392 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
Installer ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼8.52ms] Passed 4 tests

An overview of server-side resources used by Group Forum Crumbs
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0038.27 ▼9.48
Dashboard /wp-admin3.31 ▼0.0448.88 ▼14.54
Posts /wp-admin/edit.php3.36 ▲0.0047.19 ▼4.53
Add New Post /wp-admin/post-new.php5.89 ▲0.0087.08 ▼5.52
Media Library /wp-admin/upload.php3.23 ▲0.0040.97 ▲5.66

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

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

Browser metrics Passed 4 tests

Group Forum Crumbs: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲1814.26 ▼0.361.52 ▼0.6441.09 ▼9.74
Dashboard /wp-admin2,198 ▲215.62 ▼0.0184.93 ▼4.1838.00 ▼8.48
Posts /wp-admin/edit.php2,103 ▼02.02 ▲0.0134.57 ▼7.2032.94 ▼2.64
Add New Post /wp-admin/post-new.php1,526 ▲123.68 ▼0.22671.36 ▲49.0351.29 ▼0.81
Media Library /wp-admin/upload.php1,397 ▼34.22 ▲0.03100.42 ▼4.2846.29 ▲2.01

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/group-forum-crumbs/bp-gfcrumbs.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: forum, buddypress, breadcrumbs, group

group-forum-crumbs/bp-gfcrumbs.php 92% from 13 tests

This is the main PHP file of "Group Forum Crumbs" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("group-forum-crumbs.php" instead of "bp-gfcrumbs.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected3 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1383

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
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

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin