Branch Coverage

blib/lib/Net/Magallanes.pm
Criterion Covered Total %
branch 0 82 0.0


line true false branch
22 0 0 if $params{'KEY'}
23 0 0 if $params{'INFILES'}
39 0 0 if ($IN_FILES)
43 0 0 unless open my $fh, "<", $file
69 0 0 unless defined $msm_id and $msm_id =~ /^\d+$/
73 0 0 if defined $self->{'_CACHE_MSM'}{$msm_id}
82 0 0 if ($res->is_success) { }
106 0 0 if defined $args
108 0 0 defined $args{'TYPE'} ? :
109 0 0 defined $args{'TIMESTAMP'} ? :
116 0 0 if ($resdo->{'type'} eq "dns")
118 0 0 if ($#{$res_set;} < 0)
123 0 0 unless $abuf
125 0 0 if (defined $abuf and defined $dec_buff)
129 0 0 unless $ans->type eq $type
131 0 0 if ($type eq 'A') { }
0 0 elsif ($type eq 'AAAA') { }
140 0 0 if ($res_ip)
141 0 0 if ($istime) { }
165 0 0 if ($resdo->{'type'} eq "dns")
167 0 0 if ($#{$res_set;} < 0)
172 0 0 unless $abuf
174 0 0 if (defined $abuf and defined $dec_buff)
179 0 0 $res_ip ? :
194 0 0 if defined $args
196 0 0 defined $args{'TIMESTAMP'} ? :
197 0 0 defined $args{'PROBEID'} ? :
205 0 0 if ($resdo->{'type'} eq "dns")
207 0 0 if ($#{$res_set;} < 0)
212 0 0 unless $abuf
214 0 0 if (defined $abuf and defined $dec_buff)
217 0 0 if ($istime or $isprbi) { }
219 0 0 if $istime
220 0 0 if $isprbi
239 0 0 unless defined $params{'name'}
241 0 0 unless defined $self->{'KEY'} and $self->{'KEY'}
243 0 0 defined $params{'type'} ? :
244 0 0 defined $params{'num_prb'} ? :
299 0 0 if ($res->is_success) { }
301 0 0 if $res->decoded_content =~ /{"measurements":\[(\d+)\]}/
303 0 0 unless $msm