Condition Coverage

blib/lib/Hostfile/Manager.pm
Criterion Covered Total %
condition 4 9 44.4


and 3 conditions

line !l l&&!r l&&r condition
143 0 0 1 not -e $filename and -w dirname($filename)

or 3 conditions

line l !l&&r !l&&!r condition
143 1 0 0 not -e $filename and -w dirname($filename) or -w $filename
214 11 10 0 $self->blocks->{$block_name} ||= qr/#+\s*BEGIN: ${block_name}[\r\n](.*)#+\s*END: ${block_name}[\r\n]/ms