Branch Coverage

blib/lib/Ham/Reference/QRZ.pm
Criterion Covered Total %
branch 0 56 0.0


line true false branch
32 0 0 if $args{'callsign'}
33 0 0 if $args{'username'}
34 0 0 if $args{'password'}
35 0 0 if $args{'key'}
44 0 0 unless ($self->{'_username'})
45 0 0 unless ($self->{'_password'})
48 0 0 if ($login->{'Session'}{'Error'}) { }
0 0 elsif (not $login->{'Session'}{'Key'}) { }
108 0 0 if $self->{'_listing'}{'call'}
109 0 0 unless ($self->{'_callsign'})
114 0 0 unless ($self->{'_key'})
119 0 0 if ($listing->{'Session'}{'Error'})
132 0 0 if $self->{'_bio'}{'call'}
133 0 0 unless ($self->{'_callsign'})
138 0 0 unless ($self->{'_key'})
143 0 0 if ($bio->{'Session'}{'Error'})
156 0 0 unless $self->{'_bio'}{'call'}
157 0 0 unless ($self->{'_bio'}{'bio'})
164 0 0 if $self->{'is_error'}
175 0 0 if $self->{'_dxcc'}{'call'}
176 0 0 unless ($self->{'_callsign'})
181 0 0 unless ($self->{'_key'})
186 0 0 if ($bio->{'Session'}{'Error'})
199 0 0 unless $self->{'_listing'}{'callsign'}
200 0 0 if (not $self->{'_listing'}{'state'} or not $self->{'_listing'}{'county'} and $self->{'_listing'}{'country'} ne 'Canada')
206 0 0 ref $$sections{$self->{'_listing'}{'state'}} eq 'HASH' ? :
236 0 0 if $self->{'is_error'}
256 0 0 unless ($response->is_success)