| blib/lib/Algorithm/RabinKarp.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 8 | 13 | 61.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 119 | 1 | 0 | 3 | defined $source and not ref $source |
| line | l | !l | condition |
|---|---|---|---|
| 150 | 17 | 1 | shift @$values || [0, undef] |
| 151 | 17 | 1 | $$self{'hash'} || 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 105 | 0 | 4 | 0 | ref $class || $class |
| 119 | 0 | 0 | 1 | UNIVERSAL::isa($source, 'IO::Handle') or UNIVERSAL::isa($source, 'GLOB') |