Branch Coverage

blib/lib/Namespace/Dispatch.pm
Criterion Covered Total %
branch 17 20 85.0


line true false branch
10 0 7 if $caller->can('meta')
12 0 7 if ($meta and $meta =~ /(Class$|Role$)/) { }
24 1 17 ref $_[0] ? :
26 18 0 if $class->can('leaves')
27 12 6 if ($name ~~ \@leaves) { }
35 1 14 ref $_[0] ? :
39 10 5 if ($handler) { }
42 1 9 if $@
44 8 1 if ($handler->can('dispatch')) { }
57 1 22 ref $_[0] ? :