Branch Coverage

blib/lib/Text/PRN/Slurp.pm
Criterion Covered Total %
branch 14 22 63.6


line true false branch
71 0 2 unless (defined $opt{'file_headers'})
74 0 2 if (ref $opt{'file_headers'} ne 'ARRAY')
78 0 0 unless (defined $opt{'filehandle'} or defined $opt{'file'} or defined $opt{'string'})
86 0 2 if (defined $opt{'filehandle'})
91 2 0 if (defined $opt{'file'})
93 0 2 unless open $io, '<:encoding(UTF-8)', $opt{'file'}
98 0 2 if (defined $opt{'string'})
116 2 10 if ($row_count == 1) { }
119 1 6 unless $1
120 6 1 if ($1) { }
138 30 5 if ($col_length)