Branch Coverage

lib/Bio/Roary/SplitGroups.pm
Criterion Covered Total %
branch 32 34 94.1


line true false branch
90 990 135 if ($i - $offset >= 0)
94 990 135 if ($i + $offset < @genes)
119 75 64 if ($self->_first_gene_of_group_which_doesnt_have_paralogs->{$group[0]}) { }
1 63 elsif (@group == 1) { }
6 57 elsif ($self->_contains_paralogs(\@group)) { }
141 4 6 unless ($any_paralogs)
198 6 57 if defined $self->_find_paralogs($group)
216 15 133 if ($v_len < $smallest_number and $v_len > 1)
221 12 57 if defined $smallest_group
243 38 74 unless defined $gene_paralog_group
258 12 19 if grep {$_ eq $g;} @paralogs
265 1 5 if @$last > 0
268 6 0 if ($self->_do_sorting)
289 21 17 if ($score > $best_score)
303 110 246 unless defined $input_group
304 115 131 if $cgn2->{$input_group}
306 0 38 if (scalar @{$cgn1;} == 0)