example/lib/Module/NoPermission/Untested.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 11 | 81.8 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 4 | 75.0 |
pod | 0 | 1 | 0.0 |
total | 12 | 16 | 75.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Module::NoPermission::Untested; | ||||||
2 | |||||||
3 | 1 | 1 | 345 | use strict; | |||
1 | 2 | ||||||
1 | 25 | ||||||
4 | 1 | 1 | 4 | use warnings; | |||
1 | 2 | ||||||
1 | 20 | ||||||
5 | 1 | 1 | 5 | use Test::Tdd::Generator; | |||
1 | 1 | ||||||
1 | 50 | ||||||
6 | |||||||
7 | |||||||
8 | sub untested_subroutine { | ||||||
9 | 0 | 0 | 0 | Test::Tdd::Generator::create_test('creates test on tmp'); | |||
10 | |||||||
11 | 0 | return shift; | |||||
12 | } | ||||||
13 | |||||||
14 | 1; |