Branch Coverage

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


line true false branch
30 2018 9 @BUILD ? :
34 1 2 if @BUILD and $_[0] and $BUILD[-1] == $_[0]
35 2 1 @BUILD ? :
36 2 1 $_[0] ? :
45 1 464 unless defined wantarray
53 15 449 unless $ok
68 2099 7992 if exists $self->{'lines'}
69 2099 7992 if exists $self->{'file'}
74 14 50 if $self->{'_file'}
76 32 18 if ($self->{'builder'}) { }
0 18 elsif ($self->{'called'}) { }
89 95 134 if $self->{'_lines'}
91 75 59 if ($self->{'builder'})
93 75 0 if @{$self->{'_info'}{'lines'};}
95 0 59 if ($self->{'called'})
122 0 7512 unless my $convert = $params{'convert'}
126 546 0 exists $params{'got'} ? :
546 6966 unless exists $params{'exists'}
129 7442 70 $exists ? :
132 2212 5300 if ($got and ref $got)
134 0 2212 if $seen->{$got} and $seen->{$got} >= 75
139 7348 164 $ok ? :
141 2212 5300 if $got and ref $got
143 7296 216 if $ok and not @deltas
145 203 13 $exists ? :