Branch Coverage

blib/lib/Mojolicious/Command/listdeps.pm
Criterion Covered Total %
branch 21 50 42.0


line true false branch
139 0 2 unless (_load_module($module))
151 0 1 unless ($core_modules)
168 2 42 if $_ =~ /\.pm$/x
171 0 44 if $include_tests and $_ =~ /\.t$/x
179 1 0 if (-d 'lib')
186 0 1 if ($verbose)
188 0 0 $include_tests ? :
193 0 0 if $lib_dir
194 0 0 if $lib_dir
222 1 0 if $lib_dir
232 7 1 if exists $$core_modules{$module} and $skip_core
238 0 1 if $missing_only and $module_info
242 0 0 if $skip_lib and $module_info and $lib_dir and $lib_dir eq substr($module_info->file, 0, length $lib_dir)
249 0 1 if ($verbose)
251 0 0 if ($module_info) { }
290 2 0 if (defined $ppi_doc) { }
297 0 16 if $node->version
300 0 16 if grep {$_ eq $node->module;} 'lib'
303 0 16 if (grep {$_ eq $node->module;} 'base', 'parent') { }
306 0 0 unless $_->isa('PPI::Token::QuoteLike::Words')
312 0 0 $_->isa('PPI::Token::QuoteLike::Words') || $_->isa('PPI::Token::Number') ? :
331 0 16 unless $node->module
363 8 8 unless (exists $$hash_ref{$module_name})
407 1 0 if ($ver =~ /\..+\./x)
410 0 1 unless (_load_module('version'))