Branch Coverage

blib/lib/MooX/Object/Pluggable.pm
Criterion Covered Total %
branch 24 26 92.3


line true false branch
16 17 4 unless $self->does($role)
32 0 15 unless @plugins
34 1 16 if ($plugin_option eq '-all') { }
1 15 elsif (ref $plugin_option eq 'ARRAY') { }
4 11 elsif (ref $plugin_option eq 'Regexp') { }
40 0 4 unless @load_plugins
46 1 10 unless @real_roles
94 23 5 if (ref $self) { }
101 3 25 if defined $addr and defined $pluggable_objects{$addr}
104 20 5 if defined $pluggable_objects{$class}
117 3 5 unless $with
123 3 7 unless $key
137 3 4 unless $around