Branch Coverage

blib/lib/Mom.pm
Criterion Covered Total %
branch 14 28 50.0


line true false branch
38 0 1 if ($token =~ /^:(role)$/)
41 0 1 if ($token =~ /^:(common|std|path)$/) { }
0 1 elsif ($token =~ /^:(extends|with).(.+).$/) { }
0 1 elsif ($token =~ /^:(rw|ro|rwp|bare|private)$/) { }
0 1 elsif ($token =~ /^:(lazy)$/) { }
0 1 elsif ($token =~ /^:(required|clearer|trigger|builder)$/) { }
0 1 elsif ($token =~ /^:(enum|handles).(.+).$/) { }
0 1 elsif ($token =~ /^:(isa|does|type|default|builder|trigger|clearer).(.+).$/) { }
0 1 elsif ($token =~ /^:(requires).(.+).$/) { }
70 0 1 if ($import)
80 0 1 $kind eq 'role' ? :
84 0 1 if ($import_types{'std'})
89 0 1 if ($import_types{'common'})
96 0 1 if ($import_types{'path'})