blib/lib/SimString/Wrapper.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 24 | 37.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
46 | 0 | 0 | 2 | $_[0] && $_[0] =~ /^[1-9][0-9]*$/x |
47 | 0 | 0 | 0 | $_[0] && $_[0] =~ /^[1-9][0-9]*$/x |
49 | 0 | 0 | 1 | $_[0] && $_[0] =~ /^(exact|dice|cosine|jaccard|overlap)$/ |
53 | 0 | 0 | 5 | $_[0] && $_[0] =~ /^(exact|dice|cosine|jaccard|overlap)$/ |
57 | 0 | 0 | 2 | $_[0] && $_[0] =~ /^(?:0\.[0-9]+|1)$/x |
60 | 0 | 0 | 1 | $_[0] && $_[0] =~ /^(?:0\.[0-9]+|1)$/x |
76 | 0 | 0 | 30 | exists $$attributes{$option} and $$options{$option} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
14 | 4 | 1 | 0 | ref $class || $class |