| Covered lines: | 162 |
|---|---|
| Uncovered lines: | 5 |
| Coverable lines: | 167 |
| Total lines: | 266 |
| Line coverage: | 97% |
| Covered branches: | 1 |
|---|---|
| Total branches: | 4 |
| Branch coverage: | 25% |
Feature is only available for sponsors
Upgrade to PRO version| Method | Branch coverage | Crap Score | Cyclomatic complexity | Line coverage |
|---|---|---|---|---|
| File 1: .ctor(...) | 100% | 1 | 1 | 100% |
| File 1: Get(...) | 25% | 4 | 4 | 79.16% |
| File 1: GetAll(...) | 100% | 1 | 1 | 100% |
| File 1: AddPrivilegeAsync(...) | 100% | 1 | 1 | 100% |
| File 1: UpdatePrivilegeAsync(...) | 100% | 1 | 1 | 100% |
| File 1: DeleteAsync(...) | 100% | 1 | 1 | 100% |
| File 1: ToLocalPrivilege(...) | 100% | 1 | 1 | 100% |
| File 1: ToExternalPrivilege(...) | 100% | 1 | 1 | 100% |
| File 1: GetValue(...) | 100% | 1 | 1 | 100% |
| File 1: GetAllValue(...) | 100% | 1 | 1 | 100% |
| File 2: TryCatch(...) | 100% | 1 | 1 | 100% |
| File 2: TryCatch() | 100% | 1 | 1 | 100% |
| File 2: TryCatch() | 100% | 1 | 1 | 100% |
| File 3: ValidatePrivilegeOnGet(...) | 100% | 1 | 1 | 100% |
| File 3: ValidateAllOnGet(...) | 100% | 1 | 1 | 100% |
| File 3: ValidatePrivilegeOnAdd(...) | 100% | 1 | 1 | 100% |
| File 3: ValidatePrivilegeOnUpdate(...) | 100% | 1 | 1 | 100% |
| File 3: ValidatePrivilegeOnDelete(...) | 100% | 1 | 1 | 100% |
File 'C:/Services/GitHubRunner/_work/cCoder.AppSecurity/cCoder.AppSecurity/src/cCoder.AppSecurity/Services/Foundations/PrivilegeService.cs' does not exist (any more).
File 'C:/Services/GitHubRunner/_work/cCoder.AppSecurity/cCoder.AppSecurity/src/cCoder.AppSecurity/Services/Foundations/PrivilegeService.Exceptions.cs' does not exist (any more).
File 'C:/Services/GitHubRunner/_work/cCoder.AppSecurity/cCoder.AppSecurity/src/cCoder.AppSecurity/Services/Foundations/PrivilegeService.Validations.cs' does not exist (any more).