Condition Coverage

blib/lib/YATT/Lite/Test/XHFTest.pm
Criterion Covered Total %
condition 16 28 57.1


and 3 conditions

line !l l&&!r l&&r condition
127 10 1 148 $prev and $prev->{'cf_FILE'} =~ /%d/
159 0 0 0 $prev && $prev->{'cf_WIDGET'}
160 140 1 19 not $test->{'cf_TITLE'} and $prev

or 2 conditions

line l !l condition
137 132 10 $self->{'file_list'} //= []
201 0 1 $cursor->[0]{$nm} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
78 0 10 0 $self->{'cf_ext'} //= $self->default_ext
126 6 159 0 $test->{'cf_FILE'} ||= do { if ($prev and $prev->{'cf_FILE'} =~ /%d/) { $prev->{'cf_FILE'}; } else { "f%d.$self->{'cf_ext'}"; } }
143 0 165 0 $test->{'cf_WIDGET'} ||= do { my $widget = $test->{'realfile'}; $widget =~ s/\.\w+$//; $widget =~ s[/][:]g; $widget }
158 118 0 47 $test->{'cf_OUT'} or $test->{'cf_ERROR'}
159 160 0 0 $test->{'cf_WIDGET'} ||= $prev && $prev->{'cf_WIDGET'}