< Summary - Combined Code Coverage

Information
Class: NLightning.Models.Sqlite.Migrations.NLightningContextModelSnapshot
Assembly: NLightning.Models.Sqlite
File(s): /home/runner/work/nlightning/nlightning/src/NLightning.Models.Sqlite/Migrations/NLightningContextModelSnapshot.cs
Tag: 30_15166811759
Line coverage
0%
Covered lines: 0
Uncovered lines: 12
Coverable lines: 12
Total lines: 32
Line coverage: 0%
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

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
BuildModel(...)100%210%

File(s)

/home/runner/work/nlightning/nlightning/src/NLightning.Models.Sqlite/Migrations/NLightningContextModelSnapshot.cs

#LineLine coverage
 1// <auto-generated />
 2using Microsoft.EntityFrameworkCore;
 3using Microsoft.EntityFrameworkCore.Infrastructure;
 4using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
 5using NLightning.Models;
 6
 7#nullable disable
 8
 9namespace NLightning.Models.Sqlite.Migrations
 10{
 11    [DbContext(typeof(NLightningContext))]
 12    partial class NLightningContextModelSnapshot : ModelSnapshot
 13    {
 14        protected override void BuildModel(ModelBuilder modelBuilder)
 15        {
 16#pragma warning disable 612, 618
 017            modelBuilder.HasAnnotation("ProductVersion", "8.0.3");
 18
 019            modelBuilder.Entity("NLightning.Models.NLightningContext+Node", b =>
 020                {
 021                    b.Property<long>("Id")
 022                        .ValueGeneratedOnAdd()
 023                        .HasColumnType("INTEGER");
 024
 025                    b.HasKey("Id");
 026
 027                    b.ToTable("Nodes");
 028                });
 29#pragma warning restore 612, 618
 030        }
 31    }
 32}