Condition Coverage

blib/lib/Test/Smart/Interface/File.pm
Criterion Covered Total %
condition 4 9 44.4


and 2 conditions

line l !l condition
56 0 0 $self->err("Could not open question file: $!") and return undef
85 0 1 $self->err('Question does not have an answer yet') and return undef

or 2 conditions

line l !l condition
33 0 1 $args{'directory'} ||= '.'

or 3 conditions

line l !l&&r !l&&!r condition
33 2 1 0 $args{'dir'} ||= ($args{'directory'} ||= '.')