Branch Coverage

blib/lib/DataStructure/LinkedList.pm
Criterion Covered Total %
branch 20 22 90.9


line true false branch
62 1 3 if ($options{'reverse'})
63 0 1 unless $class eq "DataStructure::LinkedList"
112 4 4 unless defined $self->{'last'}
120 2 2 if (defined $self->{'last'}) { }
132 6 8 unless defined $self->{'first'}
135 3 5 unless defined $self->{'first'}
149 2 6 if $self->{'reverse'}
163 2 2 if $self->{'reverse'}
221 0 21 unless wantarray
239 6 12 if ($s == 0) { }
250 8 12 if ($c < $s) { }