File Coverage

blib/lib/SBOM/CycloneDX/License/Licensor.pm
Criterion Covered Total %
statement 23 23 100.0
branch n/a
condition n/a
subroutine 8 8 100.0
pod n/a
total 31 31 100.0


line stmt bran cond sub pod time code
1             package SBOM::CycloneDX::License::Licensor;
2              
3 16     16   330 use 5.010001;
  16         67  
4 16     16   98 use strict;
  16         31  
  16         451  
5 16     16   72 use warnings;
  16         45  
  16         902  
6 16     16   96 use utf8;
  16         30  
  16         145  
7              
8 16     16   721 use SBOM::CycloneDX::OrganizationalEntity;
  16         35  
  16         488  
9 16     16   123 use SBOM::CycloneDX::OrganizationalContact;
  16         43  
  16         537  
10              
11 16     16   100 use Types::Standard qw(InstanceOf);
  16         33  
  16         184  
12              
13 16     16   25574 use Moo;
  16         44  
  16         119  
14             extends 'SBOM::CycloneDX::License::Licensee';
15              
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 provides the individual or organization that
32             grants a license to another individual or organization
33              
34             =head2 METHODS
35              
36             L inherits all methods from L
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, The individual, not associated with an organization,
48             that granted the license
49              
50             =item * C, 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.
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
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
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