Branch Coverage

blib/lib/Sub/Lib.pm
Criterion Covered Total %
branch 20 20 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 5 10 unless defined $name
32 3 7 if (defined $sub) { }
33 1 2 unless 'CODE' eq ref $sub
36 1 1 if exists $_lib->{$name}
42 1 6 unless exists $_lib->{$name}
81 1 1 exists $_lib->{$name} ? :
103 1 1 unless 'CODE' eq ref $sub