Branch Coverage

blib/lib/Any/Moose.pm
Criterion Covered Total %
branch 21 36 58.3


line true false branch
55 11 5 if not @_ or ref $_[0]
58 3 13 @_ && ref $_[0] ? :
79 1 3 if (@_) { }
92 0 4 if ($e)
103 24 0 if (exists $INC{'Mouse.pm'} and 'Mouse::Util'->can('get_metaclass_by_name'))
107 9 15 if ($meta)
108 0 9 if $meta->isa('Mouse::Meta::Role')
109 9 0 if $meta->isa('Mouse::Meta::Class')
113 0 15 if (_is_moose_loaded())
115 0 0 if ($meta)
116 0 0 if $meta->isa('Moose::Meta::Role')
117 0 0 if $meta->isa('Moose::Meta::Class')
129 0 16 if (ref $args{'options'} eq 'HASH') { }
159 0 16 if ($e)
174 6 15 if ($backer =~ /^Mouse/)
179 0 15 if $backer =~ /^Moose/
181 15 0 if mouse_is_preferred()
214 4 30 unless $fragment