Condition Coverage

blib/lib/Module/Pluggable/Object.pm
Criterion Covered Total %
condition 60 77 77.9


and 3 conditions

line !l l&&!r l&&r condition
58 94 31 21 exists $self->{$_} and not ref $self->{$_}
77 0 73 0 $File::Find::VERSION >= "1.39" and $^O eq "MSWin32"
73 0 0 $File::Find::VERSION >= "1.39" and $^O eq "MSWin32" and not exists $self->{'follow_symlinks'}
81 73 0 0 exists $INC{'blib.pm'} && defined $filename && $filename =~ m[(^|/)blib/] && !$self->{'force_search_all_paths'}
174 541 16 16 keys %only and not $only{$plugin}
177 508 32 8 keys %except and $except{$plugin}
178 520 16 4 defined $except and $plugin =~ /$except/
180 529 6 1 defined $self->{'max_depth'} and $depth > $self->{'max_depth'}
181 530 2 3 defined $self->{'min_depth'} and $depth < $self->{'min_depth'}
215 505 0 80 -e $sp and -d _
226 3 184 1 not $self->{'include_editor_junk'} and $self->_is_editor_junk($name)
363 584 0 1 builtin::blessed($dir) and $dir->can("files")
377 146 5 3 exists $self->{'inner'} and not $self->{'inner'}

or 2 conditions

line l !l condition
62 48 25 $self->{'search_path'} ||= ["${pkg}::Plugin"]
303 122 188 shift() || 0
311 10 1 $self->{'before_require'}->($plugin) or return
325 6 3 $self->{'after_require'}->($plugin) or return

or 3 conditions

line l !l&&r !l&&!r condition
65 24 49 0 $self->{'on_require_error'} ||= sub {
66 23 50 0 $self->{'on_instantiate_error'} ||= sub {
69 23 50 0 $self->{'before_instantiate'} ||= sub {
70 23 50 0 $self->{'after_instantiate'} ||= sub {
175 540 8 9 not defined $only or $plugin =~ /$only/
206 16 561 0 $self->{'file_regex'} || qr/\.pm$/
234 0 2 185 $name eq lc $name or $name eq uc $name
241 0 0 2 $in_pod or $line =~ /^=cut/
306 52 91 125 defined $self->{'instantiate'} or $self->{'require'}
332 2 79 0 $self->{'file_regex'} || qr/\.pm$/