blib/lib/Module/Install/NoAutomatedTesting.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 14 | 85.7 |
branch | 0 | 4 | 0.0 |
condition | n/a | ||
subroutine | 4 | 5 | 80.0 |
pod | 1 | 1 | 100.0 |
total | 17 | 24 | 70.8 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Module::Install::NoAutomatedTesting; | ||||||
2 | |||||||
3 | 1 | 1 | 14274 | use strict; | |||
1 | 2 | ||||||
1 | 24 | ||||||
4 | 1 | 1 | 3 | use warnings; | |||
1 | 2 | ||||||
1 | 25 | ||||||
5 | 1 | 1 | 3 | use base qw(Module::Install::Base); | |||
1 | 4 | ||||||
1 | 412 | ||||||
6 | 1 | 1 | 17 | use vars qw($VERSION); | |||
1 | 2 | ||||||
1 | 64 | ||||||
7 | |||||||
8 | $VERSION = '0.08'; | ||||||
9 | |||||||
10 | sub no_auto_test { | ||||||
11 | 0 | 0 | 0 | 1 | return if $Module::Install::AUTHOR; | ||
12 | 0 | 0 | exit 0 if $ENV{AUTOMATED_TESTING}; | ||||
13 | } | ||||||
14 | |||||||
15 | 'NO SMOKING'; | ||||||
16 | |||||||
17 | __END__ |