Branch Coverage

blib/lib/Mom.pm
Criterion Covered Total %
branch 22 28 78.5


line true false branch
38 1 10 if ($token =~ /^:(role)$/)
41 1 10 if ($token =~ /^:(common|std|path)$/) { }
1 9 elsif ($token =~ /^:(extends|with).(.+).$/) { }
1 8 elsif ($token =~ /^:(rw|ro|rwp|bare|private)$/) { }
0 8 elsif ($token =~ /^:(lazy)$/) { }
2 6 elsif ($token =~ /^:(required|clearer|trigger|builder)$/) { }
0 6 elsif ($token =~ /^:(enum|handles).(.+).$/) { }
1 5 elsif ($token =~ /^:(isa|does|type|default|builder|trigger|clearer).(.+).$/) { }
0 5 elsif ($token =~ /^:(requires).(.+).$/) { }
70 0 4 if ($import)
82 1 3 $kind eq 'role' ? :
86 1 3 if ($import_types{'std'})
91 0 4 if ($import_types{'common'})
98 0 4 if ($import_types{'path'})