Branch Coverage

lib/Bio/Roary/CommandLine/RoaryReorderSpreadsheet.pm
Criterion Covered Total %
branch 18 22 81.8


line true false branch
42 0 14 if (defined $verbose)
46 1 13 if defined $help
47 1 13 if defined $output_filename
48 13 1 if defined $tree_file
49 1 13 if defined $tree_format
50 13 1 if defined $spreadsheet_filename
51 8 6 if defined $sortby
52 10 4 if defined $search_strategy
57 0 13 unless defined $self->spreadsheet_filename and defined $self->tree_file and -e $self->spreadsheet_filename and -e $self->tree_file and not $self->help
59 0 4 unless $self->sortby eq 'height' or $self->sortby eq 'creation' or $self->sortby eq 'alpha' or $self->sortby eq 'revalpha'
60 0 13 unless $self->search_strategy eq 'breadth' or $self->search_strategy eq 'depth'