Branch Coverage

lib/Clearcase/View.pm
Criterion Covered Total %
branch 26 114 22.8


line true false branch
373 0 0 if ($self->{'additional_groups'}) { }
567 0 1 unless $self->{'type'}
1100 0 0 unless $self->{'type'}
1139 0 0 unless $self->{'type'}
1423 1 0 if ($self->exists)
1431 0 0 if ($host and $vws) { }
1497 0 0 if $self->exists
1509 0 0 if $status
1558 0 1 unless $self->exists
1563 1 0 if ($self->dynamic) { }
1828 2 0 $self->{'region'} ? :
1833 0 2 if $status
1847 0 2 if (/Global path: (.*)/) { }
0 2 elsif (/Server host: (.*)/) { }
0 2 elsif (/Region: (.*)/) { }
0 2 elsif (/Active: (.*)/) { }
0 2 elsif (/View uuid: (.*)/) { }
0 2 elsif (/View on host: (.*)/) { }
0 2 elsif (/View server access path: (.*)/) { }
0 2 elsif (/View attributes: (.*)/) { }
0 2 elsif (/Created (\S+) by (.+)/) { }
0 2 elsif (/Last modified (\S+) by (.+)/) { }
0 2 elsif (/Last accessed (\S+) by (.+)/) { }
0 2 elsif (/Last config spec update (\S+) by (.+)/) { }
0 2 elsif (/Text mode: (\S+)/) { }
0 2 elsif (/Properties: (.*)/) { }
0 2 elsif (/View owner: (\S+)$/) { }
0 2 elsif (/Owner: (\S+)\s+: (\S+)/) { }
0 2 elsif (/Group: (.+)\s+:\s+(\S+)\s+/) { }
0 2 elsif (/Other:\s+: (\S+)/) { }
0 2 elsif (/Additional groups: (.*)/) { }
1854 0 0 $1 eq 'YES' ? :
1864 0 0 $view_attributes =~ /snapshot/ ? :
0 0 $view_attributes =~ /webview/ ? :
1868 0 0 $view_attributes =~ /ucmview/ ? :
1912 0 2 if ($self->{'owner_mode'})
1913 0 0 if $self->{'owner_mode'} =~ /r/
1914 0 0 if $self->{'owner_mode'} =~ /w/
1915 0 0 if $self->{'owner_mode'} =~ /x/
1916 0 0 if $self->{'group_mode'} =~ /r/
1917 0 0 if $self->{'group_mode'} =~ /w/
1918 0 0 if $self->{'group_mode'} =~ /x/
1919 0 0 if $self->{'other_mode'} =~ /r/
1920 0 0 if $self->{'other_mode'} =~ /w/
1921 0 0 if $self->{'other_mode'} =~ /x/
1962 0 0 unless $self->{'viewPrivateStorage'}
2002 0 0 unless $self->{'viewPrivateStoragePct'}
2042 0 0 unless $self->{'viewDatabase'}
2082 0 0 unless $self->{'viewDatabasePct'}
2122 0 0 unless $self->{'viewAdmin'}
2162 0 0 unless $self->{'viewAdminPct'}
2202 0 0 unless $self->{'viewSpace'}
2242 0 0 unless $self->{'viewSpacePct'}
2263 0 0 if (/\s*(\S+)\s*(\S+)\s*View private storage/) { }
0 0 elsif (/\s*(\S+)\s*(\S+)\s*View database/) { }
0 0 elsif (/\s*(\S+)\s*(\S+)\s*View administration/) { }
0 0 elsif (/\s*(\S+)\s*(\S+)\s*Subtotal/) { }