Branch Coverage

blib/lib/WWW/Scraper/ISBN/Yahoo_Driver.pm
Criterion Covered Total %
branch 1 16 6.2


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
121 0 0 unless defined $link
127 0 0 if $@ or not $mech->success or not $mech->content
135 0 0 unless $html =~ m[\s*]
148 0 0 unless defined $data
152 0 0 unless defined $$data{$_}