| Class: | MechanicsSoftware.Domain.Inventory.Part |
|---|---|
| Assembly: | MechanicsSoftware.Domain |
| File(s): | /Users/joelmaraoliveira/dev/postech/mechanics-software/src/MechanicsSoftware.Domain/Inventory/Part.cs |
| Covered lines: | 76 |
|---|---|
| Uncovered lines: | 0 |
| Coverable lines: | 76 |
| Total lines: | 130 |
| Line coverage: | 100% |
| Covered branches: | 37 |
|---|---|
| Total branches: | 38 |
| Branch coverage: | 97.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% |
| get_Movements() | 100% | 1 | 1 | 100% |
| get_AvailableQuantity() | 100% | 1 | 1 | 100% |
| Create(...) | 100% | 12 | 12 | 100% |
| Reserve(...) | 100% | 6 | 6 | 100% |
| ConfirmUsage(...) | 100% | 6 | 6 | 100% |
| Release(...) | 100% | 6 | 6 | 100% |
| Update(...) | 83.33% | 6 | 6 | 100% |
| Replenish(...) | 100% | 2 | 2 | 100% |
| HasPendingReservations() | 100% | 1 | 1 | 100% |
File '/Users/joelmaraoliveira/dev/postech/mechanics-software/src/MechanicsSoftware.Domain/Inventory/Part.cs' does not exist (any more).