Branch Coverage

blib/lib/Role/Inspector.pm
Criterion Covered Total %
branch 24 36 66.6


line true false branch
36 4 5 if $$args{'no_meta'}
46 1 8 if ($$info{'api'} and not $$info{'provides'} && $$info{'requires'})
52 1 1 $$info{'name'}->can($method) ? :
60 4 5 if (not $$info{'api'})
76 1 3 unless exists $$data{'name'}
83 3 1 blessed $attr && $attr->can('is') ? :
84 3 1 blessed $attr && $attr->can('name') ? :
4 0 if $is =~ /\A(ro|rw|lazy|rwp)\z/i
89 15 5 blessed $attr ? :
90 0 20 if ref $method_name
91 9 11 if defined $method_name
95 0 4 if (blessed $attr and $attr->can('_canonicalize_handles')) { }
97 0 0 $attr->can('handles') ? :
0 0 $attr->can('_canonicalize_handles') ? :
107 0 4 if (not defined $handles) { }
0 4 elsif (not ref $handles) { }
4 0 elsif (ref $handles eq 'ARRAY') { }
0 0 elsif (ref $handles eq 'HASH') { }