Branch Coverage

blib/lib/WWW/Scraper/ISBN/ORA_Driver.pm
Criterion Covered Total %
branch 15 22 68.1


line true false branch
97 0 1 if $@ or not $mech->success or not $mech->content
104 0 1 unless (defined $book)
111 0 1 if $@ or not $mech->success or not $mech->content
118 2 11 unless $html =~ m[]i
125 1 4 unless $isbn
126 2 2 if length $isbn == 10
127 2 2 if length $isbn == 13
135 0 1 unless (defined $data)
142 0 14 unless defined $$data{$_}
144 0 1 !($$data{'graphic'} =~ /^http/) ? :
0 1 !($$data{'graphic'} =~ /^http/) ? :