Branch Coverage

blib/lib/Config/PFiles/Path.pm
Criterion Covered Total %
branch 22 26 84.6


line true false branch
45 6 5 unless @_
49 1 4 unless $is_mutator{"_$method"}
60 0 39 if $method =~ /DESTROY/
67 0 39 if $method =~ /^_/ or not defined $subref
73 19 20 if (ref $_[0] and $_[0]->isa('Config::PFiles::Path'))
87 17 3 if ($is_mutator{$imethod}) { }
93 13 4 if (not defined $wantarray) { }
4 0 elsif ($wantarray) { }
146 1 32 if defined $dirs{'RO'} and $dirs{'RO'} =~ /;/
160 0 33 unless (($match) = $dir_set =~ /^(RW|RO)$/i)
201 4 6 if defined wantarray
222 8 9 $ro eq '' ? :
6 17 $rw eq '' ? :