Skip to content

Latest commit

 

History

History
56 lines (52 loc) · 2.81 KB

File metadata and controls

56 lines (52 loc) · 2.81 KB

Test and Coverage Status

Test Results

Total Passed Failed Skipped
353 353 0 0

Code Coverage

Summary

Generated on: 09/09/2025 - 22:27:29
Coverage date: 09/09/2025 - 22:27:26 - 09/09/2025 - 22:27:27
Parser: MultiReport (4x Cobertura)
Assemblies: 1
Classes: 25
Files: 25
Line coverage: 87% (276 of 317)
Covered lines: 276
Uncovered lines: 41
Coverable lines: 317
Total lines: 1470
Branch coverage: 80.7% (185 of 229)
Covered branches: 185
Total branches: 229
Method coverage: Feature is only available for sponsors
Name Covered Uncovered Coverable Total Line coverage Covered Total Branch coverage
SGuard.DataAnnotations 276 41 317 1470 87% 185 229 80.7%
SGuard.DataAnnotations.CompareToAttribute 26 13 39 139 66.6% 16 31 51.6%
SGuard.DataAnnotations.Exceptions.DataAnnotationsException 14 0 14 62 100% 2 2 100%
SGuard.DataAnnotations.Extensions.DataAnnotationsExceptionExtensions 9 1 10 47 90% 9 10 90%
SGuard.DataAnnotations.Internal.SGuardDataAnnotations 10 2 12 59 83.3% 6 6 100%
SGuard.DataAnnotations.Is 5 5 10 76 50% 0 0
SGuard.DataAnnotations.SGuardBetweenAttribute 28 2 30 114 93.3% 28 32 87.5%
SGuard.DataAnnotations.SGuardCollectionItemsMatchAttribute 29 4 33 124 87.8% 17 22 77.2%
SGuard.DataAnnotations.SGuardCompareAttribute 4 0 4 25 100% 4 4 100%
SGuard.DataAnnotations.SGuardCreditCardAttribute 7 0 7 38 100% 2 2 100%
SGuard.DataAnnotations.SGuardEmailAddressAttribute 7 0 7 40 100% 2 2 100%
SGuard.DataAnnotations.SGuardGreaterThanAttribute 2 0 2 19 100% 0 0
SGuard.DataAnnotations.SGuardLessThanAttribute 2 0 2 17 100% 0 0
SGuard.DataAnnotations.SGuardMaxCountAttribute 18 2 20 87 90% 16 18 88.8%
SGuard.DataAnnotations.SGuardMaxLengthAttribute 4 0 4 25 100% 4 4 100%
SGuard.DataAnnotations.SGuardMinCountAttribute 18 2 20 87 90% 18 20 90%
SGuard.DataAnnotations.SGuardMinLengthAttribute 4 0 4 25 100% 4 4 100%
SGuard.DataAnnotations.SGuardPhoneAttribute 7 0 7 38 100% 2 2 100%
SGuard.DataAnnotations.SGuardRangeAttribute 8 0 8 42 100% 6 8 75%
SGuard.DataAnnotations.SGuardRegularExpressionAttribute 0 4 4 26 0% 0 4 0%
SGuard.DataAnnotations.SGuardRequiredCollectionAttribute 13 3 16 52 81.2% 11 14 78.5%
SGuard.DataAnnotations.SGuardRequiredIfAttribute 17 0 17 82 100% 13 14 92.8%
SGuard.DataAnnotations.SGuardStringLengthAttribute 4 0 4 24 100% 4 4 100%
SGuard.DataAnnotations.SGuardUrlAttribute 7 0 7 38 100% 2 2 100%
SGuard.DataAnnotations.SGuardValidationAttributeBase 19 1 20 83 95% 19 24 79.1%
SGuard.DataAnnotations.ThrowIf 14 2 16 101 87.5% 0 0