Branch Coverage

blib/lib/Plugins/SimpleConfig.pm
Criterion Covered Total %
branch 15 34 44.1


line true false branch
18 1 0 ref $plugin ? :
24 0 1 unless $prefix eq '' or $line =~ s/^$prefix//
25 0 1 unless $line =~ /^(\S+)\s+(?:"(.*?)"|'(.*?)'|(\S+))\s*$/
31 0 1 unless defined $key
32 0 1 if (ref $$defaults{$key}) { }
1 0 elsif (exists $$defaults{$key}) { }
35 1 0 if (ref $plugin) { }
53 0 4 if defined $args{'debug'}
54 0 4 if $debug
57 0 20 if (ref $$defaults{$key}) { }
6 14 elsif (exists $args{$key}) { }
0 14 elsif (exists $history{$pkg}{$$context{'configfile'}}{$$context{'seqno'}}) { }
58 0 0 if exists $args{$key}
80 0 0 if (reftype $ref eq 'SCALAR') { }
0 0 elsif (reftype $ref eq 'ARRAY') { }
0 0 elsif (reftype $ref eq 'CODE') { }
94 1 2 if defined $i