Ryu/Stream.pm

filter: Statementstmt 93.7% 30 / 32 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 81.8% 9 / 11 Podpod 50.0% 1 / 2 totaltotal 88.8% 40 / 45 CC 1 SCAR 1.7
CC
1
Cov
94%
source
2.0
sink
2.0
BEGIN
1.0
CRAP 1.2
« Ryu.pm ↑ Summary
1 package Ryu::Stream;
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(Ryu::Node);
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 our $VERSION = '4.001'; # VERSION
9 1 our $AUTHORITY = 'cpan:TEAM'; # AUTHORITY
10  
11 =head1 NAME
12  
13 Ryu::Stream - combines a source and a sink
14  
15 =head1 DESCRIPTION
16  
17 See L<Ryu::Source> and L<Ryu::Sink> for details.
18  
19 =cut
20  
21 1 ▶no indirect;
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 1 ▶use Future;
Subroutine BEGIN: called CC=1 SCAR=0.0
24 1 ▶use curry::weak;
Subroutine BEGIN: called CC=1 SCAR=0.0
25  
26 1 ▶use Ryu::Source;
Subroutine BEGIN: called CC=1 SCAR=0.0
27 1 ▶use Ryu::Sink;
Subroutine BEGIN: called CC=1 SCAR=0.0
28  
29 1 ▶use Log::Any qw($log);
Subroutine BEGIN: called CC=1 SCAR=0.0
30  
31 =head2 source
32  
33 A L<Ryu::Source>.
34  
35 =cut
36  
37 0 ▶sub source { shift->{source} }
Subroutine source: not called CC=1 SCAR=6.9
Pod documented
38  
39 =head2 source
40  
41 A L<Ryu::Sink>.
42  
43 =cut
44  
45 0 ▶sub sink { shift->{source} }
Subroutine sink: not called CC=1 SCAR=6.9
Pod undocumented
46  
47 1 1;
48  
49 __END__
« Ryu.pm ↑ Summary