< Summary

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

#LineLine coverage
 1using System.Diagnostics.CodeAnalysis;
 2using Spdx3.Model.Core.Classes;
 3using Spdx3.Utility;
 4
 5namespace Spdx3.Model.Core.Individuals;
 6
 7/// <summary>
 8///     An Organization representing the SPDX Project.
 9///     See https://spdx.github.io/spdx-spec/v3.0.1/model/Core/Individuals/SpdxOrganization/
 10/// </summary>
 11public class SpdxOrganization : IndividualElement
 12{
 13    // protected internal no-parm constructor required for deserialization
 14    // ReSharper disable once UnusedMember.Global
 115    protected internal SpdxOrganization()
 16    {
 117    }
 18
 19    [SetsRequiredMembers]
 120    public SpdxOrganization(Catalog catalog, CreationInfo creationInfo) : base(catalog, creationInfo)
 21    {
 122        SpdxId = new Uri("https://spdx.org/");
 123    }
 24}