Branch Coverage

blib/lib/App/RL/Command/compare.pm
Criterion Covered Total %
branch 18 24 75.0


line true false branch
34 2 4 if (@{$args;} < 2)
41 0 7 if lc $_ eq 'stdin'
42 1 6 unless (Path::Tiny::path($_)->is_file)
47 0 3 if ($opt->{'op'} =~ /^dif/i) { }
0 3 elsif ($opt->{'op'} =~ /^uni/i) { }
2 1 elsif ($opt->{'op'} =~ /^int/i) { }
1 0 elsif ($opt->{'op'} =~ /^xor/i) { }
63 0 3 if (not exists $opt->{'outfile'})
79 2 1 if ($opt->{'mk'}) { }
118 10 62 unless (exists $s->{$chr})
139 3 0 if (lc $opt->{'outfile'} eq 'stdout') { }
146 2 1 if ($opt->{'mk'}) { }