File Coverage

blib/lib/Software/License/Mozilla_2_0.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   18077 use strict;
  10         23  
  10         349  
2 10     10   63 use warnings;
  10         21  
  10         528  
3             package Software::License::Mozilla_2_0;
4             $Software::License::Mozilla_2_0::VERSION = '0.104001';
5 10     10   69 use parent 'Software::License';
  10         23  
  10         51  
6             # ABSTRACT: Mozilla Public License Version 2.0
7              
8 22     22 1 127 sub name { 'Mozilla Public License Version 2.0' }
9 0     0 1 0 sub url { 'http://www.mozilla.org/MPL/2.0/index.txt' }
10 43     43 1 165 sub meta_name { 'mozilla' }
11 42     42 1 106 sub meta2_name { 'open_source' }
12 43     43 1 121 sub spdx_expression { 'MPL-2.0' }
13              
14             1;
15              
16             =pod
17              
18             =encoding UTF-8
19              
20             =head1 NAME
21              
22             Software::License::Mozilla_2_0 - Mozilla Public License Version 2.0
23              
24             =head1 VERSION
25              
26             version 0.104001
27              
28             =head1 AUTHOR
29              
30             Ricardo Signes
31              
32             =head1 COPYRIGHT AND LICENSE
33              
34             This software is copyright (c) 2021 by Ricardo Signes.
35              
36             This is free software; you can redistribute it and/or modify it under
37             the same terms as the Perl 5 programming language system itself.
38              
39             =cut
40              
41             __DATA__