Branch Coverage

blib/lib/Text/Difference.pm
Criterion Covered Total %
branch 24 30 80.0


line true false branch
165 0 16 if $self->debug
166 0 16 if $self->debug
172 3 13 if ($self->tokens)
179 4 0 if (ref $self->get_token($category) eq 'ARRAY')
189 4 12 if $a_substitutions
193 5 11 if $b_substitutions
201 0 3 if ($self->debug)
237 30 4 unless exists $a_tokens{$token}
249 31 1 unless exists $b_tokens{$token}
259 27 3 if (exists $b_tokens{$a_token})
264 26 1 if $a_tokens{$a_token} == 0
265 26 1 if $b_tokens{$a_token} == 0
269 0 16 if $self->debug
270 0 16 if $self->debug
276 10 6 if (keys %a_tokens == 0 and keys %b_tokens == 0)