blib/lib/Switch/Perlish/Smatch/Hash.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 15 | 86.6 |
line | l | !l | condition |
---|---|---|---|
29 | 1 | 1 | \$_ == $m and return 1 |
37 | 5 | 1 | exists $$t{$_} and return 1 |
45 | 5 | 2 | exists $$t{$_} and smatch($$t{$_}, $$m{$_}) and return 1 |
59 | 3 | 1 | $m->can($_) and return 1 |
67 | 3 | 1 | /$m/ and return 1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
45 | 5 | 0 | 2 | exists $$t{$_} and smatch($$t{$_}, $$m{$_}) |
line | l | !l | condition |
---|---|---|---|
21 | 0 | 1 | defined $_ or return 1 |