examples/clan/lib/My/Project/Library.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 11 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 16 | 17 | 94.1 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | 1 | 1 | 3 | use strict; | |||
1 | 1 | ||||||
1 | 23 | ||||||
2 | 1 | 1 | 3 | use warnings; | |||
1 | 1 | ||||||
1 | 24 | ||||||
3 | |||||||
4 | package My::Project::Library; | ||||||
5 | |||||||
6 | 1 | 1 | 3 | use My::Project::Logger; | |||
1 | 1 | ||||||
1 | 5 | ||||||
7 | |||||||
8 | sub run { | ||||||
9 | 1 | 1 | 0 | 6 | log_warn { "Running library " }; | ||
1 | 1 | 4 | |||||
10 | } | ||||||
11 | |||||||
12 | 1; |