blib/lib/OPC/Root.pm

filter: Statementstmt 72.2% 13 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod 0.0% 0 / 2 totaltotal 65.3% 17 / 26 CC 1 SCAR 2.9
CC
1
Cov
72%
new
2.0
Thumbnail
2.0
BEGIN
1.0
CRAP 1.3
« blib/lib/OPC/Part.pm ↑ Summary
1 package OPC::Root;
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 1 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use base 'OPC::Node';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 sub new {
9 0 ▶ my( $Class, %NodeParams ) = @_;
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
10  
11 0 my $Node = OPC::Node->new( %NodeParams, name => '/' );
12  
13 0 return bless $Node, $Class;
14 }
15  
16 sub Thumbnail {
17 0 ▶ my $self = shift;
Subroutine Thumbnail: not called CC=1 SCAR=6.9
Pod undocumented
18 0 return $self->RelatedPart( type => 'http://schemas.openxmlformats.org/package/2006/relationships/metadata/thumbnail' );
19 }
20  
21 1 1;
« blib/lib/OPC/Part.pm ↑ Summary