Condition Coverage

blib/lib/Test/NewVersion.pm
Criterion Covered Total %
condition 11 21 52.3


and 3 conditions

line !l l&&!r l&&r condition
49 3 0 0 not $no_plan || _builder()->expected_tests and _builder()->current_test > 0
69 0 9 7 -r $File::Find::name and $File::Find::name =~ /\.pm$/
139 0 2 0 $dist_provides and $current_version

or 3 conditions

line l !l&&r !l&&!r condition
41 0 3 0 $tb ||= 'Test::Builder'->new
49 0 3 0 $no_plan || _builder()->expected_tests
69 7 2 7 -r $File::Find::name and $File::Find::name =~ /\.pm$/ or $File::Find::name =~ /\.pod$/
132 1 1 0 $dist_provides ||= do { my $metafile = &List::Util::first(sub { -e $_; } , 'MYMETA.json', 'MYMETA.yml', 'META.json', 'META.yml'); my $dist_metadata = $metafile ? 'CPAN::Meta'->load_file($metafile) : undef; $dist_metadata->provides if $dist_metadata }