CycloneDX/License/Licensor.pm

filter: Statementstmt 100% 25 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod n/a totaltotal 100% 33 / 33 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« CycloneDX/Enum/CryptoPrimitive.pm ↑ Summary CycloneDX/License/Purchaser.pm »
1 package SBOM::CycloneDX::License::Licensor;
2  
3 16 ▶use 5.010001;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 16 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 16 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 16 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 16 ▶use SBOM::CycloneDX::OrganizationalEntity;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 16 ▶use SBOM::CycloneDX::OrganizationalContact;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 16 ▶use Types::Standard qw(InstanceOf);
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 16 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 16 extends 'SBOM::CycloneDX::License::Licensee';
15  
16 16 1;
17  
18 =encoding utf-8
19  
20 =head1 NAME
21  
22 SBOM::CycloneDX::License::Licensor - Licensor
23  
24 =head1 SYNOPSIS
25  
26 SBOM::CycloneDX::License::Licensor->new();
27  
28  
29 =head1 DESCRIPTION
30  
31 L<SBOM::CycloneDX::License::Licensor> provides the individual or organization that
32 grants a license to another individual or organization
33  
34 =head2 METHODS
35  
36 L<SBOM::CycloneDX::License::Licensor> inherits all methods from L<SBOM::CycloneDX::Base>
37 and implements the following new ones.
38  
39 =over
40  
41 =item SBOM::CycloneDX::License::Licensor->new( %PARAMS )
42  
43 Properties:
44  
45 =over
46  
47 =item * C<individual>, The individual, not associated with an organization,
48 that granted the license
49  
50 =item * C<organization>, The organization that granted the license
51  
52 =back
53  
54 =item $licensor->individual
55  
56 =item $licensor->organization
57  
58 =back
59  
60  
61 =head1 SUPPORT
62  
63 =head2 Bugs / Feature Requests
64  
65 Please report any bugs or feature requests through the issue tracker
66 at L<https://github.com/giterlizzi/perl-SBOM-CycloneDX/issues>.
67 You will be notified automatically of any progress on your issue.
68  
69 =head2 Source Code
70  
71 This is open source software. The code repository is available for
72 public review and contribution under the terms of the license.
73  
74 L<https://github.com/giterlizzi/perl-SBOM-CycloneDX>
75  
76 git clone https://github.com/giterlizzi/perl-SBOM-CycloneDX.git
77  
78  
79 =head1 AUTHOR
80  
81 =over 4
82  
83 =item * Giuseppe Di Terlizzi <gdt@cpan.org>
84  
85 =back
86  
87  
88 =head1 LICENSE AND COPYRIGHT
89  
90 This software is copyright (c) 2025-2026 by Giuseppe Di Terlizzi.
91  
92 This is free software; you can redistribute it and/or modify it under
93 the same terms as the Perl 5 programming language system itself.
94  
95 =cut
« CycloneDX/Enum/CryptoPrimitive.pm ↑ Summary CycloneDX/License/Purchaser.pm »