blib/lib/Text/Phonetic.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 27 | 62.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
52 | 22 | 14 | 9 | $class->can('_predicates') and not grep({$class eq $_;} @PREDICATES_CHECKED) |
72 | 18 | 0 | 1 | scalar @_ == 1 && ref $_[0] eq 'HASH' |
105 | 7 | 14 | 176 | defined $string and not $string =~ /^\s*$/ |
123 | 0 | 0 | 18 | defined $string1 and not $string1 =~ /^\s*$/ |
124 | 0 | 7 | 11 | defined $string2 and not $string2 =~ /^\s*$/ |
140 | 0 | 0 | 7 | defined $value1 and defined $value2 |
162 | 1090 | 0 | 1 | scalar @_ == 1 && ref $_[0] eq 'ARRAY' |
171 | 0 | 0 | 6 | ref $list1 eq 'ARRAY' and ref $list2 eq 'ARRAY' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
74 | 18 | 1 | 0 | delete $params->{'algorithm'} || $DEFAULT_ALGORITHM |