Condition Coverage

blib/lib/Module/Setup.pm
Criterion Covered Total %
condition 58 59 98.3


and 3 conditions

line !l l&&!r l&&r condition
101 89 1 84 not $self->options->{$name} and defined $default
144 12 58 5 not $$options{'pack'} and $$options{'additional'}
153 65 2 1 $$options{'additional'} and not -d $self->base_dir->flavor->additional->path_to($$options{'additional'})
276 23 1 403 exists $$tmpl{'file'} and $$tmpl{'file'}
14 1 9 exists $$tmpl{'dir'} and $$tmpl{'dir'}
4 1 10 exists $$tmpl{'plugin'} and $$tmpl{'plugin'}
5 7 3 exists $$tmpl{'plugin'} and $$tmpl{'plugin'} and not exists $$tmpl{'additional'}
307 49 5 1 $self->base_dir->flavor->is_exists and not exists $$options{'additional'}
318 426 1 39 exists $$tmpl{'config'} and ref $$tmpl{'config'} eq 'HASH'
349 36 1 10 exists $$options{'plugins'} and $$options{'plugins'}
37 1 9 exists $$options{'plugins'} and $$options{'plugins'} and @{$$options{'plugins'};}
450 2 2 2 $$config{'additional'} and $name ne $$config{'additional'}
552 1 1 7 $validator_callback and ref $validator_callback eq 'CODE'

or 2 conditions

line l !l condition
36 101 18 $args{'options'} ||= {}
37 101 18 $args{'argv'} ||= []
139 31 69 $$options{'flavor_class'} ||= 'Default'
185 11 42 delete $$options{'plugins'} || []
215 23 77 $$self{'loaded_plugin'} ||= {}
350 5 4 $$config{'plugins'} ||= []
353 43 4 $$config{'plugins'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
126 98 1 1 $self->options->{'module_setup_dir'} || $ENV{'MODULE_SETUP_DIR'} || 'Module::Setup::Path::Dir'->new('File::HomeDir'->my_home, '.module-setup')
144 25 0 75 $$options{'init'} or not $$options{'pack'} and $$options{'additional'}