Branch Coverage

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


line true false branch
28 0 16 if (lc $infile eq 'stdin') { }
53 0 122 if $remove_chr
76 0 241 if $remove_chr
106 36 3 if (defined $chr_name and defined $chr_start) { }
107 1 35 unless (defined $chr_end)
117 16 20 if (defined $info{'strand'})
118 0 16 if ($info{'strand'} eq '1') { }
0 16 elsif ($info{'strand'} eq '-1') { }
139 1 38 if ($header =~ /\|(.+)/)
143 1 0 if (defined $key and defined $value)
155 42 0 if (ref $info eq 'HASH')
156 42 0 if (exists $info->{'chr'} and exists $info->{'start'})
157 42 0 if (defined $info->{'chr'} and defined $info->{'start'})
171 7 12 if (defined $info->{'name'}) { }
12 0 elsif (defined $info->{'chr'}) { }
172 7 0 if (defined $info->{'chr'}) { }
184 10 9 if (defined $info->{'strand'})
187 19 0 if (defined $info->{'start'})
189 17 2 if ($info->{'end'} != $info->{'start'})
195 19 0 unless ($only_essential)
199 2 90 unless ($essential{$key})
203 2 17 if (@parts)