83% breadcrumb-navigation-for-seo-with-microdata

Code Review | Breadcrumb Navigation for SEO with Microdata

WordPress plugin Breadcrumb Navigation for SEO with Microdata scored83%from 54 tests.

About plugin

  • Plugin page: breadcrumb-naviga...
  • Plugin version: 1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.4
  • WordPress version: 6.3.1
  • First release: Sep 7, 2015
  • Latest release: Nov 19, 2015
  • Number of updates: 10
  • Update frequency: every 7.3 days
  • Top authors: tobias_.MerZ (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,669 total downloads


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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.02MB] [CPU: ▼9.83ms] Passed 4 tests

An overview of server-side resources used by Breadcrumb Navigation for SEO with Microdata
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.39 ▼0.0824.43 ▼12.32
Dashboard /wp-admin3.31 ▲0.0143.50 ▼2.67
Posts /wp-admin/edit.php3.36 ▲0.0051.39 ▼0.26
Add New Post /wp-admin/post-new.php5.89 ▲0.0179.30 ▼23.25
Media Library /wp-admin/upload.php3.23 ▲0.0032.83 ▼1.09

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Breadcrumb Navigation for SEO with Microdata
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,811 ▲5014.33 ▼0.031.67 ▲0.0436.40 ▼2.54
Dashboard /wp-admin2,210 ▲305.56 ▼0.0489.69 ▼7.8338.69 ▼7.42
Posts /wp-admin/edit.php2,118 ▲182.03 ▲0.0439.56 ▲2.1136.74 ▲1.78
Add New Post /wp-admin/post-new.php1,543 ▲1722.84 ▼0.73657.63 ▲51.0156.58 ▼4.66
Media Library /wp-admin/upload.php1,415 ▲154.42 ▲0.1696.22 ▼7.5840.81 ▼0.64

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

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

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
  • 4× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/breadcrumb-navigation-for-seo-with-microdata/breadcrumb.php:30
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/breadcrumb-navigation-for-seo-with-microdata/check_theme.php:34
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/breadcrumb-navigation-for-seo-with-microdata/adminpages/functions_admin.php:59
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/breadcrumb-navigation-for-seo-with-microdata/adminpages/admin.php:38

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found


Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
  • Screenshots: Add images for these screenshots: #1 (The first screenshot shows the admin menu, where you have several settings to customize the breadcrumbs.), #2 (The second screenshot shows how the breadcrumbs look with the settings from screenshot 1.), #3 (The Theme Menu)
  • Plugin Name: Please specify the plugin name on the first line ( === breadcrumb-navigation-for-seo-with-microdata === )
You can take inspiration from this readme.txt

breadcrumb-navigation-for-seo-with-microdata/breadcrumb.php 92% from 13 tests

The principal PHP file in "Breadcrumb Navigation for SEO with Microdata" v. 1.2 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("breadcrumb-navigation-for-seo-with-microdata.php" instead of "breadcrumb.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin300 lines of code in 6 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
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.22
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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png29.79KB12.12KB▼ 59.33%
screenshot-2.png3.00KB2.24KB▼ 25.29%
screenshot-3.png9.17KB3.73KB▼ 59.32%