Branch Coverage

blib/lib/VOMS/Lite.pm
Criterion Covered Total %
branch 1 34 2.9


line true false branch
124 0 1 if (defined $Attribs{'Errors'})
146 0 0 unless (defined $VO)
150 0 0 if (defined $subGroup and defined $Role) { }
0 0 elsif (defined $Role) { }
0 0 elsif (defined $subGroup) { }
159 0 0 if (/^(DBMapping_[0-9]+)$/)
160 0 0 if ($conf{$1} =~ /^$DB\s+(\S*)\s*$/)
164 0 0 if ($DB =~ m[^[\000\377\\/.]$] or $DB =~ / $/ or length $DB > 64)
180 0 0 unless (defined $VO)
181 0 0 unless open GRIDMAP, "<$conf{'grid-mapfiles'}$VO"
182 0 0 if (/^\s*"$DN"\s+(.*)/)
186 0 0 unless open SERIAL, "+>> $conf{'grid-mapfiles'}$VO.serial"
190 0 0 if ($lines[0] =~ /^[0-9]+$/)
201 0 0 if (defined $Role and /Role=$Role/o)
202 0 0 if (defined $Capability and /Capability=$Capability/o)
203 0 0 if (defined $subGroup and /$VO$subGroup^/o) { }
0 0 elsif (m[^$VO(?:/|$)]) { }