blib/lib/DTL/Fast/Expression/Operator/Unary.pm

filter: Statementstmt 82.6% 19 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 6 / 8 Podpod 0.0% 0 / 3 totaltotal 73.5% 25 / 34 SCAR 0.1
CC
1
Cov
83%
render
2.0
dispatch
2.0
BEGIN
1.0
CRAP 1.0
« blib/lib/DTL/Fast/Tag/Debug.pm ↑ Summary src/count_lines.h »
1 package DTL::Fast::Expression::Operator::Unary;
2 11 ▶use strict; use utf8; use warnings FATAL => 'all';
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
3 11 ▶use parent 'DTL::Fast::Entity';
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 11 ▶use DTL::Fast::Template;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 sub new
8 {
9 216 ▶ my( $proto, $argument, %kwargs ) = @_;
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
10 216 $kwargs{'a'} = $argument;
11
12 216 return $proto->SUPER::new(%kwargs);
13 }
14  
15 sub render
16 {
17 0 ▶ my( $self, $context) = @_;
Subroutine render: not called CC=1 SCAR=6.9
Pod undocumented
18
19 return $self->dispatch(
20 0 $self->{'a'}->render($context, 1)
21 , $context
22 );
23 }
24  
25 sub dispatch
26 {
27 0 ▶ my( $self, $arg1 ) = @_;
Subroutine dispatch: not called CC=1 SCAR=6.9
Pod undocumented
28 0 die 'Abstract method dispatch was not overriden in subclass '.(ref $self);
29 }
30 11 1;
« blib/lib/DTL/Fast/Tag/Debug.pm ↑ Summary src/count_lines.h »