Handle/IO.pm

filter: Statementstmt 100% 29 / 29 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 18 / 18 Podpod n/a totaltotal 100% 47 / 47 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Handle.pm ↑ Summary
1 6 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 6 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 6 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package Data::Handle::IO;
6  
7 6 our $VERSION = '1.000001';
8  
9 # ABSTRACT: A Tie Package so Data::Handle can look and feel like a normal handle.
10  
11 6 our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28 26 ▶sub TIEHANDLE {
Subroutine TIEHANDLE: called CC=1 SCAR=0.0
29 26 my $self = shift;
30 26 my $handle_object = shift;
31 26 return bless $handle_object, $self;
32 }
33  
34 117 ▶sub _object {
Subroutine _object: called CC=1 SCAR=0.0
35 117 my $self = shift;
36 117 return $self->{self};
37 }
38  
39 ## no critic (ProtectPrivateSubs)
40  
41 21 ▶sub READLINE { return shift->_object->_readline(@_) }
Subroutine READLINE: called CC=1 SCAR=0.0
42 3 ▶sub READ { return shift->_object->_read(@_) }
Subroutine READ: called CC=1 SCAR=0.0
43 36 ▶sub GETC { return shift->_object->_getc(@_) }
Subroutine GETC: called CC=1 SCAR=0.0
44 1 ▶sub WRITE { return shift->_object->_write(@_) }
Subroutine WRITE: called CC=1 SCAR=0.0
45 1 ▶sub PRINT { return shift->_object->_print(@_) }
Subroutine PRINT: called CC=1 SCAR=0.0
46 1 ▶sub PRINTF { return shift->_object->_printf(@_) }
Subroutine PRINTF: called CC=1 SCAR=0.0
47 42 ▶sub EOF { return shift->_object->_eof(@_) }
Subroutine EOF: called CC=1 SCAR=0.0
48 1 ▶sub CLOSE { return shift->_object->_close(@_) }
Subroutine CLOSE: called CC=1 SCAR=0.0
49 1 ▶sub BINMODE { return shift->_object->_binmode(@_) }
Subroutine BINMODE: called CC=1 SCAR=0.0
50 1 ▶sub OPEN { return shift->_object->_open(@_) }
Subroutine OPEN: called CC=1 SCAR=0.0
51 1 ▶sub FILENO { return shift->_object->_fileno(@_) }
Subroutine FILENO: called CC=1 SCAR=0.0
52 6 ▶sub SEEK { return shift->_object->_seek(@_) }
Subroutine SEEK: called CC=1 SCAR=0.0
53 2 ▶sub TELL { return shift->_object->_tell(@_) }
Subroutine TELL: called CC=1 SCAR=0.0
54  
55 6 1;
56  
57 __END__
« Handle.pm ↑ Summary