Condition Coverage

blib/lib/Yandex/Translate.pm
Criterion Covered Total %
condition 0 36 0.0


and 3 conditions

line !l l&&!r l&&r condition
75 0 0 0 defined $ui && exists $valid_lang{$ui}
81 0 0 0 defined $this_default_ui and exists $valid_default_ui{$this_default_ui}
98 0 0 0 defined wantarray and length $response->{'content'}
114 0 0 0 defined $hint and ref $hint eq 'ARRAY'
135 0 0 0 defined wantarray and length $response->{'content'}
150 0 0 0 defined $to_lang and exists $valid_lang{$to_lang}
183 0 0 0 defined wantarray and length $response->{'content'}
206 0 0 0 defined $attribute and ref $attribute eq 'HASH'

or 3 conditions

line l !l&&r !l&&!r condition
52 0 0 0 shift() || $default_ui
144 0 0 0 not defined $from_lang or exists $valid_lang{$from_lang}
156 0 0 0 not defined $format or exists $valid_format{$format}
162 0 0 0 not defined $options or exists $valid_options{$options}