Condition Coverage

blib/lib/Text/MetaText.pm
Criterion Covered Total %
condition 47 82 57.3


and 3 conditions

line !l l&&!r l&&r condition
487 0 0 30 defined $$self{'LIB'} and not $filepath =~ m[^[/\.]]
668 219 4 6 $$self{'CHOMP'} and $5 eq "\n"
885 0 20 20 defined $result and $result > 0
892 0 1 1 defined $result and $result != 0
1266 122 0 1 defined $$self{'CASEVARS'}{$variable} and defined $$tags{$variable}
1418 0 2 2 $$self{'EXECUTE'} and $self->can($ident)
1709 0 0 12 defined $line and length $line
1785 5 0 4 not $format =~ /\W/ and defined $$formats{uc $format}
1791 7 1 1 $fmtdate and $format =~ s/%P//g

or 2 conditions

line l !l condition
318 4 0 $_[2] || ''
319 2 2 $_[3] || ''
324 4 0 $_[2] || ''
586 19 31 shift() || 1
799 85 0 shift() || {}
800 59 26 shift() || 1
1305 152 0 shift() || {}
1349 100 0 shift() || {}
1350 100 0 shift() || {}
1411 4 0 $$directive{'PARAMSTR'} || ''
1605 29 3 $$tags{$lhs} || ''
1609 29 3 $$tags{$lhs} || 0
1631 4 0 $$tags{$rhs} || ''
1635 4 0 $$tags{$rhs} || 0
1728 4 0 $2 || ''
1855 0 0 $$_{'IDENTIFIER'} || ''
1901 0 0 shift() || ''
1920 0 0 shift() || ''

or 3 conditions

line l !l&&r !l&&!r condition
884 0 40 0 $$item{'DELIMITER'} || $$self{'DELIMITER'}
891 0 2 0 $$item{'DELIMITER'} || $$self{'DELIMITER'}
1351 4 96 0 shift() || $tags
1471 42 12 0 shift() || $$self{'DELIMITER'}
1526 8 8 38 $expr eq '1' or $expr eq '0'

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
1502 0 0 0 0 $_[0] xor $_[1]