Branch Coverage

blib/lib/Word/Segmenter/Chinese/Lite.pm
Criterion Covered Total %
branch 13 16 81.2


line true false branch
20 2 0 if ($mode eq 'dict' or $mode eq 'obigram' or $mode eq 'unigram')
28 4 2 if ($WSCL_MODE eq 'dict')
29 1 3 unless defined $WSCL_DICT{'1'}
32 1 1 if ($WSCL_MODE eq 'obigram')
35 1 0 if ($WSCL_MODE eq 'unigram')
63 0 4 if not $len or $len <= 0
73 16 314 if (defined $WSCL_DICT{$len}{$w})
80 23 291 if ($_ == $real_max_length - 1)