Branch Coverage

blib/lib/Config/Maker/Path.pm
Criterion Covered Total %
branch 43 50 86.0


line true false branch
32 1 1928 /\?/ ? :
18 1929 /\*/ ? :
1 1947 /\}/ ? :
1 1948 /\{/ ? :
27 1949 /[.+^\-\$]/ ? :
43 296 300 unless defined $patt
44 0 300 if $patt =~ s/^RE://
46 1976 0 defined $1 ? :
53 292 6 unless $code
65 361 0 if ref $keys eq 'ARRAY'
66 0 361 ref $_[0] eq 'HASH' ? :
69 0 336 unless $$keys{$_}
81 294 4 if $$self{-'type'}
82 6 292 if $$self{-'value'}
83 6 292 if $$self{-'code'}
95 120 1183 if UNIVERSAL::isa($text, 'Config::Maker::Path')
96 914 269 if $paths{$text}
97 0 269 unless $paths{$text} = $parser->path_whole($text)
104 1006 2984 if $$_{-'type'} =~ /$$self{-'type'}/ and $$_{-'value'} =~ /$$self{-'value'}/
117 75 2122 if ($$self{-'tail'}) { }
133 123 2780 $$self{-'tail'} ? :
137 0 26 unless UNIVERSAL::can($_[1], 'find')
139 13 13 if @$r < $_[2]
140 4 9 if @_ == 3
141 5 4 if @$r > $_[3]