blib/arch/XS/STL/ErrorCode.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 9 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | n/a | ||
total | 12 | 12 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package XS::STL::ErrorCode; | ||||||
2 | 36 | 36 | 252 | use strict; | |||
36 | 74 | ||||||
36 | 1090 | ||||||
3 | 36 | 36 | 186 | use XS::Framework; | |||
36 | 71 | ||||||
36 | 2256 | ||||||
4 | |||||||
5 | use overload | ||||||
6 | 36 | 388 | '""' => \&_op_string, | ||||
7 | 'bool' => \&_op_bool, | ||||||
8 | '==' => \&_op_eq, | ||||||
9 | 'eq' => \&_op_eq, | ||||||
10 | '&' => \&_op_and, | ||||||
11 | 36 | 36 | 277 | ; | |||
36 | 71 | ||||||
12 | |||||||
13 | 1; |