blib/lib/Dallycot/AST/Placeholder.pm

filter: Statementstmt 75.0% 15 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 71.4% 5 / 7 Podpod 0.0% 0 / 3 totaltotal 66.6% 20 / 30 CC 1 SCAR 2.5
CC
1
Cov
75%
to_string
2.0
to_rdf
2.0
BEGIN
1.0
CRAP 1.3
« blib/lib/Dallycot/AST/StrictlyIncreasing.pm ↑ Summary blib/lib/Dallycot/AST/ListCons.pm »
1 package Dallycot::AST::Placeholder;
2 29 our $AUTHORITY = 'cpan:JSMITH';
3  
4 # ABSTRACT: A no-op placeholder in function calls
5  
6 29 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 29 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 29 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 29 ▶use parent 'Dallycot::AST';
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 0 ▶sub to_string { return "_" }
Subroutine to_string: not called CC=1 SCAR=6.9
Pod undocumented
13  
14 sub to_rdf {
15 0 ▶ my($self, $model) = @_;
Subroutine to_rdf: not called CC=1 SCAR=6.9
Pod undocumented
16  
17 0 my $bnode = $model -> bnode;
18 0 $model -> add_type($bnode, 'loc:Placeholder');
19 0 return $bnode;
20 }
21  
22 sub new {
23 51 ▶ return bless [] => __PACKAGE__;
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
24 }
25  
26 29 1;
« blib/lib/Dallycot/AST/StrictlyIncreasing.pm ↑ Summary blib/lib/Dallycot/AST/ListCons.pm »