Branch Coverage

blib/lib/Config/MVP/Writer/INI.pm
Criterion Covered Total %
branch 26 32 81.2


line true false branch
59 1 10 if ($spacing eq 'all') { }
9 1 elsif ($spacing eq 'payload') { }
65 10 27 /\n.+/ ? :
84 42 11 ref $section eq 'ARRAY' ? :
86 21 32 ref $$section[-1] eq 'HASH' ? :
90 26 27 if ($self->can_rewrite_package)
104 19 34 if ($name =~ m[^([^/]+/)*(\Q$prefix\E)?\Q$moniker\E$]) { }
34 0 elsif ($self->strip_bundle_prefix) { }
114 34 19 $name ? :
138 0 0 if ($name =~ /\@$bundle\b/) { }
139 0 0 unless $bundles{$bundle}++
155 37 16 unless $config and scalar keys %$config
163 1 22 unless defined $v
164 26 2 length $_ ? :
173 0 18 $v =~ /\n/ ? :
5 18 ref $v eq 'ARRAY' ? :