< Summary

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

#LineLine coverage
 1using System.Diagnostics.CodeAnalysis;
 2using Spdx3.Model.Core.Classes;
 3using Spdx3.Utility;
 4
 5namespace Spdx3.Model.ExpandedLicensing.Classes;
 6
 7/// <summary>
 8/// A license addition that is not listed on the SPDX Exceptions List.
 9/// See https://spdx.github.io/spdx-spec/v3.0.1/model/ExpandedLicensing/Classes/CustomLicenseAddition/
 10/// </summary>
 11public class CustomLicenseAddition : LicenseAddition
 12{
 13    /// <summary>
 14    /// No-arg constructor required for serialization/deserialization
 15    /// </summary>
 116    internal CustomLicenseAddition()
 17    {
 118    }
 19
 20    [SetsRequiredMembers]
 221    public CustomLicenseAddition(Catalog catalog, CreationInfo creationInfo, string additionText) : base(catalog,
 222        creationInfo, additionText)
 23    {
 224    }
 25}