Branch Coverage

lib/Module/Metadata/Changes.pm
Criterion Covered Total %
branch 34 70 48.5


line true false branch
135 0 1 if ($self->webPage)
164 1 0 if ($#output >= 0)
200 1 0 $#output >= 0 ? :
211 0 34 if ($self->verbose)
227 0 242 if (length $candidate == 0)
234 242 0 if ($date eq 'Could not parse date')
238 215 27 if ($date eq 'Could not parse date')
320 1 0 $module_name ? :
324 0 1 unless ($ok)
332 0 0 if ($field =~ /^.+::.+$/)
374 0 0 if $self->release and $version ne $self->release
384 0 0 if ($deploy_action)
393 0 0 unless ($found)
398 0 0 if ($self->table) { }
424 0 0 $_->[0] =~ /Deploy/ ? :
433 0 0 if ($self->webPage)
458 1 0 if ($self->convert) { }
460 0 1 unless $self->inFileName
465 0 0 unless $self->inFileName
497 69 253 if length $line == 0
498 0 253 if $line =~ /^#/
511 34 219 if $line =~ /^v?\d/
521 242 11 defined $field[1] ? :
523 223 30 if (not defined $version or $version eq '0' or $date eq 'Could not parse date' or $date =~ /No input string/) { }
529 0 223 if substr($line, 0, 3) eq 'EOT'
538 30 0 if ($version and $date)
543 29 1 if ($current_version)
552 1 29 if ($current_version and $version eq $current_version)
567 1 0 if ($current_version)
584 5 199 if ($line =~ /Security/i)
592 5 25 if ($security)
615 0 0 unless ($self->config->SectionExists('Module'))
624 0 0 unless (defined $module_name)
633 0 0 if ($#release < 0)
697 5 25 if ($r->{'Deploy.Action'})