Branch Coverage

/tmp/8lTe4z41t7.mite.pm
Criterion Covered Total %
branch 30 64 46.8


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