File Coverage

blib/lib/Klonk/Handle.pm
Criterion Covered Total %
statement 6 21 28.5
branch 0 10 0.0
condition n/a
subroutine 2 4 50.0
pod 2 2 100.0
total 10 37 27.0


line stmt bran cond sub pod time code
1             package Klonk::Handle 0.01;
2 1     1   480 use Klonk::pragma;
  1         2  
  1         6  
3 1     1   4061 use parent 'IO::Handle';
  1         381  
  1         6  
4              
5 0 0   0 1   method openr($class: $file) {
  0 0          
  0            
  0            
  0            
6 0 0         open my $fh, '<:raw', $file
7             or return undef;
8 0           ${*$fh} = $file;
  0            
9 0           bless $fh, $class
10             }
11              
12 0 0   0 1   method path() {
  0 0          
  0            
  0            
13 0           ${*$self}
  0            
14             }
15              
16             1
17             __END__