Branch Coverage

blib/lib/Module/Faker/Dist.pm
Criterion Covered Total %
branch 27 56 48.2


line true false branch
188 0 14 if ($self->has_packages)
190 0 0 defined $_->version ? :
206 20 1 defined $_[0] ? :
291 12 28 exists $provides->{$_}{'X_Module_Faker'} ? :
305 4 36 $provides->{$name}{'style'} ? :
374 0 50 unless open my $fh, ">", $fqfn
376 0 50 unless close $fh
385 0 0 unless my $pauseid = $self->cpan_author
400 0 12 $arg->{'author_prefix'} ? :
440 1 11 if $self->has_mtime
448 6 4 if grep {$_->filename eq $file->{'file'};} @files
567 20 20 if $value
570 1 19 if ($self->provides and $self->include_provides_in_meta)
575 20 0 unless $self->has_more_metadata
632 18 20 if ($meta->meta_spec_version ne $version) { }
639 0 38 if ($self->has_meta_munger)
649 0 0 unless ref $struct
653 20 18 if ($format eq 'json') { }
18 0 elsif ($format eq 'yaml') { }
663 0 18 if ($@)
664 0 0 $backend->can('errstr') ? :
705 0 22 unless $ext and my $method = $HANDLER_FOR{$ext}
762 0 0 exists $arg->{'version'} ? :
767 0 0 defined $arg->{'packages'} ? :
0 0 ref $arg->{'packages'} ? :
0 0 !exists $arg->{'packages'} ? :
773 0 0 $spec->[1] ? :
779 0 0 exists $spec{'version'} ? :