Condition Coverage

blib/lib/IO/Buffered/Size.pm
Criterion Covered Total %
condition 10 18 55.5


and 3 conditions

line !l l&&!r l&&r condition
42 0 2 5 defined $template and ref $template eq ''
2 1 4 defined $template and ref $template eq '' and not $template =~ /^\d+$/
49 1 2 1 defined $offset and $offset =~ /^-?\d+$/
53 0 0 0 $opts{'MaxSize'} =~ /^\d+$/ && $opts{'MaxSize'} > 0
1 0 0 $opts{'MaxSize'} and not $opts{'MaxSize'} =~ /^\d+$/ && $opts{'MaxSize'} > 0

or 3 conditions

line l !l&&r !l&&!r condition
64 0 1 0 ref $class || $class