94% add-a-yoast-breadcrumb

Code Review | Add a Yoast Breadcrumb

WordPress plugin Add a Yoast Breadcrumb scored 94% from 54 tests.

About plugin

  • Plugin page: add-a-yoast-bread...
  • Plugin version: 1.1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.5
  • WordPress version: 5.9.2
  • First release: Mar 8, 2016
  • Latest release: Apr 16, 2016
  • Number of updates: 4
  • Update frequency: every 11.2 days
  • Top authors: allonsacks@gmail.com (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

100+ active / 2,989 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

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

An overview of server-side resources used by Add a Yoast Breadcrumb
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0155.11 ▲0.53
Dashboard /wp-admin3.41 ▲0.0139.71 ▼1.27
Posts /wp-admin/edit.php3.65 ▲0.01103.60 ▲29.49
Add New Post /wp-admin/post-new.php6.91 ▼0.0697.50 ▼1,171.18
Media Library /wp-admin/upload.php3.30 ▲0.0024.02 ▼5.49

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Add a Yoast Breadcrumb
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,783 ▲6115.82 ▼0.177.04 ▲1.402.37 ▲0.16
Dashboard /wp-admin2,895 ▲376.07 ▼0.15116.24 ▼17.74171.66 ▲7.39
Posts /wp-admin/edit.php2,688 ▼63.23 ▼0.0161.60 ▼6.64142.63 ▲4.06
Add New Post /wp-admin/post-new.php1,767 ▲10621.76 ▲4.49429.28 ▲11.86182.70 ▲21.62
Media Library /wp-admin/upload.php1,694 ▼75.49 ▼0.05151.21 ▲6.00213.53 ▲20.28

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully

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 no errors were found, this is by no means an exhaustive test

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× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/add-a-yoast-breadcrumb/add-a-yoast-breadcrumb.php

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found


Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === add-a-yoast-breadcrumb === )
The official readme.txt might help

add-a-yoast-breadcrumb/add-a-yoast-breadcrumb.php Passed 13 tests

The main file in "Add a Yoast Breadcrumb" v. 1.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
82 characters long description:
This plugin gives you an option to append a link after the first breadcrumb (Home)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin84 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.64
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 functions6100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin