Branch Coverage

blib/lib/Types/Bool.pm
Criterion Covered Total %
branch 11 20 55.0


line true false branch
20 4 1 unless overload::Method('Types::Bool', '0+')
24 5 0 unless 'Types::Bool'->can('true')
26 5 0 unless 'Types::Bool'->can('false')
29 5 0 unless ('Types::Bool'->can('is_bool'))
31 22 12 if &Scalar::Util::blessed($_[0])
34 5 0 unless $VERSION
38 6 4 $_[0] ? :
43 1 0 unless @_ > 1
48 0 0 if $EXPORTER_VERSION < 5.57
52 0 0 unless @_ > 1