Branch Coverage

blib/lib/App/RL/Command/stat2.pm
Criterion Covered Total %
branch 28 40 70.0


line true false branch
37 2 4 if (@{$args;} != 2)
44 0 7 if lc $_ eq 'stdin'
45 1 6 unless (Path::Tiny::path($_)->is_file)
50 0 3 if ($opt->{'op'} =~ /^dif/i) { }
0 3 elsif ($opt->{'op'} =~ /^uni/i) { }
3 0 elsif ($opt->{'op'} =~ /^int/i) { }
0 0 elsif ($opt->{'op'} =~ /^xor/i) { }
66 3 0 unless (exists $opt->{'base'})
70 0 3 if (not exists $opt->{'outfile'})
86 1 2 if ($opt->{'mk'}) { }
114 23 91 unless (exists $s->{$chr})
135 3 0 if (lc $opt->{'outfile'} eq 'stdout') { }
144 1 2 if ($opt->{'mk'}) { }
145 1 0 if ($opt->{'all'})
161 1 1 if ($opt->{'all'})
198 25 32 $s2_length == 0 ? :
199 20 37 $c1 == 0 ? :
207 0 7 $all_s2_length == 0 ? :
208 0 7 $all_c1 == 0 ? :
213 6 1 if ($all)