Branch Coverage

blib/lib/Text/Annotate/WordScan.pm
Criterion Covered Total %
branch 23 40 57.5


line true false branch
9 0 2 unless $cbk
22 0 0 unless $cbk
41 0 0 $$self{'c'} =~ /\s*([^\!\?\.]+)\s*/gs ? :
52 10 0 ref $e ? :
65 0 2 unless my $subref = eval $buf
76 2 2 @out ? :
84 8 0 if @words
86 2 2 @out ? :
112 2 2 if $in and @$in
115 2 62 unless @sentences
118 19 43 if ($max >= @{$sentences[0];})
123 8 54 if ($phraselength > $max_phl or $phraselength >= @{$sentences[0];})
128 2 60 unless @sentences
132 2 2 @out ? :
147 0 0 if $max >= @words
152 0 0 if $i > @words
193 0 10 unless ref $sub eq 'CODE'
211 8 10 $out && @$out ? :
222 0 0 unless ref $data eq 'ARRAY'
228 0 0 @$self ? :