blib/lib/Sub/Lib.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 16 | 100.0 |
line | true | false | branch |
---|---|---|---|
12 | 2 | 3 | if (1 == @args) { } |
13 | 1 | 1 | unless 'HASH' eq ref $args[0] |
18 | 1 | 2 | unless 0 == @args % 2 |
29 | 3 | 7 | unless defined $name |
32 | 3 | 4 | if (defined $sub) { } |
33 | 1 | 2 | unless 'CODE' eq ref $sub |
36 | 1 | 1 | if exists $_lib->{$name} |
42 | 1 | 3 | unless exists $_lib->{$name} |