Branch Coverage

blib/lib/App/RL/Common.pm
Criterion Covered Total %
branch 31 44 70.4


line true false branch
29 0 13 if (lc $fn eq 'stdin') { }
55 0 122 if $remove_chr
78 0 241 if $remove_chr
108 36 3 if (defined $chr_name and defined $chr_start) { }
109 1 35 unless (defined $chr_end)
119 16 20 if (defined $info{'strand'})
120 0 16 if ($info{'strand'} eq '1') { }
0 16 elsif ($info{'strand'} eq '-1') { }
141 1 38 if ($header =~ /\|(.+)/)
145 1 0 if (defined $key and defined $value)
157 42 0 if (ref $info eq 'HASH')
158 42 0 if (exists $info->{'chr'} and exists $info->{'start'})
159 42 0 if (defined $info->{'chr'} and defined $info->{'start'})
173 7 12 if (defined $info->{'name'}) { }
12 0 elsif (defined $info->{'chr'}) { }
174 7 0 if (defined $info->{'chr'}) { }
186 10 9 if (defined $info->{'strand'})
189 19 0 if (defined $info->{'start'})
191 17 2 if ($info->{'end'} != $info->{'start'})
197 19 0 unless ($only_essential)
201 2 90 unless ($essential{$key})
205 2 17 if (@parts)