Condition Coverage

lib/Test/Unit/Lite.pm
Criterion Covered Total %
condition 46 73 63.0


and 3 conditions

line !l l&&!r l&&r condition
174 0 89 262 defined($caller = caller $n) and not eval { do { $caller->isa('Test::Unit::TestSuite') } }
225 2 0 2 $arg1 =~ /^[+-]?(\d+\.\d+|\d+\.|\.\d+|\d+)([eE][+-]?\d+)?$/ and $arg2 =~ /^[+-]?(\d+\.\d+|\d+\.|\.\d+|\d+)([eE][+-]?\d+)?$/
240 5 5 21 $arg1 =~ /^[+-]?(\d+\.\d+|\d+\.|\.\d+|\d+)([eE][+-]?\d+)?$/ and $arg2 =~ /^[+-]?(\d+\.\d+|\d+\.|\.\d+|\d+)([eE][+-]?\d+)?$/
299 10 0 38 ref $arg1 and ref $arg2
308 0 0 0 ref $arg1 and ref $arg2
318 3 157 0 defined $e1 and defined $e2
325 10 2 84 ref $e1 and ref $e2
327 76 2 6 defined $Seen_Refs{$e1} and $Seen_Refs{$e1} eq $e2_ref
331 49 6 35 ref $e1 eq 'ARRAY' and ref $e2 eq 'ARRAY'
24 2 29 ref $e1 eq 'HASH' and ref $e2 eq 'HASH'
26 0 0 ref $e1 eq 'REF' and ref $e2 eq 'REF'
20 0 6 ref $e1 eq 'SCALAR' and ref $e2 eq 'SCALAR'
521 1 0 2 defined $test and not ref $test
532 0 2 1 defined $test and $test->isa('Test::Unit::TestSuite')
0 0 2 defined $test and $test->isa('Test::Unit::TestCase')
830 13 0 0 @ARGV and not $class =~ /$ARGV[0]/

or 2 conditions

line l !l condition
176 89 0 (caller $n)[3] || '::'
398 42 28 $$entry{'type'} || ''
833 1 0 $dir || '.'

or 3 conditions

line l !l&&r !l&&!r condition
93 0 0 0 -f 'Makefile.PL' or -f 'Build.PL'
143 33 0 0 ref $self || $self
220 4 0 2 defined $arg1 or defined $arg2
237 33 0 4 defined $arg1 or defined $arg2
319 6 0 3 defined $e1 or defined $e2

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
240 0 2 2 31 not defined $arg1 xor not defined $arg2