| /tmp/crc91INiql | |||
|---|---|---|---|
| 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 | 535 | use Test2::V0; | |||
| 1 | 564 | ||||||
| 1 | 617 | ||||||
| 2 | |||||||
| 3 | 0 | 0 | is(__LINE__, 3, "line numbers are correct"); | ||||
| 4 | 0 | 0 | is(__FILE__, "/tmp/crc91INiql", "Got filename"); | ||||
| 5 | 0 | 0 | is(__PACKAGE__, "main", "in main package"); | ||||
| 6 | |||||||
| 7 | 1 | 8 | is([caller(0)], [], "no caller"); | ||||
| 8 | |||||||
| 9 | 1 | 1106 | is( | ||||
| 10 | [], | ||||||
| 11 | ["foo\n", "bar\n", "baz\n"], | ||||||
| 12 | "Got data section" | ||||||
| 13 | ); | ||||||
| 14 | |||||||
| 15 | # Edge cases suck :-( | ||||||
| 16 | __DATA__ |