blib/lib/perl5i/2/Signature/None.pm

filter: Statementstmt 65.0% 13 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 36.3% 4 / 11 Podpod 0.0% 0 / 6 totaltotal 45.9% 17 / 37 SCAR 0.4
CC
1
Cov
65%
__ANON__
2.0
__ANON__
2.0
num_positional_params
2.0
CRAP 1.0
« blib/lib/perl5i/2/Meta/Class.pm ↑ Summary blib/lib/perl5i/1/Meta/Class.pm »
1 package perl5i::2::Signature::None;
2  
3 109 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 109 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 use overload
7 0 ▶ q[""] => sub { return $_[0]->as_string },
Subroutine __ANON__: not called CC=1 SCAR=6.9
8 0 ▶ q[bool] => sub { 1 }, # always true, regardless of the actual signature string
Subroutine __ANON__: not called CC=1 SCAR=6.9
9 109 fallback => 1
10 109 ▶;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 sub new {
13 218 ▶ my $class = shift;
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
14 218 my %args = @_;
15 218 return bless { signature => $args{signature} }, $class;
16 }
17  
18 0 ▶sub num_positional_params { 0 }
Subroutine num_positional_params: not called CC=1 SCAR=6.9
Pod undocumented
19 0 ▶sub positional_params { return []; }
Subroutine positional_params: not called CC=1 SCAR=6.9
Pod undocumented
20 0 ▶sub params { return []; }
Subroutine params: not called CC=1 SCAR=6.9
Pod undocumented
21 ▶sub make_real {}
Subroutine make_real: not called CC=1 SCAR=0.0
Pod undocumented
22  
23 sub as_string {
24 0 ▶ my $self = shift;
Subroutine as_string: not called CC=1 SCAR=6.9
Pod undocumented
25 0 return $self->{signature};
26 }
27  
28 109 1;
« blib/lib/perl5i/2/Meta/Class.pm ↑ Summary blib/lib/perl5i/1/Meta/Class.pm »