Branch Coverage

blib/lib/Net/Amazon/MechanicalTurk/DelimitedReader.pm
Criterion Covered Total %
branch 34 42 80.9


line true false branch
37 4 0 if (not defined $self->input) { }
38 0 4 unless (defined $self->file)
42 0 4 unless ($in)
45 4 0 if ($self->utf8)
49 0 4 if $@
61 4 0 if ($self->autoclose)
68 4 4 if ($self->input)
83 4 43 unless $self->input
89 4 334 unless (defined $c)
96 0 334 if $c eq "\r"
98 128 206 if ($quotedCell) { }
99 8 120 if ($c eq "\n") { }
9 111 elsif ($c eq $fs) { }
20 91 elsif ($c eq '"') { }
100 2 6 if ($lastWasQuote)
108 6 3 if ($lastWasQuote) { }
120 6 14 if ($lastWasQuote) { }
129 0 91 if ($lastWasQuote)
137 8 198 if ($cell eq '' and $c eq '"') { }
37 161 elsif ($c eq "\n") { }
20 141 elsif ($c eq $fs) { }