Branch Coverage

bin/yq
Criterion Covered Total %
branch 23 28 82.1


line true false branch
28 1 7 if $opt{'help'}
29 1 6 if ($opt{'version'})
37 1 5 unless $filter
39 4 1 unless @argv
43 4 1 if ($ARGV eq '-') { }
48 0 1 unless (open $fh, '<', $ARGV)
58 3 19 if ($buffer and $line =~ /^---/)
67 5 0 if ($buffer =~ /\S/)
83 1 6 if is_empty($doc)
84 0 6 if (isTrue $doc) { }
0 6 elsif (isFalse $doc) { }
98 0 82 if $VERBOSE >= $level
111 1 7 if ($$scope{'sort'}) { }
3 4 elsif ($$scope{'group_by'}) { }