blib/lib/CBOR/Free/X/Unrecognized.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/CBOR/Free/X/Recursion.pm ↑ Summary
1 package CBOR::Free::X::Unrecognized;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use parent qw( CBOR::Free::X::Base );
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 2 ▶sub _new {
Subroutine _new: called CC=1 SCAR=0.0
9 2 my ($class, $alien) = @_;
10  
11 2 return $class->SUPER::_new("Cannot encode to CBOR: $alien");
12 }
13  
14 1 1;
« blib/lib/CBOR/Free/X/Recursion.pm ↑ Summary