< Summary

Information
Class: PaymentDbContext
Assembly: PaymentService
File(s): /home/runner/work/MicroservicesApp/MicroservicesApp/PaymentService/PaymentDbContext.cs
Tag: 23_15739319309
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 9
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

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
.ctor(...)100%1100%
get_Payments()100%1100%

File(s)

/home/runner/work/MicroservicesApp/MicroservicesApp/PaymentService/PaymentDbContext.cs

#LineLine coverage
 1using Microsoft.EntityFrameworkCore;
 2using Contracts;
 3
 4public class PaymentDbContext : DbContext
 5{
 66    public PaymentDbContext(DbContextOptions<PaymentDbContext> options) : base(options) { }
 7
 28    public DbSet<Payment> Payments => Set<Payment>();
 9}