Condition Coverage

blib/lib/Spreadsheet/HTML/File/Loader.pm
Criterion Covered Total %
condition 1 35 2.8


and 2 conditions

line l !l condition
67 0 0 $args->{'preserve'} and ref $parsed->{'attr'} eq 'ARRAY' and scalar @{$parsed->{'attr'};}

and 3 conditions

line !l l&&!r l&&r condition
67 0 0 0 $args->{'preserve'} and ref $parsed->{'attr'} eq 'ARRAY'
76 0 0 0 $map and $attr->{$key}
291 0 0 0 $args->{'block'} && $args->{'block'} =~ /\D/
343 0 0 0 $args->{'alpha'} and $args->{'alpha'} eq $primary

or 2 conditions

line l !l condition
61 0 0 $args->{'rc'} || 1
291 0 0 $args->{'block'} || 0
293 0 0 $args->{'table'} ||= {'cellspacing', 0, 'border', 0, 'cellpadding', 0}

or 3 conditions

line l !l&&r !l&&!r condition
23 0 0 0 $NO_URI or $NO_LWP
0 0 0 $NO_URI or $NO_LWP or $NO_TEMP
0 0 0 $NO_URI or $NO_LWP or $NO_TEMP or $NO_BASE
49 0 0 2 -r $file or $file eq '-'
289 0 0 0 $images[$args->{'worksheet'} - 1] || $images[0]