| Class: | MechanicsSoftware.Infrastructure.Persistence.AppDbContext |
|---|---|
| Assembly: | MechanicsSoftware.Infrastructure |
| File(s): | /Users/joelmaraoliveira/dev/postech/mechanics-software/src/MechanicsSoftware.Infrastructure/Persistence/AppDbContext.cs |
| Covered lines: | 36 |
|---|---|
| Uncovered lines: | 3 |
| Coverable lines: | 39 |
| Total lines: | 81 |
| Line coverage: | 92.3% |
| Covered branches: | 10 |
|---|---|
| Total branches: | 12 |
| Branch coverage: | 83.3% |
Feature is only available for sponsors
Upgrade to PRO version| Method | Branch coverage | Crap Score | Cyclomatic complexity | Line coverage |
|---|---|---|---|---|
| .ctor(...) | 100% | 1 | 1 | 100% |
| .ctor(...) | 100% | 1 | 1 | 100% |
| OnModelCreating(...) | 100% | 1 | 1 | 100% |
| OnModelCreating(...) | 100% | 1 | 1 | 100% |
| SaveChangesAsync() | 100% | 1 | 1 | 100% |
| PromoteNewOwnedCollectionItems() | 87.5% | 9 | 8 | 77.77% |
| PromoteNewOwnedScalarsAsync() | 100% | 2 | 2 | 100% |
| PromoteIfMissingAsync() | 50% | 2 | 2 | 75% |
File '/Users/joelmaraoliveira/dev/postech/mechanics-software/src/MechanicsSoftware.Infrastructure/Persistence/AppDbContext.cs' does not exist (any more).