| blib/lib/KSx/Index/ByteBufDocWriter.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 18 | 55.5 |
| line | true | false | branch |
|---|---|---|---|
| 21 | 0 | 4 | unless defined $width |
| 22 | 0 | 4 | unless defined $field |
| 23 | 0 | 4 | if ($width < 1) |
| 35 | 0 | 4 | unless my $outstream = $outstream{$$self} = $folder->open_out($filename) |
| 49 | 0 | 13 | if (&bytes::length($$fields{$field}) != $width) |
| 62 | 0 | 3 | unless $doc_max |
| 66 | 0 | 3 | unless blessed $doc_reader and $doc_reader->isa('KSx::Index::ByteBufDocReader') |
| 71 | 3 | 21 | unless $doc_map->get($i) |
| 81 | 4 | 0 | if ($outstream) |