YADV/Structure/Scalar.pm

filter: Statementstmt 84.6% 11 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 0.0% 0 / 1 totaltotal 78.9% 15 / 19 CC 1 SCAR 1.8
CC
1
Cov
85%
_get_child_node
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« YADV/Structure.pm ↑ Summary YADV.pm »
1 package Data::YADV::Structure::Scalar;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use base 'Data::YADV::Structure::Base';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 0 ▶sub _get_child_node {
Subroutine _get_child_node: not called CC=1 SCAR=6.9
9 0 my ($self, $entry) = @_;
10  
11 0 die "scalar element have no child elements";
12 }
13  
14 1 ▶sub get_size { length $_[0]->get_structure }
Subroutine get_size: called CC=1 SCAR=0.0
Pod undocumented
15  
16 1 1;
« YADV/Structure.pm ↑ Summary YADV.pm »