< Summary

Information
Class: Spdx3.Model.SimpleLicensing.Classes.AnyLicenseInfo
Assembly: Spdx3
File(s): /home/runner/work/Spdx3/Spdx3/Spdx3/Model/SimpleLicensing/Classes/AnyLicenseInfo.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 23
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/SimpleLicensing/Classes/AnyLicenseInfo.cs

#LineLine coverage
 1using System.Diagnostics.CodeAnalysis;
 2using Spdx3.Model.Core.Classes;
 3using Spdx3.Utility;
 4
 5namespace Spdx3.Model.SimpleLicensing.Classes;
 6
 7/// <summary>
 8///     Represents a license combination consisting of one or more licenses
 9///     See https://spdx.github.io/spdx-spec/v3.0.1/model/SimpleLicensing/Classes/AnyLicenseInfo/
 10/// </summary>
 11public abstract class AnyLicenseInfo : Element
 12{
 13    // protected internal no-parm constructor required for deserialization
 69914    protected internal AnyLicenseInfo()
 15    {
 69916    }
 17
 18    // Abstract class, adds no properties or functionality
 19    [SetsRequiredMembers]
 5720    protected AnyLicenseInfo(Catalog catalog, CreationInfo creationInfo) : base(catalog, creationInfo)
 21    {
 5722    }
 23}