File Coverage

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 18     18   119 use warnings;
  18         30  
  18         1133  
4 18     18   125 use strict;
  18         73  
  18         660  
5              
6 18     18   123 use base 'Exporter';
  18         52  
  18         4056  
7             our @EXPORT_OK = ('throw_failure');
8              
9             our $VERSION = '0.42';
10             $VERSION = eval $VERSION;
11              
12 18         157 use Exception::Class 'Test::Most::Exception' => {
13             alias => 'throw_failure',
14             description => 'Test failed. Stopping test.',
15 18     18   9636 };
  18         225995  
16              
17             1;
18              
19             __END__