Condition Coverage

blib/lib/AltaVista/BabelFish.pm
Criterion Covered Total %
condition 9 29 31.0


and 3 conditions

line !l l&&!r l&&r condition
98 3 2 3 defined $$args_ref{'source'} && exists $lang{$$args_ref{'source'}}
114 0 0 8 defined $_source and exists $lang{$_source}
116 0 8 0 defined $target{$ident} and grep /^\Q$target{$ident}\E$/, @{$lang{$source{$ident}}{'targets'};}
131 0 0 8 defined $_target and exists $lang{$_target}
0 0 8 defined $_target and exists $lang{$_target} and grep /^\Q$target{$ident}\E$/, @{$lang{$source{$ident}}{'targets'};}
155 0 0 0 defined $_lang && exists $lang{$_lang}
170 0 0 0 defined $_lang && exists $lang{$_lang}
298 0 0 0 $use_native && $src ne 'en'
301 0 0 0 $native && $native ne $english

or 2 conditions

line l !l condition
101 5 3 $$args_ref{'target'} || ''