< Summary - Jellyfin

Information
Class: Jellyfin.Server.Migrations.Stages.MigrationStage
Assembly: jellyfin
File(s): /srv/git/jellyfin/Jellyfin.Server/Migrations/Stages/MigrationStage.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 16
Line coverage: 100%
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

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%

File(s)

/srv/git/jellyfin/Jellyfin.Server/Migrations/Stages/MigrationStage.cs

#LineLine coverage
 1using System.Collections.ObjectModel;
 2
 3namespace Jellyfin.Server.Migrations.Stages;
 4
 5/// <summary>
 6/// Defines a Stage that can be Invoked and Handled at different times from the code.
 7/// </summary>
 8internal class MigrationStage : Collection<CodeMigration>
 9{
 12610    public MigrationStage(JellyfinMigrationStageTypes stage)
 11    {
 12        Stage = stage;
 12613    }
 14
 15    public JellyfinMigrationStageTypes Stage { get; }
 16}