Branch Coverage

lib/CPAN/Audit/Version.pm
Criterion Covered Total %
branch 13 14 92.8


line true false branch
31 2 62 unless defined $version and defined $range
34 2 60 unless defined($version = eval { do { "version"->parse($version) } })
42 2 62 unless defined($range_version = eval { do { "version"->parse($range_version) } })
44 16 46 unless defined $op
45 0 62 unless (exists $ops->{$op})
49 31 31 if $result == 0
61 2 1 if ($self->in_range($version, $range))