10% bread-crumb-matching-any-theme-skin

Code Review | Bread Crumb based on URL

WordPress plugin Bread Crumb based on URL scored 10% from 54 tests.

About plugin

  • Plugin page: bread-crumb-match...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.2
  • WordPress version: 6.3.1
  • First release: Dec 29, 2016
  • Latest release: May 8, 2023
  • Number of updates: 57
  • Update frequency: every 40.7 days
  • Top authors: tawhidurrahmandear (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

400+ active / 7,837 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
  • This plugin did not install gracefully
    • > Deprecated in wp-content/plugins/bread-crumb-matching-any-theme-skin/bread-crumb-based-on-url.php+21
    Methods with the same name as their class will not be constructors in a future version of PHP; tawhidurrahmandearsevenWidget has a deprecated constructor

Server metrics [RAM: ▼1.92MB] [CPU: ▼54.42ms] Passed 4 tests

This is a short check of server-side resources used by Bread Crumb based on URL
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.07 ▼1.404.66 ▼36.15
Dashboard /wp-admin2.09 ▼1.225.30 ▼43.88
Posts /wp-admin/edit.php2.09 ▼1.275.74 ▼44.02
Add New Post /wp-admin/post-new.php2.09 ▼3.805.39 ▼93.62
Media Library /wp-admin/upload.php2.09 ▼1.155.60 ▼28.54

Server storage [IO: ▲0.01MB] [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, 7 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_tawhidurrahmandearsevenwidget

Browser metrics Passed 4 tests

An overview of browser requirements for Bread Crumb based on URL
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲9013.31 ▼1.062.07 ▼1.3145.15 ▲2.69
Dashboard /wp-admin2,206 ▲185.91 ▲1.01108.81 ▼2.3943.66 ▼1.97
Posts /wp-admin/edit.php2,089 ▼32.02 ▲0.0138.66 ▼2.1033.80 ▼1.57
Add New Post /wp-admin/post-new.php1,533 ▼523.41 ▲0.04645.63 ▼7.5154.18 ▼2.65
Media Library /wp-admin/upload.php1,391 ▲34.25 ▲0.0695.39 ▼6.0342.14 ▼3.01

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • This plugin did not uninstall without warnings or errors
    • > Deprecated in wp-content/plugins/bread-crumb-matching-any-theme-skin/bread-crumb-based-on-url.php+21
    Methods with the same name as their class will not be constructors in a future version of PHP; tawhidurrahmandearsevenWidget has a deprecated constructor
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_tawhidurrahmandearsevenwidget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

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

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

Optimizations

Plugin configuration 93% from 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
5 plugin tags: breadcrumb, url breadcrumb, permalink, bread crumb, url

bread-crumb-matching-any-theme-skin/bread-crumb-based-on-url.php 85% from 13 tests

The principal PHP file in "Bread Crumb based on URL" v. 1.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 244 characters long)
  • Main file name: Name the main plugin file the same as the plugin slug ("bread-crumb-matching-any-theme-skin.php" instead of "bread-crumb-based-on-url.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected45 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1151145

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.16
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity1.50
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.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 files were detected