Condition Coverage

lib/Perl/PrereqScanner/NotQuiteLite/Parser/MooseXDeclare.pm
Criterion Covered Total %
condition 15 25 60.0


and 3 conditions

line !l l&&!r l&&r condition
148 17 0 0 $hash_tokens[$i][0] eq "-version" and $i < $len - 2
154 0 0 0 $prev and is_version($maybe_version)

or 2 conditions

line l !l condition
50 4 14 $c->stash->{'moosex_declare'}{'namespace'} || ''
55 18 0 shift @$tokens || []
57 4 0 shift @$tokens || []
65 10 0 shift @$tokens || []
67 2 0 shift @$tokens || []
82 5 3 $c->stash->{'moosex_declare'}{'namespace'} || ''
129 5 5 $c->stash->{'moosex_declare'}{'namespace'} || ''
144 19 0 $token->[1] || ''

or 3 conditions

line l !l&&r !l&&!r condition
63 4 5 2 $token->[0] eq "extends" or $token->[0] eq "with"