Branch Coverage
blib/lib/App/Info/Util.pm
Criterion
Covered
Total
%
branch
18
56
32.1
line
true
false
branch
97
4
0
if
-d
$_
138
0
0
unless
$path_dem
156
0
0
if
-f
$_
173
0
0
if
-f
$_
and
-x
$_
225
2
0
ref
$_
[
0
]
?
:
229
2
0
if
-e
$path
252
0
0
ref
$_
[
0
]
?
:
256
0
0
if
-e
$path
277
4
0
ref
$_
[
0
]
?
:
281
4
0
if
-f
$path
and
-x
$path
337
0
0
unless
$file
and
$regex
338
0
0
unless
open
F
,
"<$file"
342
0
0
if
@ret
=
/$regex/
347
0
0
unless
@ret
348
0
0
$#ret
<=
0
?
:
0
0
wantarray
?
:
370
0
1
unless
$dir
372
0
1
unless
opendir
DIR
,
$dir
374
1
0
$code
?
:
377
0
1
wantarray
?
:
451
0
2
unless
$file
and
@regexen
453
0
2
unless
open
F
,
"<$file"
459
6
6
if
(
my
(
@ret
)
=
$line
=~
/$each[$i]/
)
462
0
6
$#ret
>
0
?
:
472
2
4
unless
@each
475
0
2
unless
%ret
476
2
0
wantarray
?
:
493
0
0
if
defined
$_