YAML/Tag.pm

filter: Statementstmt 77.7% 14 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 71.4% 5 / 7 Podpod 0.0% 0 / 3 totaltotal 67.8% 19 / 28 SCAR 0.1
CC
1
Cov
78%
canonical
2.0
BEGIN
1.1
__ANON__
1.1
CRAP 1.0
« YAML/Marshall.pm ↑ Summary
1 49 ▶use strict; use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
2 package YAML::Tag;
3  
4 49 ▶use overload '""' => sub { ${$_[0]} };
Subroutine BEGIN: called CC=1 SCAR=0.6
Subroutine __ANON__: not called CC=1 SCAR=0.6
5  
6 sub new {
7 96 ▶ my ($class, $self) = @_;
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
8 96 bless \$self, $class
9 }
10  
11 sub short {
12 97 ▶ ${$_[0]}
Subroutine short: called CC=1 SCAR=0.0
Pod undocumented
13 }
14  
15 sub canonical {
16 0 ▶ ${$_[0]}
Subroutine canonical: not called CC=1 SCAR=6.9
Pod undocumented
17 }
18  
19 49 1;
« YAML/Marshall.pm ↑ Summary