lib/Test/Trivial.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 50 | 111 | 45.0 |
line | l | !l | condition |
---|---|---|---|
163 | 7 | 0 | $FATAL and not $TODO and die "All errors Fatal\n" |
177 | 3 | 0 | $FATAL and not $TODO and die "All errors Fatal\n" |
192 | 4 | 0 | $FATAL and not $TODO and die "All errors Fatal\n" |
205 | 4 | 0 | $FATAL and not $TODO and die "All errors Fatal\n" |
251 | 11 | 0 | $FATAL and not $TODO and die "All errors Fatal\n" |
292 | 5 | 0 | $FATAL and not $TODO and die "All errors Fatal\n" |
305 | 2 | 0 | $FATAL and not $TODO and die "All errors Fatal\n" |
318 | 5 | 0 | $FATAL and not $TODO and die "All errors Fatal\n" |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
163 | 7 | 0 | 0 | $FATAL and not $TODO |
177 | 3 | 0 | 0 | $FATAL and not $TODO |
192 | 4 | 0 | 0 | $FATAL and not $TODO |
205 | 4 | 0 | 0 | $FATAL and not $TODO |
251 | 11 | 0 | 0 | $FATAL and not $TODO |
292 | 5 | 0 | 0 | $FATAL and not $TODO |
305 | 2 | 0 | 0 | $FATAL and not $TODO |
318 | 5 | 0 | 0 | $FATAL and not $TODO |
332 | 34 | 0 | 0 | not defined $data and defined $expected |
333 | 0 | 34 | 0 | defined $data and not defined $expected |
342 | 14 | 0 | 0 | not defined $data and defined $match |
385 | 12 | 0 | 88 | $file_cache{$file} and @{$file_cache{$file};} |
403 | 0 | 100 | 0 | defined $file_cache{$file}[$line - 1] and not $file_cache{$file}[$line - 1] =~ /$sub/ |
406 | 99 | 1 | 11 | not $source =~ /;/ and $offset + 1 != @{$file_cache{$file};} |
510 | 2 | 0 | 14 | defined $got and defined $expect |
line | l | !l | condition | |
---|---|---|---|---|
352 | 29 | 11 | shift() || 0 | |
432 | 0 | 175 | 0 | s/^\s+// or s/\s+$// |
459 | 5 | 1 | $$entry{'type'} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
155 | 0 | 19 | 0 | $msg ||= line_to_text() |
169 | 0 | 5 | 0 | $msg ||= line_to_text() |
183 | 0 | 18 | 0 | $msg ||= line_to_text() |
197 | 0 | 8 | 0 | $msg ||= line_to_text() |
237 | 0 | 28 | 0 | $msg ||= line_to_text() |
263 | 2 | 0 | 6 | ref $got || ref $expected |
284 | 0 | 8 | 0 | $msg ||= line_to_text() |
297 | 0 | 7 | 0 | $msg ||= line_to_text() |
310 | 0 | 7 | 0 | $msg ||= line_to_text() |
331 | 34 | 0 | 0 | defined $data or defined $expected |
342 | 0 | 4 | 10 | not defined $data and defined $match or not $data =~ /$match/ |
476 | 1 | 0 | 2 | $vals[0] =~ /\n/ or $vals[1] =~ /\n/ |
513 | 2 | 0 | 12 | $got =~ /\n/ or $expect =~ /\n/ |
line | l&&r | l&&!r | !l&&r | !l&&!r | condition |
---|---|---|---|---|---|
263 | 0 | 0 | 0 | 2 | not ref $got xor not ref $expected |