Condition Coverage

blib/lib/Lingua/Identify.pm
Criterion Covered Total %
condition 12 20 60.0


and 3 conditions

line !l l&&!r l&&r condition
340 68 1 1 $maxsize < length $text and $maxsize != 0
558 3 59 0 defined $_[1] and $_[1]
559 0 59 0 defined $_[3] and $_[3]

or 2 conditions

line l !l condition
358 1 0 $extractfrom{'head'} ||= 0
359 0 1 $extractfrom{'tail'} ||= 0
367 7 63 $config{'mode'} ||= 'normal'
924 1 0 shift() || (return undef)

or 3 conditions

line l !l&&r !l&&!r condition
346 1 0 0 $_ eq 'head' or $_ eq 'tail'