Branch Coverage

blib/lib/Acme/Tie/Eleet.pm
Criterion Covered Total %
branch 71 86 82.5


line true false branch
97 1 26 unless $$self{'spacer'} =~ m[^(((\d+)/(\d+))|(\d+))$]
99 1 25 if $$self{'spacer'} =~ m[^(\d+)/(\d+)$] and $1 + $2 == 0
101 1 24 unless $$self{'case_mixer'} =~ m[^(((\d+)/(\d+))|(\d+))$]
103 1 23 if $$self{'case_mixer'} =~ m[^(\d+)/(\d+)$] and $1 + $2 == 0
107 1 22 if $$self{'spacer'} =~ m[^(\d+)/(\d+)$] and $1 == 0
109 1 22 if $$self{'case_mixer'} =~ m[^(\d+)/(\d+)$] and $1 == 0
121 0 1 if ref $pkg
123 0 1 unless $fh
137 0 26 if ref $pkg
160 0 0 unless $_[0]
182 1 0 if (rand 100 < $$self{'add_before'})
192 1 0 if (rand 100 < $$self{'add_after'})
203 3 2 if ($$self{'case_mixer'} =~ m[^(\d+)/(\d+)$]) { }
209 8 7 $1 eq 'm' ? :
212 8 7 if ($1 eq 'm') { }
213 0 8 if $2 + 1 != $m
214 5 3 if $2 + 1 == $m and $n == 0
215 3 5 if $2 + 1 == $m and $n != 0
217 0 7 if $2 + 1 != $n
218 5 2 if $2 + 1 == $n and $m == 0
219 2 5 if $2 + 1 == $n and $m != 0
226 10 0 rand 100 < $$self{'case_mixer'} ? :
234 1 20 if (rand 100 < $$self{'extra_sent'})
246 3 5 ref $letter{$_} eq ref [] ? :
8 2 rand 100 < $$self{'letters'} && exists $letter{$_} ? :
255 3 2 if ($$self{'spacer'} =~ m[^(\d+)/(\d+)$]) { }
261 10 10 $1 eq 'm' ? :
264 10 10 if ($1 eq 'm') { }
265 0 10 if $2 + 1 != $m
266 5 5 if $2 + 1 == $m and $n == 0
267 5 5 if $2 + 1 == $m and $n != 0
269 0 10 if $2 + 1 != $n
270 5 5 if $2 + 1 == $n and $m == 0
271 5 5 if $2 + 1 == $n and $m != 0
278 9 1 rand 100 < $$self{'spacer'} ? :
288 2 0 if (exists $words{$word})
290 1 1 ref $subst eq ref [] ? :
303 0 21 unless $line
308 1 20 if $$self{'add_before'}
309 1 20 if $$self{'add_after'}
311 0 21 if defined $punc
314 1 20 if $extra
319 14 70 if $$self{$plugin}