Condition Coverage

blib/lib/WWW/Google/Translate.pm
Criterion Covered Total %
condition 9 23 39.1


and 3 conditions

line !l l&&!r l&&r condition
254 2 1 0 exists $arg_hr->{'source'} and not $arg_hr->{'source'}

or 2 conditions

line l !l condition
53 0 3 ref $param_hr->{$property} || 'String'
54 0 3 ref $self{$property} || 'String'
286 3 0 $response->content || ''
300 0 0 Sys::Hostname::hostname() || 'this machine'

or 3 conditions

line l !l&&r !l&&!r condition
119 1 0 0 $arg_hr->{'source'} ||= $self->{'default_source'}
120 1 0 0 $arg_hr->{'target'} ||= $self->{'default_target'}
265 0 0 3 $force_post or $byte_size > $get_size_limit
290 0 3 0 $message ||= $response->status_line