Condition Coverage

blib/lib/FileHandle/Fmode.pm
Criterion Covered Total %
condition 26 30 86.6


and 3 conditions

line !l l&&!r l&&r condition
44 8 12 4 perliol_readable($_[0]) and not perliol_writable($_[0])
52 0 40 16 defined $fmode and ($fmode & 3) == 0
61 16 0 8 not perliol_readable($_[0]) and perliol_writable($_[0])
69 0 40 16 defined $fmode and ($fmode & 3) == 1
88 8 4 18 perliol_readable($_[0]) and perliol_writable($_[0])
96 0 32 36 defined $fmode and ($fmode & 3) == 2

or 2 conditions

line l !l condition
42 24 56 $fileno == -1 or 0
59 24 56 $fileno == -1 or 0
86 30 68 $fileno == -1 or 0

or 3 conditions

line l !l&&r !l&&!r condition
74 12 18 10 is_WO($_[0]) or is_RW($_[0])
79 10 18 12 is_RO($_[0]) or is_RW($_[0])