Condition Coverage

blib/lib/Bio/Phylo/EvolutionaryModels.pm
Criterion Covered Total %
condition 37 143 25.8


and 3 conditions

line !l l&&!r l&&r condition
225 5 0 0 $options{'threads'} > 1 and not $Bio::Phylo::EvolutionaryModels::Config{'useithreads'}
252 5 0 0 defined $options{'incomplete_sampling'} and $options{'incomplete_sampling'}
0 0 0 defined $options{'incomplete_sampling'} and $options{'incomplete_sampling'} and not defined $options{'algorithm_options'}{'sampling_probability'}
307 0 0 0 defined $options{'output_format'} and $options{'output_format'} eq 'newick'
326 1 4 0 defined $options{'output_format'} and $options{'output_format'} eq 'newick'
1 0 4 defined $options{'output_format'} and $options{'output_format'} eq 'forest'
616 0 1 0 ref $sampling_probability and scalar @{$sampling_probability;} != $mstar - $options{'tree_size'} + 1
1069 0 48 18 defined $options{'death_rate'} and $options{'death_rate'} == 0
1086 66 0 0 defined $options{'root_edge'} and $options{'root_edge'}
1108 0 36 3938 $tree_size > 0 and $tree_size < $options{'tree_size'}
36 0 3938 $tree_size > 0 and $tree_size < $options{'tree_size'} and $time < $options{'tree_age'}
1227 0 0 0 defined $options{'death_rate'} and $options{'death_rate'} == 0
1248 0 0 0 defined $options{'root_edge'} and $options{'root_edge'}
1270 0 0 0 $tree_size > 0 and $tree_size < $options{'tree_size'}
0 0 0 $tree_size > 0 and $tree_size < $options{'tree_size'} and $time < $options{'tree_age'}
1406 0 0 0 defined $options{'root_edge'} and $options{'root_edge'}
1424 0 0 0 $tree_size > 0 and $tree_size < $options{'tree_size'}
0 0 0 $tree_size > 0 and $tree_size < $options{'tree_size'} and $time < $options{'tree_age'}
1566 0 0 0 defined $options{'root_edge'} and $options{'root_edge'}
1578 0 0 0 $tree_size < $options{'tree_size'} and $time < $options{'tree_age'}
1595 0 0 0 $selected < scalar @terminals and $rand_select > $birth_rates[$selected]
1741 0 0 0 defined $options{'root_edge'} and $options{'root_edge'}
1773 0 0 0 $tree_size > 0 and $tree_size < $options{'tree_size'}
0 0 0 $tree_size > 0 and $tree_size < $options{'tree_size'} and $time < $options{'tree_age'}
1831 0 0 0 $selected < scalar @terminals and $rand_select > $birth_rates[$selected]
1843 0 0 0 $selected < scalar @terminals and $rand_select > $death_rates[$selected]
1985 0 0 0 defined $options{'root_edge'} and $options{'root_edge'}
1997 0 0 0 $tree_size < $options{'tree_size'} and $time < $options{'tree_age'}
2014 0 0 0 $selected < scalar @terminals and $rand_select > $birth_rates[$selected]
2334 12 48 690 scalar @extinction and ($end_time - $extinction[-1]) / $end_time < 1e-06
2340 64 1548 2061 scalar @speciation and $speciation[0] < $extinction[0]

or 2 conditions

line l !l condition
2339 3790 124 scalar @speciation or scalar @extinction

or 3 conditions

line l !l&&r !l&&!r condition
262 4 1 0 defined $options{'model'} or $options{'algorithm'} eq 'constant_rate_bd'
443 0 5 7 $expected_samples > 1 or rand 1 < $expected_samples
537 2 3 7 $expected_samples > 1 or rand 1 < $expected_samples
712 0 5 4 $expected_samples > 1 or rand 1 < $expected_samples
1056 66 0 0 defined $options{'tree_size'} or defined $options{'tree_age'}
1134 2296 0 1642 $next_speciation < $next_extinction or not defined $next_extinction
1209 0 0 0 defined $options{'tree_size'} or defined $options{'tree_age'}
1296 0 0 0 $next_speciation < $next_extinction or not defined $next_extinction
1372 0 0 0 defined $options{'tree_size'} or defined $options{'tree_age'}
1464 0 0 0 $next_speciation < $next_extinction or not defined $next_extinction
1535 0 0 0 defined $options{'tree_size'} or defined $options{'tree_age'}
1685 0 0 0 defined $options{'tree_size'} or defined $options{'tree_age'}
1867 0 0 0 $next_speciation < $next_extinction or not defined $next_extinction
1954 0 0 0 defined $options{'tree_size'} or defined $options{'tree_age'}
2340 181 2061 1612 scalar @extinction == 0 or scalar @speciation and $speciation[0] < $extinction[0]
2449 0 0 0 $k > $n or $k < 0