Branch Coverage

blib/lib/DNS/WorldWideDns.pm
Criterion Covered Total %
branch 7 72 9.7


line true false branch
104 0 0 unless (defined $domain)
107 0 0 unless ($domain =~ /^[\w\-\.]+$/msx)
110 0 0 $isPrimary eq '' || $isPrimary == 1 ? :
111 0 0 $isDynamic eq '' || $isDynamic == 0 ? :
116 0 0 if ($content eq '200') { }
0 0 elsif ($content eq '407') { }
0 0 elsif ($content eq '408') { }
0 0 elsif ($content eq '409') { }
0 0 elsif ($content eq '410') { }
175 0 0 unless (defined $domain)
178 0 0 unless ($domain =~ /^[\w\-\.]+$/msx)
185 0 0 if ($content eq '200') { }
0 0 elsif ($content eq '405') { }
0 0 elsif ($content eq '406') { }
280 0 0 unless (defined $domain)
283 0 0 unless ($domain =~ /^[\w\-\.]+$/msx)
287 0 0 if ($nameServer =~ /^\D+$/ or $nameServer > 3 or $nameServer < 0)
294 0 0 if ($content eq '405') { }
0 0 elsif ($content eq '450') { }
0 0 elsif ($content eq '451') { }
321 0 0 if ($content =~ /^;\s+SecureZT((?:\s?\d+\.\d+\.\d+\.\d+){0,})$/imsx) { }
329 0 0 if ($content =~ /^\@\s+IN\s+SOA\s+[\w\.\-]+\.\s+([\w\.\-]+)\.\s+\d+\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s*$/imsx)
367 0 0 $2 eq 'P' ? :
394 0 1 unless (defined $url)
397 0 1 unless ($url =~ m[^https://www.worldwidedns.net/.*$]msx)
405 0 1 if ($response->is_success)
410 0 0 if ($content eq '401') { }
0 0 elsif ($content eq '403') { }
462 1 2 unless (defined $username)
465 1 1 unless (defined $password)
507 0 0 unless (defined $domain)
510 0 0 unless ($domain =~ /^[\w\-\.]+$/msx)
513 0 0 unless (defined $params)
516 0 0 unless (ref $params eq 'HASH')
548 0 0 if ($content =~ /211\s*212\s*213/imsx) { }
0 0 elsif ($content eq '405') { }