Branch Coverage

blib/lib/Mom.pm
Criterion Covered Total %
branch 26 34 76.4


line true false branch
39 1 16 if ($token =~ /^:(role)$/)
42 1 16 if ($token =~ /^:(common|std|path)$/) { }
1 15 elsif ($token =~ /^:(extends|with).(.+).$/) { }
1 14 elsif ($token =~ /^:(rw|ro|rwp|bare|private)$/) { }
0 14 elsif ($token =~ /^:(lazy)$/) { }
0 14 elsif ($token =~ /^:(required|req|clearer|trigger|builder)$/) { }
4 10 elsif ($token =~ /^:(enum|handles).(.+).$/) { }
1 9 elsif ($token =~ /^:(isa|does|type|default|builder|trigger|clearer).(.+).$/) { }
0 9 elsif ($token =~ /^:(requires).(.+).$/) { }
2 7 elsif ($token eq '!') { }
56 0 0 if $o eq "req"
62 2 2 if ($o eq "handles" and $v =~ /^[12]$/)
80 0 6 if ($import)
92 1 5 $kind eq 'role' ? :
96 1 5 if ($import_types{'std'})
101 0 6 if ($import_types{'common'})
108 0 6 if ($import_types{'path'})