Condition Coverage

blib/lib/WWW/Google/Translate.pm
Criterion Covered Total %
condition 10 26 38.4


and 3 conditions

line !l l&&!r l&&r condition
263 2 1 0 exists $$arg_rh{'source'} and not $$arg_rh{'source'}
346 3 0 0 exists $$self{'cache_rh'} and exists $$self{'cache_file'}

or 2 conditions

line l !l condition
54 0 3 ref $$param_rh{$property} || 'String'
55 0 3 ref $self{$property} || 'String'
295 3 0 $response->content || ''
309 0 0 Sys::Hostname::hostname() || 'this machine'

or 3 conditions

line l !l&&r !l&&!r condition
130 1 0 0 $$arg_rh{'source'} ||= $$self{'default_source'}
131 1 0 0 $$arg_rh{'target'} ||= $$self{'default_target'}
274 0 0 3 $force_post or $byte_size > $get_size_limit
299 0 3 0 $message ||= $response->status_line