Branch Coverage

blib/lib/SVN/Notify/HTML/ColorDiff.pm
Criterion Covered Total %
branch 44 48 91.6


line true false branch
91 14 131 if ($self->filters_for('diff'))
94 0 131 if $self->verbose > 1
104 217 3054 unless $line
105 8 3046 if ($max and ($length += length $line) >= $max) { }
106 8 0 if $in_span
111 250 2796 if ($line =~ /^(Modified|Added|Deleted|Copied): (.*)/) { }
31 2765 elsif ($line =~ /^Property changes on: (.*)/ and not $seen{$1}) { }
300 2465 elsif ($line =~ /^\@\@/) { }
576 1889 elsif ($line =~ /^([-+])/) { }
117 119 131 if $in_span
118 119 131 if $in_div
121 35 215 unless (readline($diff) =~ /^=/)
133 1 214 if ($before =~ /^\(Binary files differ\)/)
163 30 1 if $in_span
164 30 1 if $in_div
170 86 214 if $in_span
178 447 129 $1 eq '+' ? :
179 170 406 if ($in_span eq $type) { }
182 403 3 if $in_span
191 0 1889 if ($in_span eq 'cx') { }
194 1561 328 if $in_span
205 88 43 if $in_span
206 96 35 if $in_div
209 0 131 unless close $diff