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 | 51637 | use strict; | |||
1 | 2 | ||||||
1 | 41 | ||||||
4 | 1 | 1 | 6 | use warnings; | |||
1 | 1 | ||||||
1 | 33 | ||||||
5 | 1 | 1 | 5 | use base qw(Module::Install::Base); | |||
1 | 6 | ||||||
1 | 646 | ||||||
6 | 1 | 1 | 8 | use vars qw($VERSION); | |||
1 | 2 | ||||||
1 | 111 | ||||||
7 | |||||||
8 | $VERSION = '0.06'; | ||||||
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__ |