Branch Coverage

blib/lib/Zonemaster/CLI.pm
Criterion Covered Total %
branch 0 104 0.0


line true false branch
246 0 0
248 0 0 unless (defined $loc)
254 0 0 if ($self->version)
259 0 0 if ($self->list_tests)
266 0 0 if ($self->sourceaddr)
270 0 0 if ($self->policy)
271 0 0 unless $self->dump_config or $self->dump_policy
275 0 0 if ($self->config)
276 0 0 unless $self->dump_config or $self->dump_policy
280 0 0 if ($self->dump_config)
284 0 0 if ($self->dump_policy)
291 0 0 if ($self->stop_level and not defined $numeric{$self->stop_level})
295 0 0 unless (defined $numeric{$self->level})
300 0 0 unless $self->raw or $self->json
301 0 0 if $translator and $self->locale
302 0 0 if $translator
304 0 0 if ($self->restore)
317 0 0 if ($numeric{uc $entry->level} >= $numeric{uc $self->level})
320 0 0 if ($translator) { }
0 0 elsif ($self->json) { }
0 0 elsif ($self->show_module) { }
321 0 0 if ($self->time)
325 0 0 if ($self->show_level)
329 0 0 if ($self->show_module)
345 0 0 if ($self->stop_level and $numeric{uc $entry->level} >= $numeric{uc $self->stop_level})
351 0 0 if ($self->config or $self->policy)
356 0 0 unless ($domain)
360 0 0 if ($translator)
361 0 0 if ($self->time)
364 0 0 if ($self->show_level)
367 0 0 if ($self->show_module)
372 0 0 if ($self->time)
375 0 0 if ($self->show_level)
378 0 0 if ($self->show_module)
386 0 0 if ($self->ns and @{$self->ns;} > 0)
390 0 0 if ($self->ds and @{$self->ds;})
396 0 0 if ($self->test and @{$self->test;} > 0) { }
399 0 0 if ($method) { }
411 0 0 if ($translator)
412 0 0 unless ($printed_something)
417 0 0 if ($@)
419 0 0 if (blessed $err and $err->isa('Zonemaster::Exception::NormalExit')) { }
427 0 0 if ($self->count)
435 0 0 if ($self->nstimes)
454 0 0 if ($self->elapsed)
459 0 0 if ($self->json)
463 0 0 if ($self->save)
477 0 0 unless ($name and $ip)
525 0 0 if $self->progress
533 0 0 if ($str =~ /^[[:ascii:]]+$/u)
537 0 0 if (&Net::LDNS::has_idn()) { }
558 0 0 if ($doc and $$doc{$method})