100% easy-breadcrumbs

Code Review | Easy Breadcrumbs

WordPress plugin Easy Breadcrumbs scored 100% from 54 tests.

About plugin

  • Plugin page: easy-breadcrumbs
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.0-4.2.2
  • WordPress version: 5.8.1
  • First release: Jun 11, 2015
  • Latest release: Jun 11, 2015
  • Number of updates: 9
  • Update frequency: every 0.2 days
  • Top authors: harshall (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active / 808 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

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

Server-side resources used by Easy Breadcrumbs
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0033.57 ▼4.40
Dashboard /wp-admin3.06 ▲0.0044.44 ▼5.59
Posts /wp-admin/edit.php3.11 ▲0.0035.98 ▼7.00
Add New Post /wp-admin/post-new.php5.42 ▼0.0292.00 ▼551.22
Media Library /wp-admin/upload.php3.00 ▲0.0034.91 ▲1.87

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Easy Breadcrumbs
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,679 ▲9815.97 ▲0.4310.09 ▲1.8551.42 ▲2.97
Dashboard /wp-admin2,973 ▲425.99 ▼0.17149.66 ▼7.99116.86 ▲7.70
Posts /wp-admin/edit.php2,739 ▼02.71 ▼0.0168.15 ▲1.5392.46 ▲6.14
Add New Post /wp-admin/post-new.php1,604 ▼7918.82 ▲0.11392.59 ▼5.81108.48 ▼3.08
Media Library /wp-admin/upload.php1,807 ▼35.06 ▲0.04147.53 ▼5.56113.56 ▼0.89

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstaller ran successfully

Smoke tests Passed 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 Passed 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration Passed 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
3 plugin tags: navigation, breadcrumb, breadcrumbs

easy-breadcrumbs/easy-breadcrumbs.php Passed 13 tests

The primary PHP file in "Easy Breadcrumbs" version 1.0 is used by WordPress to initiate all plugin functionality
72 characters long description:
A handy plugin which allows you to quickly create breadcrumb navigation.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin75 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP263875

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.48
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ 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
PNG images were not found in this plugin