Branch Coverage

lib/App/MtAws/Filter.pm
Criterion Covered Total %
branch 26 28 92.8


line true false branch
135 1513 424 $res ? :
145 2015 4599 if $filter->{'action'} eq '+'
146 11 6603 $filter->{'notmatch'} ? :
2546 4068 if ($filter->{'notmatch'} ? !("/$dir" =~ /$filter->{'re'}/) : "/$dir" =~ /$filter->{'re'}/)
148 542 2004 unless defined $match_subdirs
159 15 131 unless @patterns
183 0 795 unless /^\s*([+-])\s*(\S*)\s*$/
187 7 474 unless @parsed
188 12 462 if length $' > 0
210 30 380 if $notmatch
211 0 410 unless defined $pattern
212 70 340 unless length $pattern
216 95 245 $pattern =~ m[(/.)] ? :
217 267 73 unless $pattern =~ m[/$]