Branch Coverage

lib/Bio/Roary/CommandLine/QueryRoary.pm
Criterion Covered Total %
branch 34 40 85.0


line true false branch
53 0 18 if (defined $verbose)
57 1 17 if defined $help
59 0 18 if defined $output_filename
60 16 2 if defined $action
61 0 18 if defined $core_definition
62 17 1 if (defined $groups_filename and -e $groups_filename)
66 1 17 unless (-e $self->groups_filename)
71 7 11 if @group_names
74 7 11 if @input_set_one
77 7 11 if @input_set_two
79 7 11 if (defined $self->input_set_one and defined $self->input_set_two)
86 1 17 if (not defined $self->input_set_two and @{$self->args;} == 0)
91 0 44 unless (-e $filename)
103 1 17 if $self->help
104 0 17 if (defined $self->_error_message)
118 2 15 if ($self->action eq 'union') { }
1 14 elsif ($self->action eq 'intersection') { }
1 13 elsif ($self->action eq 'complement') { }
6 7 elsif ($self->action eq 'gene_multifasta' and defined $self->group_names) { }
7 0 elsif ($self->action eq 'difference' and defined $self->input_set_one and defined $self->input_set_two) { }