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 79115 0 0 substr($string, $i, 1) eq q['] && $prev =~ /[a-z]/i && $next =~ /[a-z]/i
175 133 78979 3 not $QUOTED || $COMMENTED and $token eq q[']
79112 0 3 not $QUOTED || $COMMENTED and $token eq q['] and not $quotes
78979 0 3 not $QUOTED || $COMMENTED and $token eq q['] and not $quotes and not $apostr
133 78710 269 not $QUOTED || $COMMENTED and $token eq '['
78843 267 2 not $QUOTED || $COMMENTED and $token eq '[' and not $ignore
113 78977 20 not $QUOTED and $COMMENTED
79090 18 2 not $QUOTED and $COMMENTED and $token eq ']'
78995 0 2 not $QUOTED and $COMMENTED and $token eq ']' and not $ignore
78995 0 113 $QUOTED and not $COMMENTED
78995 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 78980 18 not $QUOTED and $token eq ' '
79093 0 18 not $QUOTED and $token eq ' ' and not $whitespace
198 129 78860 104 not $QUOTED || $COMMENTED and substr($string, $i, 1) eq ';'
232 0 104 16628 defined $token and defined $remainder
254 179475 23532 2033 $tokens[$i] eq ',' and $depth == 1
302 192 3635 2 defined $tail[-1] and $tail[-1] =~ /(\[.+\])$/
3827 2 0 defined $tail[-1] and $tail[-1] =~ /(\[.+\])$/ and scalar @tail != 1
336 86182 0 0 substr($string, $i, 1) eq q['] && $prev =~ /[a-z]/i && $next =~ /[a-z]/i
342 55653 30262 267 $ignore and $token =~ /\[$/
345 55653 30262 267 $ignore and $token =~ /\]$/
349 23327 45960 16628 not $QUOTED || $COMMENTED and $token =~ /$TOKEN_DELIMITER/
365 23327 45957 3 not $QUOTED || $COMMENTED and substr($string, $i, 1) eq q[']
69284 0 3 not $QUOTED || $COMMENTED and substr($string, $i, 1) eq q['] and not $apostr
69171 0 113 $QUOTED and not $COMMENTED
69171 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 78982 $QUOTED || $COMMENTED
113 20 78979 $QUOTED || $COMMENTED
198 113 16 78964 $QUOTED || $COMMENTED
349 113 23214 62588 $QUOTED || $COMMENTED
365 113 23214 45960 $QUOTED || $COMMENTED