Branch Coverage

blib/lib/Text/Table/Read/RelationOn/Tiny.pm
Criterion Covered Total %
branch 57 58 98.2


line true false branch
14 0 10 if ref $class
18 1 9 if %arguments
20 1 8 if ref $inc
21 1 7 if ref $noinc
22 1 6 if $inc eq $noinc
33 1 21 if @_ != 1
35 3 18 if (ref $_[0]) { }
4 14 elsif (not $_[0] =~ /\n/) { }
36 1 2 if ref $_[0] ne 'ARRAY'
53 2 51 if $line eq ''
54 26 25 if substr($line, 0, 2) eq '|-'
55 1 24 unless $line =~ s/^\|\s*([^|]*?)\s*\|\s*//
57 1 23 if exists $seen{$element}
58 1 22 unless exists $remaining_elements{$element}
65 20 50 if ($entry eq $inc) { }
1 49 elsif ($entry ne $noinc) { }
72 16 5 if %new_row
74 1 13 if %remaining_elements
80 8 5 wantarray ? :
84 1 2 if @_ > 1
85 1 2 if @_ > 1
86 1 10 if @_ > 1
87 1 10 if @_ > 1
88 1 10 if @_ > 1
95 5 15 unless defined $header
96 1 14 unless $header =~ s/^\s*\|.*?\|\s*//
97 1 13 $header eq '|' ? :
98 1 13 if $header eq ''
102 1 27 if exists $elem_ids{$name}