lib/Perl/PrereqScanner/NotQuiteLite/Parser/ObjectPad.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 22 | 32 | 68.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
50 | 0 | 0 | 290 | ref $token and $token->[1] |
0 | 118 | 172 | ref $token and $token->[1] and $token->[1] eq "WORD" | |
63 | 6 | 52 | 76 | @$tokens and is_version($tokens->[0]) |
73 | 0 | 0 | 252 | ref $token and $token->[1] |
0 | 210 | 42 | ref $token and $token->[1] and $token->[1] eq "ATTRIBUTE" | |
77 | 0 | 0 | 56 | is_module_name($name) and is_version($version) |
95 | 2 | 10 | 6 | @$tokens and is_version($tokens->[0]) |
line | l | !l | condition |
---|---|---|---|
76 | 38 | 18 | $version ||= 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
51 | 17 | 0 | 155 | $token->[0] eq "isa" or $token->[0] eq "extends" |
56 | 21 | 0 | 134 | $token->[0] eq "does" or $token->[0] eq "implements" |
66 | 17 | 39 | 78 | $isa or $does |