Branch Coverage

blib/lib/App/Greple/xlate.pm
Criterion Covered Total %
branch 0 70 0.0


line true false branch
352 0 0 if state $once_called++
353 0 0 if (defined $cache_method)
354 0 0 if ($cache_method eq "")
357 0 0 if (lc $cache_method eq "accumulate")
360 0 0 if ($cache_method =~ /^(no|never)/iu)
364 0 0 if ($xlate_engine)
366 0 0 if (eval "require $mod") { }
375 0 0 if (not defined &App::Greple::xlate::XLATE)
403 0 0 if @miss
410 0 0 if $show_progress
411 0 0 if $dryrun
415 0 0 if $show_progress
416 0 0 if @from != @to
438 0 0 if $fold_line
439 0 0 if (state $formatter = $formatter{$output_format}) { }
451 0 0 if ($cache_method eq 'auto') { }
452 0 0 -f $file ? :
454 0 0 if ($cache_method and -f $current_file) { }
467 0 0 if (open my $fh, $file)
469 0 0 $json eq '' ? :
476 0 0 if $dryrun
478 0 0 if (open my $fh, ">", $file)
486 0 0 unless state $done++
488 0 0 unless $current_file = delete $args{&main::FILELABEL}
489 0 0 if /.\z/u
491 0 0 unless (defined $xlate_engine)
494 0 0 if (my $cache = cache_file())
495 0 0 if ($cache_method =~ /^(create|clear)/u)
496 0 0 unless -f $cache
497 0 0 unless open my $fh, ">", $cache
499 0 0 if $cache_method eq "create"
506 0 0 if (my $cache = cache_file())
507 0 0 if ($xlate_cache_update or %$old_cache)
515 0 0 if $key eq &main::FILELABEL
516 0 0 unless exists $opt{$key}