Branch Coverage

blib/lib/Software/License.pm
Criterion Covered Total %
branch 8 18 44.4


line true false branch
44 0 52 unless $arg->{'holder'}
57 8 48 defined $_[0]{'year'} ? :
76 1 1 unless $_[0]{'program'} or $_[0]{'Program'}
87 1 1 unless $_[0]{'Program'} or $_[0]{'program'}
139 0 0 ref $self ? :
143 0 0 unless @vparts
173 0 0 unless defined $meta1
175 0 0 if $meta1 =~ /\A(?:open_source|restricted|unrestricted|unknown)\z/
193 0 92 unless my $template = $self->section_data($which)