Branch Coverage

blib/lib/Types/Bool.pm
Criterion Covered Total %
branch 14 32 43.7


line true false branch
16 23 0 unless $ENV{'TYPES_BOOL_NICE'}
24 0 23 if ($ENV{'TYPES_BOOL_LOUD'})
27 0 0 if $Types::Bool::VERSION
28 0 0 if (@o or @s)
31 0 0 if @s
32 0 0 if @o
41 22 1 unless 'JSON::PP::Boolean'->overload::Method('0+')
44 23 23 $_[1] ? :
45 23 0 unless 'JSON::PP::Boolean'->can('new')
47 23 0 unless $VERSION
60 110 65 if &Scalar::Util::blessed($_[0])
62 30 20 $_[0] ? :
67 0 23 if ("$]" < 5.008003)
71 0 0 if $EXPORTER_VERSION < 5.57
76 7 0 unless @_ > 1
82 0 0 unless @_ > 1