Branch Coverage

blib/lib/WWW/Scraper/ISBN/Yahoo_Driver.pm
Criterion Covered Total %
branch 1 26 3.8


line true false branch
95 0 1 if not $ean or length $isbn == 13 and $isbn ne $ean or length $isbn == 10 and $isbn ne $self->convert_to_isbn10($ean)
104 0 0 if $@ or not $mech->success or not $mech->content
108 0 0 if $@ or not $mech->success or not $mech->content
119 0 0 unless defined $link
125 0 0 if $@ or not $mech->success or not $mech->content
133 0 0 unless $html =~ m[\s*]
140 0 0 unless $$data{'title'}
143 0 0 unless $$data{'description'}
149 0 0 if not $$data{'publisher'} and $$data{'description'}
151 0 0 if not $$data{'binding'} and $$data{'description'}
153 0 0 if not $$data{'author'} and $$data{'description'}
158 0 0 unless defined $data
162 0 0 unless defined $$data{$_}