blib/lib/Test/Most/Exception.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 12 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | n/a | ||
total | 16 | 16 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Test::Most::Exception; | ||||||
2 | |||||||
3 | 16 | 16 | 101 | use warnings; | |||
16 | 26 | ||||||
16 | 544 | ||||||
4 | 16 | 16 | 87 | use strict; | |||
16 | 27 | ||||||
16 | 383 | ||||||
5 | |||||||
6 | 16 | 16 | 80 | use base 'Exporter'; | |||
16 | 25 | ||||||
16 | 3016 | ||||||
7 | our @EXPORT_OK = ('throw_failure'); | ||||||
8 | |||||||
9 | our $VERSION = '0.36'; | ||||||
10 | $VERSION = eval $VERSION; | ||||||
11 | |||||||
12 | 16 | 117 | use Exception::Class 'Test::Most::Exception' => { | ||||
13 | alias => 'throw_failure', | ||||||
14 | description => 'Test failed. Stopping test.', | ||||||
15 | 16 | 16 | 8146 | }; | |||
16 | 179054 | ||||||
16 | |||||||
17 | 1; | ||||||
18 | |||||||
19 | __END__ |