Branch Coverage

lib/Perl/PrereqScanner/NotQuiteLite/Parser/ClassLoad.pm
Criterion Covered Total %
branch 20 26 76.9


line true false branch
27 0 11 if (is_version($tokens->[0]))
32 11 10 if ref $token
34 7 3 if ($known_functions{$token}) { }
3 0 elsif ($token eq ':all') { }
57 1 5 if (ref $options and $options->[1] eq "{}")
60 1 0 if (ref $key and $key->[0] eq "-version" and is_version($value))
75 1 2 if (ref $options and $options->[1] eq "{}")
78 1 0 if (ref $key and $key->[0] eq "-version" and is_version($value))
99 5 9 if (is_module_name($token))
100 3 2 if ($module)
107 2 7 if (ref $token and ($token->[1] || '') eq "{}")
110 2 0 if (ref $key and $key->[0] eq "-version" and is_version($value))
116 2 0 if ($module)