| blib/lib/Text/Phonetic.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 17 | 27 | 62.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 53 | 22 | 14 | 9 | $class->can('_predicates') and not grep({$class eq $_;} @PREDICATES_CHECKED) |
| 73 | 18 | 0 | 1 | scalar @_ == 1 && ref $_[0] eq 'HASH' |
| 106 | 7 | 14 | 111 | defined $string and not $string =~ /^\s*$/ |
| 124 | 0 | 0 | 18 | defined $string1 and not $string1 =~ /^\s*$/ |
| 125 | 0 | 7 | 11 | defined $string2 and not $string2 =~ /^\s*$/ |
| 141 | 0 | 0 | 7 | defined $value1 and defined $value2 |
| 163 | 607 | 0 | 1 | scalar @_ == 1 && ref $_[0] eq 'ARRAY' |
| 172 | 0 | 0 | 6 | ref $list1 eq 'ARRAY' and ref $list2 eq 'ARRAY' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 75 | 18 | 0 | 1 | delete $params->{'algorithm'} || $DEFAULT_ALGORITHM |