Branch Coverage

/tmp/NSAGPLHpJZ.mite.pm
Criterion Covered Total %
branch 45 88 51.1


line true false branch
35 0 3 *{$_;}{'CODE'} ? :
39 0 3 *{$_;}{'CODE'} ? :
50 0 3 ref $_[0] ? :
53 0 3 @_ == 1 ? :
0 3 $meta->{'HAS_BUILDARGS'} ? :
58 3 0 if defined $tmp and not ref $tmp
0 3 unless do {
3 0 if (exists $args->{'foo'})
62 0 3 unless $meta->{'BUILD'}
0 3 if not $no_build and @{[] unless $meta->{'BUILD'};}
65 0 3 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 5 0 if defined $tmp and not ref $tmp
0 5 unless do {
5 10 @_ > 1 ? :
103 0 3 unless defined wantarray
112 3 0 $self->$has ? :
113 3 0 @_ == 2 ? :
122 0 15 if exists $DOES{$role}
123 0 15 if $role eq "MyTest"
124 0 15 if ($INC{'Moose/Util.pm'} and my $meta = Moose::Util::find_meta(ref $self || $self))
125 0 0 if $meta->can("does_role") and $meta->does_role($role)
179 0 2 ref $_[0] ? :
182 0 2 @_ == 1 ? :
0 2 $meta->{'HAS_BUILDARGS'} ? :
187 1 0 if defined $tmp and not ref $tmp
0 1 unless do {
1 1 if (exists $args->{'foo'})
191 0 2 unless $meta->{'BUILD'}
0 2 if not $no_build and @{[] unless $meta->{'BUILD'};}
194 0 2 if @unknown
212 3 0 if defined $tmp and not ref $tmp
0 3 unless do {
3 5 @_ > 1 ? :
214 0 2 unless defined wantarray
223 1 1 $self->$has ? :
224 1 1 @_ == 2 ? :
233 0 8 if exists $DOES{$role}
234 0 8 if $role eq "MyTest2"
235 0 8 if ($INC{'Moose/Util.pm'} and my $meta = Moose::Util::find_meta(ref $self || $self))
236 0 0 if $meta->can("does_role") and $meta->does_role($role)