File Coverage

blib/lib/Software/License/FreeBSD.pm
Criterion Covered Total %
statement 13 14 92.8
branch n/a
condition n/a
subroutine 7 8 87.5
pod 5 5 100.0
total 25 27 92.5


line stmt bran cond sub pod time code
1 10     10   11081 use strict;
  10         25  
  10         307  
2 10     10   53 use warnings;
  10         19  
  10         469  
3             package Software::License::FreeBSD;
4             $Software::License::FreeBSD::VERSION = '0.104001';
5 10     10   55 use parent 'Software::License';
  10         21  
  10         51  
6             # ABSTRACT: The FreeBSD License (aka two-clause BSD)
7              
8 22     22 1 125 sub name { 'The (two-clause) FreeBSD License' }
9 0     0 1 0 sub url { 'http://www.freebsd.org/copyright/freebsd-license.html' }
10              
11 43     43 1 146 sub meta_name { 'open_source' }
12 42     42 1 107 sub meta2_name { 'freebsd' }
13 43     43 1 115 sub spdx_expression { 'BSD-2-Clause-FreeBSD' }
14              
15             1;
16              
17             =pod
18              
19             =encoding UTF-8
20              
21             =head1 NAME
22              
23             Software::License::FreeBSD - The FreeBSD License (aka two-clause BSD)
24              
25             =head1 VERSION
26              
27             version 0.104001
28              
29             =head1 AUTHOR
30              
31             Ricardo Signes
32              
33             =head1 COPYRIGHT AND LICENSE
34              
35             This software is copyright (c) 2021 by Ricardo Signes.
36              
37             This is free software; you can redistribute it and/or modify it under
38             the same terms as the Perl 5 programming language system itself.
39              
40             =cut
41              
42             __DATA__