Condition Coverage

lib/Module/Metadata/Changes.pm
Criterion Covered Total %
condition 19 43 44.1


and 3 conditions

line !l l&&!r l&&r condition
374 0 0 0 $self->release and $version ne $self->release
538 0 0 30 $version and $date
552 1 28 1 $current_version and $version eq $current_version

or 2 conditions

line l !l condition
209 34 0 $s ||= ''
283 30 427 $parser->parse_datetime($candidate) || 'Could not parse date'
292 0 0 $self->inFileName || 'Changelog.ini'
676 0 0 $self->outFileName || 'Changelog.ini'
700 5 0 $r->{'Deploy.Reason'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
245 0 242 0 $@ || $date
292 0 0 0 $in_file_name ||= $self->inFileName || 'Changelog.ini'
307 0 0 0 $self->inFileName || (-e 'Changes' ? 'Changes' : 'CHANGES')
1 0 0 $in_file_name ||= $self->inFileName || (-e 'Changes' ? 'Changes' : 'CHANGES')
523 1 0 252 not defined $version or $version eq '0'
1 212 40 not defined $version or $version eq '0' or $date eq 'Could not parse date'
212 10 30 not defined $version or $version eq '0' or $date eq 'Could not parse date' or $date =~ /No input string/
676 1 0 0 $output_file_name ||= $self->outFileName || 'Changelog.ini'