Branch Coverage

blib/lib/Test/Applify.pm
Criterion Covered Total %
branch 26 30 86.6


line true false branch
15 21 179 if @_ == 2
28 0 12 unless ($fh->syswrite($code) // -1) == length $code
46 0 2 unless $app->_script->{'subcommands'}
51 4 0 if $self->_test('is', $cmd_app->_script->subcommand, $cmd, "$desc - create")
65 0 11 if $name and $name =~ /^\w+/
81 3 6 if $like
136 17 23 unless my $app = shift()
137 12 11 ref $app ? :
162 42 4 if -e $_
180 2 20 if ($@) { }
1 19 elsif (not defined $tmp) { }
1 18 elsif (not ref $app && $app->can('_script') && ref $app->_script eq 'Applify') { }
193 3 20 if $@
194 1 19 unless defined $app
202 13 33 if @_ == 1