Branch Coverage

blib/lib/Mojolicious/Plugin/Bootstrap3.pm
Criterion Covered Total %
branch 11 42 26.1


line true false branch
269 2 0 ref $self ? :
272 1 0 if -d $_
1 1 if $type and $type eq 'sass'
333 1 0 unless eval { do { $app->asset } }
338 0 1 if $config->{'theme'}
343 0 1 if ($config->{'custom'})
345 0 0 ref $config->{'custom'} eq 'ARRAY' ? :
348 0 1 if ($config->{'theme'}) { }
1 0 elsif (@{$config->{'css'};}) { }
357 1 0 if (@{$config->{'js'};})
360 1 0 $config->{'jquery'} ? :
366 0 0 ref $_[-1] eq 'CODE' ? :
372 0 0 unless my $destination = $self->_destination_file($app, $to)
373 0 0 unless -d dirname($destination)
388 0 0 if -e $destination
390 0 0 if -w dirname($destination_dir)
406 0 0 if ($url =~ m[/_bootswatch\.scss]) { }
408 0 0 if $destination and not -e $destination
415 0 0 if ($destination and not -e $destination)
421 0 0 if $OVERRIDE
436 0 0 unless File::Copy::move($from, $to)