/tmp/d64QLMm5Ah | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 9 | 66.6 |
branch | n/a | ||
condition | n/a | ||
subroutine | 1 | 1 | 100.0 |
pod | n/a | ||
total | 7 | 10 | 70.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | 1 | 1 | 503 | use Test2::V0; | |||
1 | 491 | ||||||
1 | 563 | ||||||
2 | |||||||
3 | 0 | 0 | is(__LINE__, 3, "line numbers are correct"); | ||||
4 | 0 | 0 | is(__FILE__, "/tmp/d64QLMm5Ah", "Got filename"); | ||||
5 | 0 | 0 | is(__PACKAGE__, "main", "in main package"); | ||||
6 | |||||||
7 | 1 | 5 | is([caller(0)], [], "no caller"); | ||||
8 | |||||||
9 | 1 | 1022 | is( | ||||
10 | [], | ||||||
11 | ["foo\n", "bar\n", "baz\n"], | ||||||
12 | "Got data section" | ||||||
13 | ); | ||||||
14 | |||||||
15 | # Edge cases suck :-( | ||||||
16 | __DATA__ |