blib/lib/Moo/_Utils.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 25 | 38 | 65.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
17 | 204 | 0 | 24 | $INC{'Sub/Util.pm'} && defined &Sub::Util::set_subname |
4 | 0 | 200 | eval { | |
27 | 228 | 0 | 0 | "$]" < 5.011 && !("$]" >= 5.009004 && "$]" < 5.010001) |
144 | 10 | 0 | 2 | $INC{'Moose.pm'} and Class::MOP::class_of($module) |
10 | 0 | 0 | "Mouse::Util"->can("find_meta") and Mouse::Util::find_meta($module) | |
261 | 12 | 10 | 2282 | $g and defined &$g |
line | l | !l | condition |
---|---|---|---|
140 | 60 | 0 | _getstash($module) || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
17 | 24 | 0 | 204 | $su = $INC{'Sub/Util.pm'} && defined &Sub::Util::set_subname or $sn = $INC{'Sub/Name.pm'} |
24 | 200 | 4 | $su = $INC{'Sub/Util.pm'} && defined &Sub::Util::set_subname or $sn = $INC{'Sub/Name.pm'} or $su = eval { | |
22 | 224 | 2 | 2 | $su || $sn |
114 | 68 | 0 | 0 | $@ || "Can't locate $file" |
144 | 2 | 0 | 10 | $INC{'Moose.pm'} and Class::MOP::class_of($module) or "Mouse::Util"->can("find_meta") and Mouse::Util::find_meta($module) |
223 | 216 | 810 | 0 | $INC{$file} ||= $_[1] |