94% surbma-yoast-breadcrumb-shortcode

Code Review | Surbma | Yoast SEO Breadcrumb Shortcode

WordPress plugin Surbma | Yoast SEO Breadcrumb Shortcode scored 94% from 54 tests.

About plugin

  • Plugin page: surbma-yoast-brea...
  • Plugin version: 1.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.8
  • WordPress version: 5.8.1
  • First release: Jan 28, 2015
  • Latest release: Nov 9, 2021
  • Number of updates: 22
  • Update frequency: every 112.6 days
  • Top authors: Surbma (100%)

Code review

54 tests

User reviews

9 reviews

Install metrics

7,000+ active / 29,197 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.00MB] [CPU: ▼145.72ms] Passed 4 tests

Analyzing server-side resources used by Surbma | Yoast SEO Breadcrumb Shortcode
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1235.59 ▲12.94
Dashboard /wp-admin3.07 ▲0.0149.31 ▲6.93
Posts /wp-admin/edit.php3.12 ▲0.0144.14 ▲7.44
Add New Post /wp-admin/post-new.php5.43 ▼0.0084.60 ▼586.39
Media Library /wp-admin/upload.php3.01 ▼0.0031.79 ▼10.86

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Surbma | Yoast SEO Breadcrumb Shortcode: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10716.28 ▲0.1810.49 ▲0.6347.16 ▼5.13
Dashboard /wp-admin2,973 ▲395.91 ▼0.02138.31 ▼7.69117.45 ▲0.13
Posts /wp-admin/edit.php2,739 ▼02.71 ▲0.0163.65 ▼8.5884.99 ▼12.25
Add New Post /wp-admin/post-new.php1,672 ▲17218.73 ▲0.05361.17 ▼17.28104.45 ▼6.73
Media Library /wp-admin/upload.php1,810 ▲35.04 ▲0.02143.03 ▼24.29115.69 ▼23.65

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables

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 everything seems fine, this is not 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
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/surbma-yoast-breadcrumb-shortcode/surbma-yoast-breadcrumb-shortcode.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: shortcode, wordpress seo, yoast seo, wpseo-breadcrumb, breadcrumb...

surbma-yoast-breadcrumb-shortcode/surbma-yoast-breadcrumb-shortcode.php 92% from 13 tests

Analyzing the main PHP file in "Surbma | Yoast SEO Breadcrumb Shortcode" version 1.1
You should first fix the following items:
  • Domain Path: The domain path points to an invalid folder, "/languages/" does not exist

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin28 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.56
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 functions2100.00%
▷ Anonymous functions00.00%
▷ 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
There were not PNG files found in your plugin