Condition Coverage

blib/lib/App/podweaver.pm
Criterion Covered Total %
condition 12 30 40.0


and 3 conditions

line !l l&&!r l&&r condition
73 6 2 2 $ppi_document->find('PPI::Statement::End') && grep({$_->find_first('PPI::Token::Pod');} @{$ppi_document->find('PPI::Statement::End');})
105 0 10 0 $module_info and defined $module_info->version
128 10 0 0 $App::podweaver::log->is_error and not $pod_document
420 0 0 0 $config_file and -e $config_file

or 2 conditions

line l !l condition
215 0 2 $options{'dist_root'} || '.'
313 0 0 $options{'dist_root'} || '.'
334 0 1 $options{'dist_root'} || '.'

or 3 conditions

line l !l&&r !l&&!r condition
144 3 4 3 $ppi_document->find('PPI::Statement::Data') || $ppi_document->find('PPI::Statement::End')
186 7 0 0 $write_to_dot_new or $no_backup
219 0 2 0 -r ($meta_file = 'File::Spec'->catfile($dist_root, 'META.json')) or -r ($meta_file = 'File::Spec'->catfile($dist_root, 'META.yml'))
381 0 0 0 $scheme->isa('File::HomeDir::Darwin') or $scheme->isa('File::HomeDir::Windows')