Branch Coverage

blib/lib/Any/Moose.pm
Criterion Covered Total %
branch 29 36 80.5


line true false branch
60 16 10 if not @_ or ref $_[0]
63 6 20 @_ && ref $_[0] ? :
84 2 5 if (@_) { }
97 0 7 if ($e)
108 25 19 if (exists $INC{'Mouse.pm'} and 'Mouse::Util'->can('get_metaclass_by_name'))
112 11 14 if ($meta)
113 0 11 if $meta->isa('Mouse::Meta::Role')
114 11 0 if $meta->isa('Mouse::Meta::Class')
118 19 14 if (_is_moose_loaded())
120 10 9 if ($meta)
121 0 10 if $meta->isa('Moose::Meta::Role')
122 10 0 if $meta->isa('Moose::Meta::Class')
134 0 26 if (ref $args{'options'} eq 'HASH') { }
164 0 26 if ($e)
179 8 31 if ($backer =~ /^Mouse/)
184 8 23 if $backer =~ /^Moose/
186 14 9 if mouse_is_preferred()
218 8 44 unless $fragment