blib/lib/Test/Applify.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 22 | 68.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
65 | 5 | 6 | 0 | $name and $name =~ /^\w+/ |
180 | 1 | 0 | 16 | ref $app && $app->can('_script') && ref $app->_script eq 'Applify' |
line | l | !l | condition |
---|---|---|---|
22 | 9 | 3 | shift() || 'applify_ok' |
28 | 12 | 0 | $fh->syswrite($code) // -1 |
41 | 0 | 2 | shift() || 'applify_subcommands_ok' |
87 | 1 | 4 | $_[1] || 'application class' |
135 | 37 | 1 | ref $class || $class || 'Test::Applify' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
25 | 0 | 12 | 0 | $ENV{'TMPDIR'} || 'File::Spec'->tmpdir |
93 | 1 | 8 | 0 | shift() || qr/help/ |