Condition Coverage

lib/ChordPro/Files.pm
Criterion Covered Total %
condition 11 24 45.8


and 3 conditions

line !l l&&!r l&&r condition
131 259 1 8 -d $_ and $File::Find::name ne $folder
0 257 3 -s _ and $_ =~ /$filter/u
169 0 0 0 $file ne "." and ($stat->{'attribs'} & (Win32::LongPath::FILE_ATTRIBUTE_DIRECTORY() | Win32::LongPath::FILE_ATTRIBUTE_REPARSE_POINT())) == Win32::LongPath::FILE_ATTRIBUTE_DIRECTORY()

or 2 conditions

line l !l condition
120 0 1 $opts->{'recurse'} // 1
154 0 0 $opts->{'recurse'} // 1
215 460 19 $opts->{'fail'} //= "soft"

or 3 conditions

line l !l&&r !l&&!r condition
119 1 0 0 $opts->{'filter'} // qr/[.]/iu
153 0 0 0 $opts->{'filter'} // qr/[.]/iu
219 82 0 397 is_ref($name) or $name =~ /^\w\w+:/u