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 28 22 defined $options{'death_rate'} and $options{'death_rate'} == 0
1086 50 0 0 defined $options{'root_edge'} and $options{'root_edge'}
1108 0 36 3096 $tree_size > 0 and $tree_size < $options{'tree_size'}
36 0 3096 $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 16 28 594 scalar @extinction and ($end_time - $extinction[-1]) / $end_time < 1e-06
2340 30 1209 1588 scalar @speciation and $speciation[0] < $extinction[0]

or 2 conditions

line l !l condition
2339 2998 74 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 11 $expected_samples > 1 or rand 1 < $expected_samples
537 0 5 3 $expected_samples > 1 or rand 1 < $expected_samples
712 1 4 3 $expected_samples > 1 or rand 1 < $expected_samples
1056 50 0 0 defined $options{'tree_size'} or defined $options{'tree_age'}
1134 1843 0 1253 $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 201 1588 1239 scalar @extinction == 0 or scalar @speciation and $speciation[0] < $extinction[0]
2449 0 0 0 $k > $n or $k < 0