Branch Coverage

blib/lib/Module/Faker/Dist.pm
Criterion Covered Total %
branch 25 54 46.3


line true false branch
188 0 14 if ($self->has_packages)
190 0 0 defined $_->version ? :
206 19 1 defined $_[0] ? :
291 12 24 exists $href->{$_}{'X_Module_Faker'} ? :
373 0 50 unless open my $fh, '>', $fqfn
375 0 50 unless close $fh
384 0 0 unless my $pauseid = $self->cpan_author
399 0 11 $arg->{'author_prefix'} ? :
439 1 10 if $self->has_mtime
447 6 4 if grep {$_->filename eq $file->{'file'};} @files
566 19 19 if $value
569 1 18 if ($self->provides and $self->include_provides_in_meta)
574 19 0 unless $self->has_more_metadata
631 17 19 if ($meta->meta_spec_version ne $version) { }
638 0 36 if ($self->has_meta_munger)
648 0 0 unless ref $struct
652 19 17 if ($format eq 'json') { }
17 0 elsif ($format eq 'yaml') { }
662 0 17 if ($@)
663 0 0 $backend->can('errstr') ? :
704 0 21 unless $ext and my $method = $HANDLER_FOR{$ext}
761 0 0 exists $arg->{'version'} ? :
766 0 0 defined $arg->{'packages'} ? :
0 0 ref $arg->{'packages'} ? :
0 0 !exists $arg->{'packages'} ? :
772 0 0 $spec->[1] ? :
778 0 0 exists $spec{'version'} ? :