Branch Coverage

blib/lib/Win32/IIS/Admin.pm
Criterion Covered Total %
branch 1 104 0.9


line true false branch
59 4 0 if ($^O ne 'MSWin32')
70 0 0 if (-f $sTry)
77 0 0 if ($sCscript eq '')
84 0 0 if ($@)
96 0 0 if $sType eq eval 'DRIVE_FIXED'
109 0 0 if (-f $sTry)
116 0 0 if ($sAdsutil eq '')
140 0 0 unless $sSection ne ''
143 0 0 unless $sParameter ne ''
145 0 0 unless @_
147 0 0 if ($sRes =~ /ERROR TRYING TO GET THE SCHEMA/i)
153 0 0 if ($sRes =~ /ERROR TRYING TO GET THE OBJECT/i)
159 0 0 if ($sRes =~ /ERROR TRYING TO SET THE PROPERTY/i)
179 0 0 unless $sSection ne ''
182 0 0 unless $sParameter ne ''
184 0 0 if ($sRes =~ /ERROR TRYING TO GET/i)
191 0 0 if ($sLine =~ /\A(\S+)\s+:\s+\((\S+)\)\s*(.+)\Z/) { }
195 0 0 if ($sType eq 'STRING') { }
0 0 elsif ($sType eq 'INTEGER') { }
0 0 elsif ($sType eq 'EXPANDSZ') { }
0 0 elsif ($sType eq 'BOOLEAN') { }
0 0 elsif ($sType eq 'LIST') { }
0 0 elsif ($sType eq 'MimeMapList') { }
223 0 0 if ($sValue =~ /(\d+)\sItems/) { }
230 0 0 if ($sSubline =~ /\A\s+\042([^"]+)\042/) { }
280 0 0 unless (defined $$self{'_iss_version_'})
334 0 0 if ($sDir eq '')
341 0 0 if ($sDir eq 'ROOT')
346 0 0 if ('6.0' le $sVersion)
350 0 0 if ($sRes =~ /Error/)
360 0 0 if $sLine =~ /={22}/
370 0 0 if ($sVirDir =~ m[\A/?$sDir\Z])
380 0 0 unless ($sDir =~ /\AROOT\Z/i)
418 0 0 if ($hArgs{-'dir_name'} eq '')
424 0 0 if ($hArgs{-'path'} eq '')
437 0 0 if ($sPath ne '') { }
441 0 0 if ($sPath ne $hArgs{-'path'})
457 0 0 if ('6.0' le $self->iis_version)
463 0 0 if ($sRes =~ /Error/)
471 0 0 if ($hArgs{-'executable'})
474 0 0 if ('6.0' le $self->iis_version) { }
539 0 0 if ($self->iis_version < 6)
553 0 0 if $hArgs{-'allow'} ne '1'
554 0 0 unless (exists $hArgs{-'path'})
617 0 0 unless defined $iElem
618 0 0 if $iElem < 0
619 0 0 if 4 < $iElem
620 0 0 if ($sValue eq '')
624 0 0 if ($self->iis_version < 6)
634 0 0 if (($asElem[$iElem] || '') eq $sValue) { }
661 0 0 if ($iRes)
693 0 0 if (defined $$self{$sVBS}) { }