< Summary - Code Coverage

Information
Class: Plainquire.Page.TypeExtensions
Assembly: Plainquire.Page
File(s): /home/runner/work/plainquire/plainquire/Plainquire.Page/Plainquire.Page/Extensions/TypeExtensions.cs
Tag: 64_13932151703
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 17
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage
100%
Covered methods: 1
Total methods: 1
Method coverage: 100%

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
IsEntityPage(...)100%11100%

File(s)

/home/runner/work/plainquire/plainquire/Plainquire.Page/Plainquire.Page/Extensions/TypeExtensions.cs

#LineLine coverage
 1using System;
 2
 3namespace Plainquire.Page;
 4
 5/// <summary>
 6/// Extension methods for <see cref="Type"/>.
 7/// </summary>
 8internal static class TypeExtensions
 9{
 10    /// <summary>
 11    /// Determines whether the given type is <see cref="EntityPage"/>.
 12    /// </summary>
 13    /// <param name="type">The type.</param>
 14    /// <autogeneratedoc />
 15    public static bool IsEntityPage(this Type type)
 89116        => typeof(EntityPage).IsAssignableFrom(type);
 17}

Methods/Properties

IsEntityPage(System.Type)