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
116 96 2 1 $fin and not $old
122 88 1 1 $fin and $old->as_string ne $new->as_string
271 11 4 34 keys %$self == 1 and exists $$self{'minimum'}
311 8 51 19 defined $$self{'minimum'} and defined $$self{'maximum'}
326 2 20 0 !defined($$self{'minimum'}) || $_ >= $$self{'minimum'} and !defined($$self{'maximum'}) || $_ <= $$self{'maximum'}
376 11 1 2 defined $$self{'minimum'} and $version < $$self{'minimum'}
377 10 1 1 defined $$self{'maximum'} and $version > $$self{'maximum'}
379 9 1 1 defined $$self{'exclusions'} and grep {$version == $_;} @{$$self{'exclusions'};}

or 2 conditions

line l !l condition
119 48 50 $old || 'Version::Requirements::_Range::Range'
368 4 10 $$self{'exclusions'} ||= []

or 3 conditions

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