< Summary

Information
Class: Spdx3.Model.ExpandedLicensing.Individuals.NoneLicense
Assembly: Spdx3
File(s): /home/runner/work/Spdx3/Spdx3/Spdx3/Model/ExpandedLicensing/Individuals/NoneLicense.cs
Line coverage
100%
Covered lines: 5
Uncovered lines: 0
Coverable lines: 5
Total lines: 19
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor()100%11100%
.ctor(...)100%11100%

File(s)

/home/runner/work/Spdx3/Spdx3/Spdx3/Model/ExpandedLicensing/Individuals/NoneLicense.cs

#LineLine coverage
 1using System.Diagnostics.CodeAnalysis;
 2using Spdx3.Model.Core.Classes;
 3using Spdx3.Model.ExpandedLicensing.Classes;
 4using Spdx3.Utility;
 5
 6namespace Spdx3.Model.ExpandedLicensing.Individuals;
 7
 8public class NoneLicense : IndividualLicensingInfo
 9{
 110    protected internal NoneLicense()
 11    {
 112    }
 13
 14    [SetsRequiredMembers]
 215    public NoneLicense(Catalog catalog, CreationInfo creationInfo) : base(catalog, creationInfo)
 16    {
 217        SpdxId = new Uri("https://spdx.org/rdf/3.0.1/terms/Licensing/None");
 218    }
 19}