Condition Coverage

blib/lib/File/ShareDir.pm
Criterion Covered Total %
condition 12 12 100.0


and 3 conditions

line !l l&&!r l&&r condition
511 1 1 14 defined &_STRING($_[0]) and $_[0] =~ /^[a-z0-9+_-]+$/is

or 3 conditions

line l !l&&r !l&&!r condition
175 2 2 2 _dist_dir_new($dist) || _dist_dir_old($dist)
233 5 6 2 _module_dir_new($module) || _module_dir_old($module)
291 2 2 2 _dist_file_new($dist, $file) || _dist_file_old($dist, $file)