Branch Coverage

/tmp/ZRrKKDTy5n.mite.pm
Criterion Covered Total %
branch 23 46 50.0


line true false branch
35 0 1 *{$_;}{'CODE'} ? :
39 0 1 *{$_;}{'CODE'} ? :
50 0 5 ref $_[0] ? :
53 0 5 @_ == 1 ? :
0 5 $meta->{'HAS_BUILDARGS'} ? :
58 0 2 !ref($to_coerce) && (!defined($to_coerce) || $to_coerce eq '' || $to_coerce eq '0' || $to_coerce eq '1') ? :
0 2 unless not ref $coerced_value and !defined($coerced_value) || $coerced_value eq '' || $coerced_value eq '0' || $coerced_value eq '1'
2 3 if (exists $args->{'truthy'})
62 0 5 unless $meta->{'BUILD'}
0 5 if not $no_build and @{[] unless $meta->{'BUILD'};}
65 0 5 if @unknown
74 0 0 unless $meta->{'BUILD'}
82 5 0 defined ${^GLOBAL_PHASE} ? :
85 0 5 unless $meta->{'DEMOLISH'}
92 0 0 if $e
101 0 2 !ref($to_coerce) && (!defined($to_coerce) || $to_coerce eq '' || $to_coerce eq '0' || $to_coerce eq '1') ? :
0 2 unless not ref $value and !defined($value) || $value eq '' || $value eq '0' || $value eq '1'
4 1 exists $_[0]{'truthy'} ? :
2 5 @_ > 1 ? :
108 0 7 if exists $DOES{$role}
109 0 7 if $role eq "MyTest2"
110 0 7 if ($INC{'Moose/Util.pm'} and my $meta = Moose::Util::find_meta(ref $self || $self))
111 0 0 if $meta->can("does_role") and $meta->does_role($role)