Branch Coverage

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


line true false branch
263 0 0 if ($self->locale)
265 0 0 unless (defined $loc)
271 0 0 if ($self->version)
276 0 0 if ($self->list_tests)
283 0 0 if ($self->sourceaddr)
287 0 0 if ($self->policy)
288 0 0 unless $self->dump_config or $self->dump_policy
292 0 0 if ($self->config)
293 0 0 unless $self->dump_config or $self->dump_policy
297 0 0 if ($self->dump_config)
301 0 0 if ($self->dump_policy)
308 0 0 if ($self->stop_level and not defined $numeric{$self->stop_level})
312 0 0 unless (defined $numeric{$self->level})
317 0 0 unless $self->raw or $self->json or $self->json_stream
318 0 0 if $translator and $self->locale
319 0 0 if $translator
322 0 0 if ($self->json_translate)
324 0 0 if $self->locale
328 0 0 if ($self->restore)
337 0 0 unless $self->json_stream
341 0 0 if ($numeric{uc $entry->level} >= $numeric{uc $self->level})
344 0 0 if ($translator) { }
0 0 elsif ($self->json_stream) { }
0 0 elsif ($self->json) { }
0 0 elsif ($self->show_module) { }
345 0 0 if ($self->time)
349 0 0 if ($self->show_level)
353 0 0 if ($self->show_module)
366 0 0 if $entry->args
367 0 0 if $json_translator
381 0 0 if ($self->stop_level and $numeric{uc $entry->level} >= $numeric{uc $self->stop_level})
387 0 0 if ($self->config or $self->policy)
392 0 0 unless ($domain)
396 0 0 if ($translator)
397 0 0 if ($self->time)
400 0 0 if ($self->show_level)
403 0 0 if ($self->show_module)
408 0 0 if ($self->time)
411 0 0 if ($self->show_level)
414 0 0 if ($self->show_module)
422 0 0 if ($self->ns and @{$self->ns;} > 0)
426 0 0 if ($self->ds and @{$self->ds;})
432 0 0 if ($self->test and @{$self->test;} > 0) { }
435 0 0 if ($method) { }
447 0 0 if ($translator)
448 0 0 unless ($printed_something)
453 0 0 if ($@)
455 0 0 if (&blessed($err) and $err->isa('Zonemaster::Engine::Exception::NormalExit')) { }
463 0 0 if ($self->count)
471 0 0 if ($self->nstimes)
490 0 0 if ($self->elapsed)
495 0 0 if ($self->json)
499 0 0 if ($self->save)
514 0 0 unless ($name)
519 0 0 if ($ip) { }
527 0 0 unless (exists $data{$ns})
572 0 0 if $self->progress
580 0 0 if ($str =~ /^[[:ascii:]]+$/u)
584 0 0 if (&Zonemaster::LDNS::has_idn()) { }
605 0 0 if ($doc and $doc->{$method})