blib/lib/Test/Applify.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 21 | 28 | 75.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
67 | 6 | 8 | 0 | $name and $name =~ /^\w+/ |
224 | 1 | 0 | 26 | ref $app && $app->can('_script') && ref $app->_script eq 'Applify' |
line | l | !l | condition |
---|---|---|---|
24 | 9 | 11 | shift() || 'applify_ok' |
30 | 20 | 0 | $fh->syswrite($code) // -1 |
43 | 0 | 2 | shift() || 'applify_subcommands_ok' |
89 | 1 | 4 | $_[1] || 'application class' |
135 | 56 | 1 | ref $class || $class || 'Test::Applify' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
27 | 0 | 20 | 0 | $ENV{'TMPDIR'} || 'File::Spec'->tmpdir |
95 | 1 | 8 | 0 | shift() || qr/help/ |
163 | 12 | 1 | 3 | $stdout || $@ |
2 | 3 | 11 | $@ || $stderr |