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 | 87 | use warnings; | |||
16 | 18 | ||||||
16 | 465 | ||||||
4 | 16 | 16 | 63 | use strict; | |||
16 | 20 | ||||||
16 | 270 | ||||||
5 | |||||||
6 | 16 | 16 | 56 | use base 'Exporter'; | |||
16 | 19 | ||||||
16 | 2509 | ||||||
7 | our @EXPORT_OK = ('throw_failure'); | ||||||
8 | |||||||
9 | our $VERSION = '0.38'; | ||||||
10 | $VERSION = eval $VERSION; | ||||||
11 | |||||||
12 | 16 | 104 | use Exception::Class 'Test::Most::Exception' => { | ||||
13 | alias => 'throw_failure', | ||||||
14 | description => 'Test failed. Stopping test.', | ||||||
15 | 16 | 16 | 6703 | }; | |||
16 | 152437 | ||||||
16 | |||||||
17 | 1; | ||||||
18 | |||||||
19 | __END__ |