< Summary

Class:MUNity.BlazorServer.Components.General.VectorMapCountryComponent
Assembly:MUNity.BlazorServer
File(s):C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNity.BlazorServer\Components\General\VectorMapCountryComponent.razor
Covered lines:0
Uncovered lines:5
Coverable lines:5
Total lines:19
Line coverage:0% (0 of 5)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:3
Method coverage:0% (0 of 3)

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_FillColor()100%10%
get_Country()100%10%
LogOnClick()100%10%

File(s)

C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNity.BlazorServer\Components\General\VectorMapCountryComponent.razor

#LineLine coverage
 1<g @onclick="LogOnClick">
 2    <path d="@Country.Path" fill="@FillColor" fill-opacity="1" stroke="none" stroke-width="0.4" stroke-opacity="1" fill-
 3    <path d="@Country.Path" data-code="BD" fill="transparent" stroke="transparent" stroke-width="0" fill-rule="evenodd" 
 4</g>
 5@code {
 6    public const string DefaultFillColor = "#455A64";
 7
 08    [Parameter] public string FillColor { get; set; } = "#455A64";
 9
 010    [Parameter] public VectorMapCountry Country { get; set; }
 11
 12    private string Path;
 13
 14    private void LogOnClick()
 015    {
 016        Console.WriteLine($"Clicked on {Country.Name}");
 17
 018    }
 19}