Branch Coverage

/tmp/O2w0hyQfmG.mite.pm
Criterion Covered Total %
branch 45 106 42.4


line true false branch
35 0 1 *{$_;}{'CODE'} ? :
39 0 1 *{$_;}{'CODE'} ? :
50 0 1 ref $_[0] ? :
53 0 1 @_ == 1 ? :
0 1 $meta->{'HAS_BUILDARGS'} ? :
58 1 0 if (exists $args->{'xyz'})
62 0 1 unless $meta->{'BUILD'}
0 1 if not $no_build and @{[] unless $meta->{'BUILD'};}
65 0 1 if @unknown
74 0 0 unless $meta->{'BUILD'}
82 1 0 defined ${^GLOBAL_PHASE} ? :
85 0 1 unless $meta->{'DEMOLISH'}
92 0 0 if $e
116 0 7 if exists $DOES{$role}
117 0 7 if $role eq "Thingy"
118 0 7 if ($INC{'Moose/Util.pm'} and my $meta = Moose::Util::find_meta(ref $self || $self))
119 0 0 if $meta->can("does_role") and $meta->does_role($role)
164 0 1 *{$_;}{'CODE'} ? :
168 0 1 *{$_;}{'CODE'} ? :
179 0 2 ref $_[0] ? :
182 0 2 @_ == 1 ? :
0 2 $meta->{'HAS_BUILDARGS'} ? :
187 0 2 unless exists $args->{'foo'}
192 0 2 unless $meta->{'BUILD'}
0 2 if not $no_build and @{[] unless $meta->{'BUILD'};}
195 0 2 if @unknown
204 0 0 unless $meta->{'BUILD'}
212 2 0 defined ${^GLOBAL_PHASE} ? :
215 0 2 unless $meta->{'DEMOLISH'}
222 0 0 if $e
240 1 2 unless require Scalar::Util and &Scalar::Util::blessed($object)
252 0 7 if exists $DOES{$role}
253 0 7 if $role eq "MyTest"
254 0 7 if ($INC{'Moose/Util.pm'} and my $meta = Moose::Util::find_meta(ref $self || $self))
255 0 0 if $meta->can("does_role") and $meta->does_role($role)
300 0 1 *{$_;}{'CODE'} ? :
304 0 1 *{$_;}{'CODE'} ? :
315 0 1 ref $_[0] ? :
318 0 1 @_ == 1 ? :
0 1 $meta->{'HAS_BUILDARGS'} ? :
323 0 1 unless exists $args->{'foo'}
328 0 1 unless $meta->{'BUILD'}
0 1 if not $no_build and @{[] unless $meta->{'BUILD'};}
331 0 1 if @unknown
340 0 0 unless $meta->{'BUILD'}
348 1 0 defined ${^GLOBAL_PHASE} ? :
351 0 1 unless $meta->{'DEMOLISH'}
358 0 0 if $e
376 0 2 unless require Scalar::Util and &Scalar::Util::blessed($object)
388 0 7 if exists $DOES{$role}
389 0 7 if $role eq "MyTest2"
390 0 7 if ($INC{'Moose/Util.pm'} and my $meta = Moose::Util::find_meta(ref $self || $self))
391 0 0 if $meta->can("does_role") and $meta->does_role($role)