Branch Coverage

lib/PDF/OCR.pm
Criterion Covered Total %
branch 5 18 27.7


line true false branch
11 0 1 unless $arg
16 0 1 unless my $abs = Cwd::abs_path($arg)
19 0 1 unless $abs =~ /\.pdf$/i
22 0 1 unless -f $abs
45 2 0 unless (defined $$self{'abs_images'})
48 0 0 unless (scalar @$images)
70 0 0 if (defined $abs)
84 0 0 unless defined $abs
86 0 0 unless (defined $$self{'ocr'}{$abs})