Branch Coverage

blib/lib/Test/Stream/Compare.pm
Criterion Covered Total %
branch 44 50 88.0


line true false branch
30 1990 9 @BUILD ? :
34 1 2 if @BUILD and $_[0] and $BUILD[-1] == $_[0]
35 2 1 @BUILD ? :
36 2 1 $_[0] ? :
45 1 455 unless defined wantarray
53 15 440 unless $ok
68 2070 7863 if exists $self->{'lines'}
69 2070 7863 if exists $self->{'file'}
74 14 50 if $self->{'_file'}
76 32 18 if ($self->{'builder'}) { }
0 18 elsif ($self->{'called'}) { }
89 95 133 if $self->{'_lines'}
91 75 58 if ($self->{'builder'})
93 75 0 if @{$self->{'_info'}{'lines'};}
95 0 58 if ($self->{'called'})
123 0 7379 unless my $convert = $params{'convert'}
127 536 0 exists $params{'got'} ? :
536 6843 unless exists $params{'exists'}
130 7309 70 $exists ? :
133 2164 5215 if ($got and ref $got)
135 0 2164 if $seen->{$got} and $seen->{$got} >= 75
140 7216 163 $ok ? :
142 2164 5215 if $got and ref $got
144 7164 215 if $ok and not @deltas
146 202 13 $exists ? :