Branch Coverage

blib/lib/Test/NewVersion.pm
Criterion Covered Total %
branch 21 30 70.0


line true false branch
40 4 0 unless (@_)
50 0 4 if (not $no_plan || _builder()->expected_tests and _builder()->current_test > 0)
70 10 10 if -r $File::Find::name and $File::Find::name =~ /\.pm$/ or $File::Find::name =~ /\.pod$/
74 4 0 if @lib_dirs
94 1 9 if $pkg eq 'main'
98 9 0 $message ? :
113 0 9 unless $$res{'success'}
118 9 0 if (my $charset = 'HTTP::Headers'->new(%{$$res{'headers'};})->content_type_charset)
124 0 9 unless $payload
125 4 5 unless defined $$payload[0]{'mod_vers'}
126 1 4 if $$payload[0]{'mod_vers'} eq 'undef'
131 2 2 unless (defined $current_version)
135 1 0 $metafile ? :
136 1 0 if $dist_metadata
140 1 1 unless $dist_provides and $current_version