Hierarchical/Test.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Hierarchical/ExcludeWeaken.pm ↑ Summary
1 # Config::General::Hierarchical::Test.pm - Hierarchical Generic Config Test Module
2  
3 package Config::General::Hierarchical::Test;
4  
5 2 $Config::General::Hierarchical::Test::VERSION = 0.07;
6  
7 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 2 ▶use base 'Config::General::Hierarchical';
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 11 ▶sub syntax {
Subroutine syntax: called CC=1 SCAR=0.0
Pod documented
13 11 my ($self) = @_;
14 11 my %constraint = (
15 array => 'aI',
16 node => {
17 array => 'a',
18 key => 'u',
19 value => '',
20 },
21 value => 'N',
22 );
23 11 return $self->merge_values( \%constraint, $self->SUPER::syntax );
24 }
25  
26 2 our $count = 0;
27  
28 17 ▶sub DESTROY {
Subroutine DESTROY: called CC=1 SCAR=0.0
29 17 $count++;
30 }
31  
32 2 1;
33  
34 __END__
« Hierarchical/ExcludeWeaken.pm ↑ Summary