Branch Coverage

blib/lib/Dist/Zilla/Plugin/Test/Compile/PerFile.pm
Criterion Covered Total %
branch 22 32 68.7


line true false branch
17 9 0 defined &B::perlstring ? :
118 1 7 if $self->has_file
119 1 6 if $self->has_finder
303 0 8 length((my $dummy = '') & $_[0]) && 0 + $_[0] eq $_[0] && $_[0] * 0 == 0 ? :
0 8 !defined($_[0]) ? :
312 8 0 $file =~ m[\Alib/(.*)\z]msx ? :
317 8 0 $self->VERSION ? :
356 0 8 unless (@{$self->file;})
365 1 8 if (exists $skiplist->{$file})
391 1 7 if ($self->xt_mode)
435 1 6 if ($self->has_finder)
439 0 1 unless ($plugin)
442 0 1 unless ($plugin->does('Dist::Zilla::Role::FileFinder'))
456 0 6 if (my $plugin = $self->zilla->plugin_named($name))
469 7 6 if m[\Alib/] and /\.(pm)$/
470 0 6 if $_ eq $self->zilla->main_module