Branch Coverage

blib/lib/Exception/ThrowUnless.pm
Criterion Covered Total %
branch 14 28 50.0


line true false branch
28 3 10 unless $_[0]
32 1 10009 unless defined $_[0]
39 1 2 if @_
44 1 1 if chmod(@_) == @_ - 1
49 1 1 if close $_
66 5 0 if $res
67 0 0 if -d $dir and $! == 17
68 0 0 if $! == 17
89 0 0 unless -e $t
97 0 0 unless defined wantarray
98 0 0 unless wantarray
105 1 1 if unlink(@_) == @_
107 1 0 unless -l $_ or -e $_
108 0 0 if unlink $_