Branch Coverage

blib/lib/Yandex/Dictionary.pm
Criterion Covered Total %
branch 0 80 0.0


line true false branch
79 0 0 if defined $self->{'_text_'}
86 0 0 if defined $key
92 0 0 if defined $test
98 0 0 if defined $lang and exists $valid_lang{$lang}
104 0 0 defined $format && exists $valid_format{$format} ? :
110 0 0 defined $ui && exists $valid_default_ui{$ui} ? :
116 0 0 if defined $this_default_ui and exists $valid_default_ui{$this_default_ui}
122 0 0 unless defined $self->{'_key_'}
125 0 0 defined $self->{'_format_'} && exists $valid_format{$self->{'_format_'}} ? :
126 0 0 $self->{'_format_'} eq 'xml' ? :
129 0 0 if $response->{'status'} eq '401'
130 0 0 if $response->{'status'} eq '402'
131 0 0 unless $response->{'success'}
133 0 0 if (length $response->{'content'})
141 0 0 unless defined $self->{'_key_'}
142 0 0 unless defined $self->{'_text_'}
146 0 0 if $response->{'status'} eq '401'
147 0 0 if $response->{'status'} eq '402'
148 0 0 unless $response->{'success'}
149 0 0 if (defined wantarray and length $response->{'content'})
151 0 0 wantarray ? :
158 0 0 unless defined $self->{'_key_'}
159 0 0 unless defined $self->{'_text_'}
162 0 0 if defined $self->{'_format_'} and not exists $valid_format{$self->{'_format_'}}
163 0 0 $self->{'_format_'} eq 'xml' ? :
165 0 0 if $response->{'status'} eq '401'
166 0 0 if $response->{'status'} eq '402'
167 0 0 if $response->{'status'} eq '403'
168 0 0 if $response->{'status'} eq '413'
169 0 0 if $response->{'status'} eq '501'
170 0 0 unless $response->{'success'}
171 0 0 if (length $response->{'content'})
190 0 0 wantarray ? :
210 0 0 wantarray ? :
220 0 0 if (defined do { $respond }->[$x]{'tr'}[$y]{'mean'}[0]{'text'})
228 0 0 wantarray ? :
238 0 0 if (defined do { $respond }->[$x]{'tr'}[$y]{'syn'}[0]{'text'})
250 0 0 wantarray ? :
260 0 0 if (defined do { $respond }->[$x]{'tr'}[$y]{'ex'}[0]{'text'})
271 0 0 wantarray ? :