blib/lib/CBOR/Free/X/Incomplete.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 11 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | n/a | ||
total | 15 | 15 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package CBOR::Free::X::Incomplete; | ||||||
2 | |||||||
3 | 2 | 2 | 1172 | use strict; | |||
2 | 4 | ||||||
2 | 70 | ||||||
4 | 2 | 2 | 13 | use warnings; | |||
2 | 4 | ||||||
2 | 60 | ||||||
5 | |||||||
6 | 2 | 2 | 11 | use parent qw( CBOR::Free::X::Base ); | |||
2 | 4 | ||||||
2 | 9 | ||||||
7 | |||||||
8 | sub _new { | ||||||
9 | 146 | 146 | 3948 | my ($class, $lack) = @_; | |||
10 | |||||||
11 | 146 | 519 | return $class->SUPER::_new("Expected at least $lack more byte(s)."); | ||||
12 | } | ||||||
13 | |||||||
14 | 1; |