Condition Coverage

blib/lib/Lingua/Translate.pm
Criterion Covered Total %
condition 12 29 41.3


and 3 conditions

line !l l&&!r l&&r condition
113 0 0 2 defined $options{'src'} and defined $options{'dest'}
147 2 0 0 $$self{'back_end_options'} and my $code_ref = $$self{'back_end'}->can('save_config')
182 0 1 1 $Lingua::Translate::have_map_utf8 and lc $source_encoding ne 'utf8'
198 0 0 1 $Lingua::Translate::have_map_utf8 and lc $dest_encoding ne 'utf8'
267 0 3 0 $Lingua::Translate::have_map_utf8 and not utf8_supported_charset($value)
275 0 3 0 $Lingua::Translate::have_map_utf8 and not utf8_supported_charset($value)

or 2 conditions

line l !l condition
250 5 2 $Lingua::Translate::defaults ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
123 0 2 0 delete $options{'back_end'} || $$Lingua::Translate::defaults{'back_end'}
179 0 2 0 $$self{'src_enc'} || $$Lingua::Translate::defaults{'src_enc'}
197 0 1 0 $$self{'dest_enc'} || $$Lingua::Translate::defaults{'dest_enc'}