Condition Coverage

blib/lib/Treex/Core/Config.pm
Criterion Covered Total %
condition 6 33 18.1


and 3 conditions

line !l l&&!r l&&r condition
42 29 0 0 -e $to and not $dirty
109 0 0 0 defined $config->{'share_dir'} and defined realpath($config->{'share_dir'})
140 0 0 0 defined $config->{'tred_dir'} and defined realpath($config->{'tred_dir'})
149 48 0 0 defined $config->{'pml_schema_dir'} and defined realpath($config->{'pml_schema_dir'})
167 0 0 0 defined $config->{'tred_extension_dir'} and defined realpath($config->{'tred_extension_dir'})
181 1 0 0 defined $config->{'tmp_dir'} and defined realpath($config->{'tmp_dir'})

or 2 conditions

line l !l condition
35 0 0 $toReturn // {}
190 0 0 $config->{'treex_server_url'} || 'tcp://127.0.0.1:7338'
200 0 0 $config->{'use_services'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
31 0 29 0 $args{'from'} // $self->config_file
41 0 29 0 $args{'to'} // $self->config_file
57 0 58 0 $ENV{'TREEX_CONFIG'} // 'File::Spec'->catdir('File::HomeDir'->my_home, '.treex')