Zoom/CodeStream.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 93.3% 14 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
new
1.0
CRAP 1.0
« Zoom/TransformedStream.pm ↑ Summary
1 package HTML::Zoom::CodeStream;
2  
3 13 ▶use strictures 1;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 13 ▶use base qw(HTML::Zoom::StreamBase);
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 158 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
7 158 my ($class, $args) = @_;
8 158 bless({ _code => $args->{code}, _zconfig => $args->{zconfig} }, $class);
9 }
10  
11 553 ▶sub _next {
Subroutine _next: called CC=1 SCAR=0.0
12 553 $_[0]->{_code}->();
13 }
14  
15 13 1;
16  
« Zoom/TransformedStream.pm ↑ Summary