Condition Coverage

blib/lib/Lingua/Identify.pm
Criterion Covered Total %
condition 13 20 65.0


and 3 conditions

line !l l&&!r l&&r condition
338 66 1 1 $maxsize < length $text and $maxsize != 0
553 3 57 0 defined $_[1] and $_[1]
554 1 56 0 defined $_[3] and $_[3]

or 2 conditions

line l !l condition
356 1 0 $extractfrom{'head'} ||= 0
357 0 1 $extractfrom{'tail'} ||= 0
365 7 61 $config{'mode'} ||= 'normal'
885 1 0 shift() || (return undef)

or 3 conditions

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