< Summary

Class:MUNity.BlazorServer.Components.Conference.Dashboard.RepresentedCountriesComponent
Assembly:MUNity.BlazorServer
File(s):C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNity.BlazorServer\Components\Conference\Dashboard\RepresentedCountriesComponent.razor
Covered lines:0
Uncovered lines:7
Coverable lines:7
Total lines:59
Line coverage:0% (0 of 7)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:2
Method coverage:0% (0 of 2)

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
BuildRenderTree(...)100%10%
get_ConferenceId()100%10%

File(s)

C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNity.BlazorServer\Components\Conference\Dashboard\RepresentedCountriesComponent.razor

#LineLine coverage
 1@using MUNity.Database.Models.Conference.Roles
 2
 3@inject MunityContext dbContext
 4
 5<div class="panel panel-inverse" data-sortable-id="index-1">
 6  <div class="panel-heading ui-sortable-handle">
 7    <h4 class="panel-title">
 8      Weltkarte vertretene Staaten
 9    </h4>
 10  </div>
 11  <MUNity.BlazorServer.Components.General.VectorMapComponent IsoToColor="@dbContext.Delegates.Where(n => n.Conference.Co
 12  <div class="list-group">
 13    <a href="javascript:;" class="list-group-item rounded-0 list-group-item-action list-group-item-inverse d-flex justif
 14      Afrika
 15      <span class="badge bg-teal fs-10px">
 016        @dbContext.Delegates.Where(n => n.Conference.ConferenceId == ConferenceId && n.DelegateCountry.Continent == ECon
 17      </span>
 18    </a>
 19
 20    <a href="javascript:;" class="list-group-item rounded-0 list-group-item-action list-group-item-inverse d-flex justif
 21      Asien
 22      <span class="badge bg-teal fs-10px">
 023        @dbContext.Delegates.Where(n => n.Conference.ConferenceId == ConferenceId && n.DelegateCountry.Continent == ECon
 24      </span>
 25    </a>
 26
 27    <a href="javascript:;" class="list-group-item rounded-0 list-group-item-action list-group-item-inverse d-flex justif
 28      Europa
 29      <span class="badge bg-teal fs-10px">
 030        @dbContext.Delegates.Where(n => n.Conference.ConferenceId == ConferenceId && n.DelegateCountry.Continent == ECon
 31      </span>
 32    </a>
 33
 34    <a href="javascript:;" class="list-group-item rounded-0 list-group-item-action list-group-item-inverse d-flex justif
 35      North America
 36      <span class="badge bg-teal fs-10px">
 037        @dbContext.Delegates.Where(n => n.Conference.ConferenceId == ConferenceId && n.DelegateCountry.Continent == ECon
 38      </span>
 39    </a>
 40
 41    <a href="javascript:;" class="list-group-item rounded-0 list-group-item-action list-group-item-inverse d-flex justif
 42      Ozeianien
 43      <span class="badge bg-teal fs-10px">
 044        @dbContext.Delegates.Where(n => n.Conference.ConferenceId == ConferenceId && n.DelegateCountry.Continent == ECon
 45      </span>
 46    </a>
 47
 48    <a href="javascript:;" class="list-group-item rounded-0 list-group-item-action list-group-item-inverse d-flex justif
 49      Südameria
 50      <span class="badge bg-teal fs-10px">
 051        @dbContext.Delegates.Where(n => n.Conference.ConferenceId == ConferenceId && n.DelegateCountry.Continent == ECon
 52      </span>
 53    </a>
 54  </div>
 55</div>
 56
 57@code {
 058  [Parameter] public string ConferenceId { get; set; }
 59}