< Summary - Kestrun — Combined Coverage

Information
Class: Private.Assembly.Add-KrCodeAnalysisType
Assembly: Kestrun.PowerShell.Private
File(s): /home/runner/work/Kestrun/Kestrun/src/PowerShell/Kestrun/Private/Assembly/Add-KrCodeAnalysisType.ps1
Tag: Kestrun/Kestrun@eeafbe813231ed23417e7b339e170e307b2c86f9
Line coverage
0%
Covered lines: 0
Uncovered lines: 10
Coverable lines: 10
Total lines: 33
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 09/12/2025 - 13:32:05 Line coverage: 100% (11/11) Total lines: 34 Tag: Kestrun/Kestrun@63ea5841fe73fd164406accba17a956e8c08357f10/13/2025 - 16:52:37 Line coverage: 0% (0/11) Total lines: 34 Tag: Kestrun/Kestrun@10d476bee71c71ad215bb8ab59f219887b5b4a5e12/21/2025 - 19:25:34 Line coverage: 0% (0/10) Total lines: 33 Tag: Kestrun/Kestrun@63eee3e6ff7662a7eb5bb3603d667daccb809f2d01/21/2026 - 17:07:46 Line coverage: 100% (10/10) Total lines: 33 Tag: Kestrun/Kestrun@3f6f61710c7ef7d5953cab578fe699c1e5e01a3602/05/2026 - 00:28:18 Line coverage: 0% (0/10) Total lines: 33 Tag: Kestrun/Kestrun@d9261bd752e45afa789d10bc0c82b7d5724d9589

Coverage delta

Coverage delta 100 -100

Metrics

File(s)

/home/runner/work/Kestrun/Kestrun/src/PowerShell/Kestrun/Private/Assembly/Add-KrCodeAnalysisType.ps1

#LineLine coverage
 1<#
 2    .SYNOPSIS
 3        Adds the specified version of the Microsoft.CodeAnalysis assemblies to the session.
 4    .DESCRIPTION
 5        This function loads the specified version of the Microsoft.CodeAnalysis assemblies into the current session.
 6    .PARAMETER ModuleRootPath
 7        The root path of the module.
 8    .PARAMETER Version
 9        The version of the Microsoft.CodeAnalysis assemblies to load.
 10#>
 11function Add-KrCodeAnalysisType {
 12    [CmdletBinding()]
 13    [OutputType([bool])]
 14    param (
 15        [Parameter(Mandatory = $true)]
 16        [string]$ModuleRootPath,
 17        [Parameter(Mandatory = $true)]
 18        [string]$Version
 19    )
 020    $codeAnalysisassemblyLoadPath = Join-Path -Path $ModuleRootPath -ChildPath 'lib' -AdditionalChildPath 'Microsoft.Cod
 021    return(
 022        (Assert-KrAssemblyLoaded -AssemblyPath (Join-Path -Path "$codeAnalysisassemblyLoadPath" -ChildPath 'Microsoft.Co
 023        (Assert-KrAssemblyLoaded -AssemblyPath (Join-Path -Path "$codeAnalysisassemblyLoadPath" -ChildPath 'Microsoft.Co
 024        (Assert-KrAssemblyLoaded -AssemblyPath (Join-Path -Path "$codeAnalysisassemblyLoadPath" -ChildPath 'Microsoft.Co
 025        (Assert-KrAssemblyLoaded -AssemblyPath (Join-Path -Path "$codeAnalysisassemblyLoadPath" -ChildPath 'Microsoft.Co
 26        #Assert-KrAssemblyLoaded -AssemblyPath (Join-Path -Path "$codeAnalysisassemblyLoadPath" -ChildPath "Microsoft.Co
 027        (Assert-KrAssemblyLoaded -AssemblyPath (Join-Path -Path "$codeAnalysisassemblyLoadPath" -ChildPath 'Microsoft.Co
 028        (Assert-KrAssemblyLoaded -AssemblyPath (Join-Path -Path "$codeAnalysisassemblyLoadPath" -ChildPath 'Microsoft.Co
 029        (Assert-KrAssemblyLoaded -AssemblyPath (Join-Path -Path "$codeAnalysisassemblyLoadPath" -ChildPath 'Microsoft.Co
 030        (Assert-KrAssemblyLoaded -AssemblyPath (Join-Path -Path "$codeAnalysisassemblyLoadPath" -ChildPath 'Microsoft.Co
 31    )
 32}
 33

Methods/Properties

Add-KrCodeAnalysisType()