Branch Coverage

blib/lib/Test/NewVersion.pm
Criterion Covered Total %
branch 20 30 66.6


line true false branch
39 3 0 unless (@_)
49 0 3 if (not $no_plan || _builder()->expected_tests and _builder()->current_test > 0)
69 9 7 if -r $File::Find::name and $File::Find::name =~ /\.pm$/ or $File::Find::name =~ /\.pod$/
73 3 0 if @lib_dirs
93 0 8 if $pkg eq 'main'
97 8 0 $message ? :
112 0 8 unless $$res{'success'}
117 0 8 if (my $charset = 'HTTP::Headers'->new(%{$$res{'headers'};})->content_type_charset)
123 0 8 unless $payload
124 4 4 unless defined $$payload[0]{'mod_vers'}
125 1 3 if $$payload[0]{'mod_vers'} eq 'undef'
130 2 1 unless (defined $current_version)
134 1 0 $metafile ? :
135 1 0 if $dist_metadata
139 1 1 unless $dist_provides and $current_version