Condition Coverage

blib/lib/Bio/Phylo/Parsers/Newick.pm
Criterion Covered Total %
condition 107 128 83.5


and 3 conditions

line !l l&&!r l&&r condition
84 24 27 57 defined $id1 && exists $id_hash->{$id1}
85 24 41 43 defined $id2 && exists $id_hash->{$id2}
86 51 30 27 $id1_exists and $id2_exists
172 76604 0 0 substr($string, $i, 1) eq q['] && $prev =~ /[a-z]/i && $next =~ /[a-z]/i
175 133 76468 3 not $QUOTED || $COMMENTED and $token eq q[']
76601 0 3 not $QUOTED || $COMMENTED and $token eq q['] and not $quotes
76468 0 3 not $QUOTED || $COMMENTED and $token eq q['] and not $quotes and not $apostr
133 76199 269 not $QUOTED || $COMMENTED and $token eq '['
76332 267 2 not $QUOTED || $COMMENTED and $token eq '[' and not $ignore
113 76466 20 not $QUOTED and $COMMENTED
76579 18 2 not $QUOTED and $COMMENTED and $token eq ']'
76484 0 2 not $QUOTED and $COMMENTED and $token eq ']' and not $ignore
76484 0 113 $QUOTED and not $COMMENTED
76484 110 3 $QUOTED and not $COMMENTED and $token eq q[']
110 0 3 $QUOTED and not $COMMENTED and $token eq q['] and substr($string, $i, 2) ne q['']
110 0 3 $QUOTED and not $COMMENTED and $token eq q['] and substr($string, $i, 2) ne q[''] and not $quotes
0 0 3 $QUOTED and not $COMMENTED and $token eq q['] and substr($string, $i, 2) ne q[''] and not $quotes and not $apostr
194 113 76469 18 not $QUOTED and $token eq ' '
76582 0 18 not $QUOTED and $token eq ' ' and not $whitespace
198 129 76349 104 not $QUOTED || $COMMENTED and substr($string, $i, 1) eq ';'
232 0 104 15899 defined $token and defined $remainder
254 150672 19533 1952 $tokens[$i] eq ',' and $depth == 1
302 192 3473 2 defined $tail[-1] and $tail[-1] =~ /(\[.+\])$/
3665 2 0 defined $tail[-1] and $tail[-1] =~ /(\[.+\])$/ and scalar @tail != 1
336 83347 0 0 substr($string, $i, 1) eq q['] && $prev =~ /[a-z]/i && $next =~ /[a-z]/i
342 52818 30262 267 $ignore and $token =~ /\[$/
345 52818 30262 267 $ignore and $token =~ /\]$/
349 23327 43854 15899 not $QUOTED || $COMMENTED and $token =~ /$TOKEN_DELIMITER/
365 23327 43851 3 not $QUOTED || $COMMENTED and substr($string, $i, 1) eq q[']
67178 0 3 not $QUOTED || $COMMENTED and substr($string, $i, 1) eq q['] and not $apostr
67065 0 113 $QUOTED and not $COMMENTED
67065 110 3 $QUOTED and not $COMMENTED and substr($string, $i, 1) eq q[']
110 0 3 $QUOTED and not $COMMENTED and substr($string, $i, 1) eq q['] and substr($string, $i, 2) ne q['']
110 0 3 $QUOTED and not $COMMENTED and substr($string, $i, 1) eq q['] and substr($string, $i, 2) ne q[''] and not $apostr

or 2 conditions

line l !l condition
93 54 10 $dist || 0
51 13 $distp || 0
95 0 24 $id ||= ''
96 0 17 $dist ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
92 62 2 17 defined $dist or defined $distp
175 113 20 76471 $QUOTED || $COMMENTED
113 20 76468 $QUOTED || $COMMENTED
198 113 16 76453 $QUOTED || $COMMENTED
349 113 23214 59753 $QUOTED || $COMMENTED
365 113 23214 43854 $QUOTED || $COMMENTED