Condition Coverage

blib/lib/Version/Requirements.pm
Criterion Covered Total %
condition 33 34 97.0


and 3 conditions

line !l l&&!r l&&r condition
247 98 2 1 $fin and not $old
253 90 1 1 $fin and $old->as_string ne $new->as_string
466 11 4 34 keys %$self == 1 and exists $$self{'minimum'}
506 8 53 19 defined $$self{'minimum'} and defined $$self{'maximum'}
521 2 20 0 !defined($$self{'minimum'}) || $_ >= $$self{'minimum'} and !defined($$self{'maximum'}) || $_ <= $$self{'maximum'}
571 11 1 2 defined $$self{'minimum'} and $version < $$self{'minimum'}
572 10 1 1 defined $$self{'maximum'} and $version > $$self{'maximum'}
574 9 1 1 defined $$self{'exclusions'} and grep {$version == $_;} @{$$self{'exclusions'};}

or 2 conditions

line l !l condition
250 48 52 $old || 'Version::Requirements::_Range::Range'
563 4 10 $$self{'exclusions'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
521 4 16 2 !defined($$self{'minimum'}) || $_ >= $$self{'minimum'}
11 8 1 !defined($$self{'maximum'}) || $_ <= $$self{'maximum'}