File Coverage

blib/lib/Data/CompactReadonly/V0/Scalar/Null.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 20 20 100.0


line stmt bran cond sub pod time code
1             package Data::CompactReadonly::V0::Scalar::Null;
2             our $VERSION = '0.0.5';
3              
4 5     5   35 use warnings;
  5         14  
  5         180  
5 5     5   26 use strict;
  5         12  
  5         109  
6 5     5   27 use base 'Data::CompactReadonly::V0::Scalar';
  5         9  
  5         1053  
7              
8             sub _create {
9 7     7   33 my($class, %args) = @_;
10 7         18 my $fh = $args{fh};
11 7         63 $class->_stash_already_seen(%args);
12 7         45 print $fh $class->_type_byte_from_class();
13 7         60 $class->_set_next_free_ptr(%args);
14             }
15              
16 12     12   119 sub _init { return undef; }
17              
18             1;