Branch Coverage
blib/lib/Parse/RPM/Spec.pm
Criterion
Covered
Total
%
branch
30
36
83.3
line
true
false
branch
37
0
2
if
@_
41
0
2
unless
(
defined
$file
)
45
0
2
unless
(
-e
$file
)
49
0
2
unless
(
-r
$file
)
53
0
2
unless
(
-s
$file
)
57
0
2
unless
open
my
$fh
,
$file
60
2
94
if
/^Name:\s*(\S+)/
61
2
94
if
/^Version:\s*(\S+)/
62
2
94
if
/^Release:\s*(\S+)/
63
2
94
if
/^Summary:\s*(\S+)/
64
2
94
if
/^License:\s*(.+)/
65
2
94
if
/^Group:\s*(\S+)/
66
2
94
if
/^URL:\s*(\S+)/
67
2
94
if
/^Source0?:\s*(\S+)/
68
2
94
if
/^BuildRoot:\s*(\S+)/
69
2
94
if
/^BuildArch:\s*(\S+)/
71
4
92
if
/^BuildRequires:\s*(.+)/
72
2
94
if
/^Requires:\s*(.+)/