Branch Coverage

blib/lib/Test/Module/Used.pm
Criterion Covered Total %
branch 36 40 90.0


line true false branch
115 16 6 if defined $opt_meta_file
117 6 0 if -e $file
204 0 10 unless not $$self{'tested'}
215 9 1 $num_tests > 0 ? :
315 15 198 unless (defined $$self{'version'})
349 2 27 unless ($status)
367 2 27 unless ($status)
377 22 18 unless (defined $$self{'pm_files'})
386 22 19 unless (defined $$self{'pm_files_in_test'})
406 73 432 if $_ =~ /$ext_qr/
414 13 12 unless (defined $$self{'used_modules'})
424 14 12 unless (defined $$self{'used_modules_in_test'})
469 13 1 if defined $$requires{'perl'}
477 0 26 unless defined $$self{'build_requires'}
485 10 16 unless defined $$self{'requires'}
495 18 6 unless defined $$self{'exclude_in_testdir'}
496 21 3 if not defined $$self{'exclude_in_libdir'}
528 0 31 if $packages eq ''
537 93 31 unless $self->_is_package_name($token)
553 71 20 unless (defined $$self{'ppi_for'}{$filename})