< Summary - MechanicsSoftware — Coverage Report

Information
Class: MechanicsSoftware.Infrastructure.Persistence.AppDbContext
Assembly: MechanicsSoftware.Infrastructure
File(s): /Users/joelmaraoliveira/dev/postech/mechanics-software/src/MechanicsSoftware.Infrastructure/Persistence/AppDbContext.cs
Line coverage
92%
Covered lines: 36
Uncovered lines: 3
Coverable lines: 39
Total lines: 81
Line coverage: 92.3%
Branch coverage
83%
Covered branches: 10
Total branches: 12
Branch coverage: 83.3%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%
.ctor(...)100%11100%
OnModelCreating(...)100%11100%
OnModelCreating(...)100%11100%
SaveChangesAsync()100%11100%
PromoteNewOwnedCollectionItems()87.5%9877.77%
PromoteNewOwnedScalarsAsync()100%22100%
PromoteIfMissingAsync()50%2275%

File(s)

/Users/joelmaraoliveira/dev/postech/mechanics-software/src/MechanicsSoftware.Infrastructure/Persistence/AppDbContext.cs

File '/Users/joelmaraoliveira/dev/postech/mechanics-software/src/MechanicsSoftware.Infrastructure/Persistence/AppDbContext.cs' does not exist (any more).