| tmp/work/t/templates/runtime_error_psp.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 10 | 10 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 4 | 4 | 100.0 |
| pod | n/a | ||
| total | 14 | 14 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Text::PSP::Generated::t::templates::runtime_error_psp; | ||||||
| 2 | 1 | 1 | 7 | use strict; | |||
| 1 | 1 | ||||||
| 1 | 42 | ||||||
| 3 | 1 | 1 | 570 | use Text::PSP::Template; | |||
| 1 | 3 | ||||||
| 1 | 40 | ||||||
| 4 | 1 | 1 | 6 | use vars qw(@ISA); | |||
| 1 | 4 | ||||||
| 1 | 133 | ||||||
| 5 | @ISA = qw(Text::PSP::Template); | ||||||
| 6 | |||||||
| 7 | # this file was generated by Text::PSP::Parser | ||||||
| 8 | 1 | 1 | 6 | sub run { my @o; | |||
| 9 | |||||||
| 10 | #line 1 t/templates/runtime-error.psp | ||||||
| 11 | push @o,'Hello world. | ||||||
| 12 | |||||||
| 13 | This is an error at runtime | ||||||
| 14 | '; call_unknown_subroutine(); push @o,' | ||||||
| 15 | |||||||
| 16 | '; | ||||||
| 17 | return \@o;} | ||||||
| 18 | 1 |