Branch Coverage

lib/Bio/Roary/OrderGenes.pm
Criterion Covered Total %
branch 28 36 77.7


line true false branch
68 823 176 unless defined $group_name
70 0 176 if ($contigs_to_ids_obj->overlapping_hypothetical_protein_ids->{$gene_id})
97 11 120 if (defined $self->sample_weights and $self->sample_weights->{$sample_name}) { }
105 6 183 if (@{$groups_on_contig;} == 1)
108 0 6 if (defined $self->sample_weights and $self->sample_weights->{$sample_name}) { }
159 11 86 unless defined $groups{$group_to}
167 11 96 if (defined $sample_names)
175 6 23 if (@{$graph_group;} == 1) { }
190 84 7 if ($groups{$group_to})
218 72 1 unless (defined $self->samples_to_clusters)
229 6 0 if (defined $self->samples_to_clusters->{$sample_name})
233 0 0 unless $cluster_count{$b} <=> $cluster_count{$a}
234 0 3 unless (defined $largest_cluster)
311 2 76 if (@{$contig_groups;} <= 2) { }
0 76 elsif ($self->_groups_qc->{$group_name}) { }
330 29 0 if (not defined $groups_to_contigs{$group_name}{'comment'} or defined $groups_to_contigs{$group_name}{'comment'} and $groups_to_contigs{$group_name}{'comment'} eq '')
360 39 26 if $group_freq{$current_group} >= $self->number_of_files * $self->core_definition
363 11 15 if ($group_freq{$group_to} >= $self->number_of_files * $self->core_definition) { }