Branch Coverage

blib/lib/Tangence/Compiler/Parser.pm
Criterion Covered Total %
branch 16 24 66.6


line true false branch
177 0 24 if exists $methods{$methodname}
200 0 13 if exists $events{$eventname}
215 24 68 if ($_ eq "smashed")
222 0 92 if exists $properties{$propname}
244 24 107 if ($(Syntax::Keyword::Match/topic) eq 'method') { }
13 94 elsif ($(Syntax::Keyword::Match/topic) eq 'event') { }
92 2 elsif ($(Syntax::Keyword::Match/topic) eq 'smashed' or $(Syntax::Keyword::Match/topic) eq 'prop') { }
2 0 elsif ($(Syntax::Keyword::Match/topic) eq 'isa') { }
247 0 2 unless my $super = $_package->{$supername}
291 55 0 if ($(Syntax::Keyword::Match/topic) eq "field")
294 0 55 if exists $fieldnames{$fieldname}
355 0 208 unless grep {$_ eq $typename;} @basic_types