Branch Coverage

blib/lib/Test/Module/Used.pm
Criterion Covered Total %
branch 37 40 92.5


line true false branch
113 16 6 if defined $opt_meta_file
115 6 6 if -e $file
202 0 10 unless not $self->{'tested'}
213 9 1 $num_tests > 0 ? :
313 15 198 unless (defined $self->{'version'})
347 2 27 unless ($status)
365 2 27 unless ($status)
375 22 18 unless (defined $self->{'pm_files'})
384 22 19 unless (defined $self->{'pm_files_in_test'})
404 73 432 if $_ =~ /$ext_qr/
412 13 12 unless (defined $self->{'used_modules'})
422 14 12 unless (defined $self->{'used_modules_in_test'})
466 13 1 if defined $requires->{'perl'}
474 0 26 unless defined $self->{'build_requires'}
482 10 16 unless defined $self->{'requires'}
492 18 6 unless defined $self->{'exclude_in_testdir'}
493 21 3 if not defined $self->{'exclude_in_libdir'}
525 0 31 if $packages eq ''
534 93 31 unless $self->_is_package_name($token)
550 71 20 unless (defined $self->{'ppi_for'}{$filename})