blib/lib/Algorithm/Hamming/Perl.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 18 | 66.6 |
line | true | false | branch |
---|---|---|---|
398 | 0 | 1 | if (defined $Hamming8by2{$chars_in}) { } |
427 | 0 | 1 | if ($length == $pos + 1) |
473 | 0 | 3 | if (defined $Hamming8by2rev{$chars_in}) { } |
502 | 0 | 3 | if ($length == $pos + 2) |
545 | 4 | 2 | if (defined $Hamming8rev{$text}) |
554 | 10 | 14 | if ($bit eq '1') |
561 | 2 | 0 | if ($err <= 12) |
563 | 1 | 1 | if ($bit eq '0') { } |
569 | 2 | 0 | if (defined $Hamming8rev{$copy}) |