83% breadcrumbs-everywhere

Code Review | Breadcrumbs Everywhere

WordPress plugin Breadcrumbs Everywhere scored83%from 54 tests.

About plugin

  • Plugin page: breadcrumbs-every...
  • Plugin version: 1.6
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Feb 28, 2012
  • Latest release: Dec 20, 2013
  • Number of updates: 48
  • Update frequency: every 13.8 days
  • Top authors: betsyk (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

90+ active /23,498 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

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

A check of server-side resources used by Breadcrumbs Everywhere
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0038.59 ▼1.76
Dashboard /wp-admin3.31 ▼0.0449.72 ▼12.02
Posts /wp-admin/edit.php3.36 ▲0.0044.41 ▼6.35
Add New Post /wp-admin/post-new.php5.89 ▲0.0089.34 ▼3.26
Media Library /wp-admin/upload.php3.23 ▲0.0033.36 ▲1.50

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Breadcrumbs Everywhere
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲2913.29 ▼1.291.64 ▼0.3646.59 ▲1.90
Dashboard /wp-admin2,209 ▲244.83 ▼0.0596.13 ▼22.2336.96 ▼6.25
Posts /wp-admin/edit.php2,086 ▼02.01 ▼0.0434.52 ▼1.5134.81 ▲1.20
Add New Post /wp-admin/post-new.php1,533 ▲1423.15 ▼0.19590.93 ▼81.7255.34 ▲0.64
Media Library /wp-admin/upload.php1,382 ▼64.22 ▲0.0396.63 ▼18.8040.71 ▼6.82

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
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 75% from 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)
Even though no errors were found, this is by no means an exhaustive test

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 fix the following
  • 2× 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/breadcrumbs-everywhere/includes/crumbs-admin.php:26
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/breadcrumbs-everywhere/loader.php:38

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side


Plugin configuration 86% from 29 tests

readme.txt 81% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
  • Screenshots: Add images for these screenshots: #1 (Breadcrumbs on Member pages), #2 (Breadcrumbs on Group pages), #3 (Admin page)
  • Requires at least: Invalid version format
  • Tested up to: Invalid version format
The official readme.txt might help

breadcrumbs-everywhere/loader.php 92% from 13 tests

"Breadcrumbs Everywhere" version 1.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("breadcrumbs-everywhere.php" instead of "loader.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin417 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PO File44452141

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.69
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions7100.00%
▷ Anonymous functions00.00%
▷ Global constants6100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png8.57KB5.55KB▼ 35.25%
screenshot-3.png7.54KB4.68KB▼ 37.89%
screenshot-2.png19.70KB9.52KB▼ 51.69%