Branch Coverage

blib/lib/Catmandu/Cmd/export.pm
Criterion Covered Total %
branch 11 20 55.0


line true false branch
40 1 1 if ($opts->id_file) { }
0 1 elsif (my $ids = $opts->id) { }
0 1 elsif ((($opts->query // $opts->cql_query) // $opts->sort) // $opts->sru_sortkeys) { }
1 0 elsif ($opts->start // $opts->total) { }
52 0 0 unless $from->does("Catmandu::Searchable")
54 0 0 if $opts->cql_query // $opts->sru_sortkeys and not $from->does("Catmandu::CQLSearchable")
71 1 1 if ($opts->fix)
75 2 0 if ($opts->verbose)
81 2 0 if ($opts->verbose)
82 1 1 $n == 1 ? :