Branch Coverage

blib/lib/Mojolicious/Command/listdeps.pm
Criterion Covered Total %
branch 24 62 38.7


line true false branch
178 0 0 unless $cpanfile
185 0 2 unless (_load_module($module))
197 0 1 unless ($core_modules)
214 2 62 if $_ =~ /\.pm$/x
217 0 64 if $include_tests and $_ =~ /\.t$/x
225 1 0 if (-d 'lib')
232 0 1 if ($verbose)
234 0 0 $include_tests ? :
239 0 0 if $lib_dir
240 0 0 if $lib_dir
269 1 0 if $lib_dir
272 0 1 if ($cpanfile)
291 7 1 if exists $core_modules->{$module} and $skip_core
297 0 1 if $missing_only and $module_info
301 0 0 if $skip_lib and $module_info and $lib_dir and $lib_dir eq substr($module_info->file, 0, length $lib_dir)
307 0 1 if ($cpanfh)
313 0 0 if $version and $version eq 'undef'
314 0 0 if ($version)
324 0 1 if ($verbose)
326 0 0 if ($module_info) { }
342 0 1 if $cpanfh
367 2 0 if (defined $ppi_doc) { }
374 0 16 if $node->version
377 0 16 if grep {$_ eq $node->module;} 'lib'
380 0 16 if (grep {$_ eq $node->module;} 'base', 'parent') { }
384 0 0 unless $_->isa('PPI::Token::QuoteLike::Words')
392 0 0 $_->isa('PPI::Token::QuoteLike::Words') || $_->isa('PPI::Token::Number') ? :
408 0 16 unless $node->module
440 8 8 unless (exists $hash_ref->{$module_name})
484 1 0 if ($ver =~ /\..+\./x)
487 0 1 unless (_load_module('version'))