Branch Coverage

blib/lib/Lingua/ManagementSpeak.pm
Criterion Covered Total %
branch 45 46 97.8


line true false branch
109 455 771 _random($2, $1) == $1 ? :
110 455 771 if ($word) { }
128 15 4731 if $t1 eq 'adverb'
130 15 4731 if $t1 eq 'adverb'
136 4 121 if ($1 =~ /ess$/) { }
1 120 elsif ($1 =~ /s$/) { }
176 317 85 unless $is_first
184 68 16 if (not defined $low) { }
4 12 elsif (not defined $high) { }
221 29 6 unless exists $$params{'p_min'}
222 29 6 unless exists $$params{'p_max'}
223 29 6 unless exists $$params{'b_freq'}
224 29 6 unless exists $$params{'b_min'}
225 29 6 unless exists $$params{'b_max'}
237 6 68 if ($_ != $p_count and _random(100, 1) < $$params{'b_freq'})
267 34 1 if $level
271 96 1 !($_ =~ /^(of|and|or)$/) ? :
294 21 27 if ($depth < $depth_limit and _random(5, 1) > 1)
331 3 56 if ($$_{'type'} ne 'bullet' and $inside_list)
336 14 45 if ($$_{'type'} =~ /header(\d+)/) { }
32 13 elsif ($$_{'type'} eq 'paragraph') { }
13 0 elsif ($$_{'type'} eq 'bullet') { }
343 3 10 !$inside_list ? :