Branch Coverage

blib/lib/Catmandu/Cmd/stream.pm
Criterion Covered Total %
branch 14 24 58.3


line true false branch
32 1 1 if ($bag_name = $from_opts->{'bag'}) { }
1 0 elsif ($bag_name = $into_opts->{'bag'}) { }
56 1 1 $upload ? :
64 1 0 unless ($store->bag->exists($bag_name))
70 0 1 unless $bag
74 0 1 if (not defined $filename or $filename eq '-') { }
82 0 1 unless defined $io
90 0 1 unless ($store->bag->exists($bag_name))
96 0 1 unless $bag
100 0 1 unless ($file)
106 1 0 if (not defined $filename or $filename eq '-') { }
115 0 1 unless defined $io