Branch Coverage

blib/lib/Module/CheckLatestVersion.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
21 0 0 ref $_[0] eq 'HASH' ? :
22 0 0 unless $mod
29 0 0 if $ENV{'HARNESS_ACTIVE'} or $ENV{'RELEASE_TESTING'} or $ENV{'AUTOMATED_TESTING'} or $ENV{'PERL_MODULE_CHECKLATESTVERSION_SKIP'}
31 0 0 if (defined $opts->{'do_check'} and not $opts->{'do_check'})
40 0 0 unless ($res)
47 0 0 if ($res->[0] != 200)
52 0 0 if ($res->[2]{'is_latest_version'}) { }
55 0 0 if (defined $res->[2]{'installed_version'} and defined $res->[2]{'latest_version'})
63 0 0 defined $res->[2]{'installed_version'} ? :
0 0 defined $res->[2]{'latest_version'} ? :
65 0 0 if ($opts->{'die'} and defined $res->[2]{'latest_version'}) { }