Branch Coverage

bin/ypick
Criterion Covered Total %
branch 12 16 75.0


line true false branch
20 0 3 if $opt{'help'}
21 0 3 if ($opt{'version'})
27 1 2 unless $pick
31 1 1 unless @argv
35 1 1 if ($ARGV eq '-') { }
40 0 1 unless (open $fh, '<', $ARGV)
50 2 14 if ($buffer and $line =~ /^---/)
58 2 0 if ($buffer =~ /\S/)