Condition Coverage

blib/lib/Catalyst/Model/File.pm
Criterion Covered Total %
condition 14 20 70.0


and 3 conditions

line !l l&&!r l&&r condition
120 6 0 5 not $entry->is_dir and $opt{'file'}
0 6 0 $entry->is_dir and $opt{'dir'}
127 1 1 1 $opt{'dir'} and $opt{'file'}

or 2 conditions

line l !l condition
109 4 3 $opt{'mode'} ||= 'files'

or 3 conditions

line l !l&&r !l&&!r condition
120 5 0 6 not $entry->is_dir and $opt{'file'} or $entry->is_dir and $opt{'dir'}
294 23 29 0 $_[0]{'stringify_as'} || $_[0]->abs_stringify
334 5 6 0 $_[0]{'stringify_as'} || Path::Class::Dir::stringify($_[0])