< Summary

Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 37
Line coverage: 100%
Branch coverage
100%
Covered branches: 2
Total branches: 2
Branch coverage: 100%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
File 1: BuildRenderTree(...)100%22100%
File 2: get_BaseClass()100%11100%
File 2: get_ComponentType()100%11100%

File(s)

/home/runner/work/allyaria/allyaria/src/Allyaria.Components.Blazor/ArySurface.razor

#LineLine coverage
 1@inherits AryComponentBase
 2
 203@if (ComponentState is not ComponentState.Hidden)
 4{
 5    <div aria-describedby="@AriaDescribedBy"
 6         aria-hidden="@ResolvedAriaHidden"
 7         aria-label="@AriaLabel"
 8         aria-labelledby="@AriaLabelledBy"
 9         class="@DerivedClass"
 10         id="@Id"
 11         role="@AriaRole"
 12         style="@DerivedStyle"
 13         tabindex="@ResolvedTabIndex"
 14         @attributes="@GetFilteredAttributes()">
 1815        @ChildContent
 16    </div>
 17}

/home/runner/work/allyaria/allyaria/src/Allyaria.Components.Blazor/ArySurface.razor.cs

#LineLine coverage
 1namespace Allyaria.Components.Blazor;
 2
 3/// <summary>
 4/// Represents a themed visual surface container within the Allyaria component system. Surfaces apply component-level
 5/// theming, styling, and accessibility metadata inherited from <see cref="AryComponentBase" />.
 6/// </summary>
 7public partial class ArySurface : AryComponentBase
 8{
 9    /// <summary>
 10    /// Gets the base CSS class applied to the surface component. The base class is combined with user-specified classes
 11    /// produce the final rendered class list.
 12    /// </summary>
 2013    protected override string BaseClass => "ary-surface";
 14
 15    /// <summary>
 16    /// Gets the Allyaria component type value identifying this component as a <c>Surface</c>. The theming engine uses t
 17    /// type to resolve appropriate CSS variables and visual settings.
 18    /// </summary>
 2619    protected override ComponentType ComponentType => ComponentType.Surface;
 20}