< Summary

Line coverage
97%
Covered lines: 196
Uncovered lines: 5
Coverable lines: 201
Total lines: 351
Line coverage: 97.5%
Branch coverage
75%
Covered branches: 9
Total branches: 12
Branch coverage: 75%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
File 1: .ctor(...)100%11100%
File 1: GetPackage(...)100%44100%
File 1: GetAllPackages(...)100%11100%
File 1: AddPackageAsync(...)100%11100%
File 1: UpdatePackageAsync(...)100%11100%
File 1: DeletePackageAsync(...)100%11100%
File 1: ExportPackageRoles(...)100%11100%
File 1: ExportPackageLayouts(...)100%11100%
File 1: ExportPackageTemplates(...)100%11100%
File 1: ExportPackageComponents(...)100%11100%
File 1: ExportPackageScripts(...)100%11100%
File 1: ExportPackageResources(...)100%11100%
File 1: ExportPackagePages(...)100%11100%
File 1: ExportPackagePageRoles(...)100%11100%
File 1: SelectPackage(...)25%7444.44%
File 1: SelectAllPackages(...)100%11100%
File 1: EnsureAdmin(...)100%22100%
File 2: TryCatch(...)100%11100%
File 2: TryCatch()100%11100%
File 2: TryCatch()100%11100%
File 3: Validate(...)100%22100%
File 3: ValidatePackageOnGet(...)100%11100%
File 3: ValidateAllPackagesOnGet(...)100%11100%
File 3: ValidatePackageOnAdd(...)100%11100%
File 3: ValidatePackageOnUpdate(...)100%11100%
File 3: ValidatePackageOnDelete(...)100%11100%
File 3: ValidatePackageRolesOnExport(...)100%11100%
File 3: ValidatePackageLayoutsOnExport(...)100%11100%
File 3: ValidatePackageTemplatesOnExport(...)100%11100%
File 3: ValidatePackageComponentsOnExport(...)100%11100%
File 3: ValidatePackageScriptsOnExport(...)100%11100%
File 3: ValidatePackageResourcesOnExport(...)100%11100%
File 3: ValidatePackagePagesOnExport(...)100%11100%
File 3: ValidatePackagePageRolesOnExport(...)100%11100%

File(s)

C:/Services/GitHubRunner/_work/cCoder.Packaging/cCoder.Packaging/src/cCoder.Packaging/Services/Foundations/Storages/PackageService.cs

File 'C:/Services/GitHubRunner/_work/cCoder.Packaging/cCoder.Packaging/src/cCoder.Packaging/Services/Foundations/Storages/PackageService.cs' does not exist (any more).

C:/Services/GitHubRunner/_work/cCoder.Packaging/cCoder.Packaging/src/cCoder.Packaging/Services/Foundations/Storages/PackageService.Exceptions.cs

File 'C:/Services/GitHubRunner/_work/cCoder.Packaging/cCoder.Packaging/src/cCoder.Packaging/Services/Foundations/Storages/PackageService.Exceptions.cs' does not exist (any more).

C:/Services/GitHubRunner/_work/cCoder.Packaging/cCoder.Packaging/src/cCoder.Packaging/Services/Foundations/Storages/PackageService.Validations.cs

File 'C:/Services/GitHubRunner/_work/cCoder.Packaging/cCoder.Packaging/src/cCoder.Packaging/Services/Foundations/Storages/PackageService.Validations.cs' does not exist (any more).