< Summary - Kestrun — Combined Coverage

Information
Class: Private.Routing._KrMerge-Unique
Assembly: Kestrun.PowerShell.Private
File(s): /home/runner/work/Kestrun/Kestrun/src/PowerShell/Kestrun/Private/Routing/_KrMerge-Unique.ps1
Tag: Kestrun/Kestrun@6135d944f8787fb570e4dfbacac6e80312799a86
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 18
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Coverage history

Coverage history 0 25 50 75 100 12/01/2025 - 20:55:19 Line coverage: 0% (0/1) Total lines: 18 Tag: Kestrun/Kestrun@638a27c2dd54103f693f023b6ba5f56a884caafa

Metrics

File(s)

/home/runner/work/Kestrun/Kestrun/src/PowerShell/Kestrun/Private/Routing/_KrMerge-Unique.ps1

#LineLine coverage
 1<#
 2    .SYNOPSIS
 3        Merges two arrays, preserving unique values.
 4    .DESCRIPTION
 5        This function takes two arrays and merges them into a single array,
 6        preserving only unique values.
 7    .PARAMETER a
 8        The first array to merge.
 9    .PARAMETER b
 10        The second array to merge.
 11    .OUTPUTS
 12        Array
 13#>
 14function _KrMerge-Unique {
 15    [Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseApprovedVerbs', '')]
 16    param([string[]]$a, [string[]]$b)
 017    @(($a + $b | Where-Object { $_ -ne $null } | Select-Object -Unique))
 18}

Methods/Properties

_KrMerge-Unique()