Branch Coverage

blib/lib/WWW/Scraper/ISBN/BarnesNoble_Driver.pm
Criterion Covered Total %
branch 12 22 54.5


line true false branch
94 0 2 if not $ean or length $isbn == 13 and $isbn ne $ean or length $isbn == 10 and $isbn ne $self->convert_to_isbn10($ean)
107 0 2 if $@ or not $mech->success or not $mech->content
113 0 2 if $html =~ /Sorry. We did not find any results|Sorry, we could not find what you were looking for/is
139 2 0 if $$data{'depth'}
140 2 0 if $$data{'width'}
141 2 0 if $$data{'height'}
142 0 2 if $$data{'weight'}
145 0 6 unless $$data{$_}
150 2 0 if ($$data{'author'})
158 0 2 unless defined $data
163 3 27 unless defined $$data{$_}