Branch Coverage

lib/Perl/PrereqScanner/NotQuiteLite/Parser/AnyMoose.pm
Criterion Covered Total %
branch 15 30 50.0


line true false branch
20 0 7 if (is_version($tokens->[0]))
24 13 5 if ref $token
29 5 0 if is_module_name($module)
61 4 11 unless (ref $token)
62 2 2 if ($saw_any_moose) { }
72 3 8 if ($token->[0] eq "any_moose")
77 0 8 if ($desc eq "{}")
78 0 0 unless $token->[0]
80 0 0 if ($hash_tokens[$i][0] eq "-version" and $i < $len - 2)
83 0 0 if (ref $maybe_version)
86 0 0 if ($prev and is_version($maybe_version))
87 0 0 if ($saw_any_moose) { }
96 2 6 if ($saw_any_moose and $desc eq "()")
99 0 2 if ref $token_in_parentheses
101 2 0 if is_module_name($module)