lib/Unknown/Values/Instance/Fatal.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod 0.0% 0 / 4 totaltotal 86.6% 26 / 30 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Unknown/Values/Instance/Object.pm ↑ Summary lib/Unknown/Values/Instance/Object.pm »
1 6 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 6 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 # ABSTRACT: Internal fatal value object for the "Unknown::Values" distribution
5  
6 package Unknown::Values::Instance::Fatal;
7 6 $Unknown::Values::Instance::Fatal::VERSION = '0.100';
8 6 ▶use Carp 'confess';
Subroutine BEGIN: called CC=1 SCAR=0.0
9 6 ▶use base 'Unknown::Values::Instance';
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 sub bool {
12 1 ▶ confess("Boolean operations not allowed with 'fatal unknown' objects");
Subroutine bool: called CC=1 SCAR=0.0
Pod undocumented
13 }
14  
15 sub compare {
16 1 ▶ confess("Comparison operations not allowed with 'fatal unknown' objects");
Subroutine compare: called CC=1 SCAR=0.0
Pod undocumented
17  
18 }
19  
20 sub sort {
21 1 ▶ confess("Sorting operations not allowed with 'fatal unknown' objects");
Subroutine sort: called CC=1 SCAR=0.0
Pod undocumented
22 }
23  
24 sub to_string {
25 1 ▶ confess("Printing not allowed with 'fatal unknown' objects");
Subroutine to_string: called CC=1 SCAR=0.0
Pod undocumented
26 }
27  
28 6 1;
29  
30 __END__
« blib/lib/Unknown/Values/Instance/Object.pm ↑ Summary lib/Unknown/Values/Instance/Object.pm »