Condition Coverage

blib/lib/CTM/Base/MainClass.pm
Criterion Covered Total %
condition 9 61 14.7


and 3 conditions

line !l l&&!r l&&r condition
75 0 0 2 defined $params{'version'} and defined $params{'DBMSType'}
0 0 2 defined $params{'version'} and defined $params{'DBMSType'} and defined $params{'DBMSAddress'}
0 0 2 defined $params{'version'} and defined $params{'DBMSType'} and defined $params{'DBMSAddress'} and defined $params{'DBMSPort'}
0 0 2 defined $params{'version'} and defined $params{'DBMSType'} and defined $params{'DBMSAddress'} and defined $params{'DBMSPort'} and defined $params{'DBMSInstance'}
0 0 2 defined $params{'version'} and defined $params{'DBMSType'} and defined $params{'DBMSAddress'} and defined $params{'DBMSPort'} and defined $params{'DBMSInstance'} and defined $params{'DBMSUser'}
104 0 0 0 defined $$self{'_version'} and $$self{'_version'} =~ /^[678]$/
0 0 0 defined $$self{'_version'} and $$self{'_version'} =~ /^[678]$/ and defined $$self{'DBMSType'}
0 0 0 defined $$self{'_version'} and $$self{'_version'} =~ /^[678]$/ and defined $$self{'DBMSType'} and $$self{'DBMSType'} =~ /^(Pg|Oracle|mysql|Sybase|ODBC)$/
0 0 0 defined $$self{'_version'} and $$self{'_version'} =~ /^[678]$/ and defined $$self{'DBMSType'} and $$self{'DBMSType'} =~ /^(Pg|Oracle|mysql|Sybase|ODBC)$/ and hascontent($$self{'DBMSAddress'})
0 0 0 defined $$self{'_version'} and $$self{'_version'} =~ /^[678]$/ and defined $$self{'DBMSType'} and $$self{'DBMSType'} =~ /^(Pg|Oracle|mysql|Sybase|ODBC)$/ and hascontent($$self{'DBMSAddress'}) and defined $$self{'DBMSPort'}
0 0 0 defined $$self{'_version'} and $$self{'_version'} =~ /^[678]$/ and defined $$self{'DBMSType'} and $$self{'DBMSType'} =~ /^(Pg|Oracle|mysql|Sybase|ODBC)$/ and hascontent($$self{'DBMSAddress'}) and defined $$self{'DBMSPort'} and $$self{'DBMSPort'} =~ /^\d+$/
0 0 0 defined $$self{'_version'} and $$self{'_version'} =~ /^[678]$/ and defined $$self{'DBMSType'} and $$self{'DBMSType'} =~ /^(Pg|Oracle|mysql|Sybase|ODBC)$/ and hascontent($$self{'DBMSAddress'}) and defined $$self{'DBMSPort'} and $$self{'DBMSPort'} =~ /^\d+$/ and $$self{'DBMSPort'} >= 0
0 0 0 defined $$self{'_version'} and $$self{'_version'} =~ /^[678]$/ and defined $$self{'DBMSType'} and $$self{'DBMSType'} =~ /^(Pg|Oracle|mysql|Sybase|ODBC)$/ and hascontent($$self{'DBMSAddress'}) and defined $$self{'DBMSPort'} and $$self{'DBMSPort'} =~ /^\d+$/ and $$self{'DBMSPort'} >= 0 and $$self{'DBMSPort'} <= 65535
0 0 0 defined $$self{'_version'} and $$self{'_version'} =~ /^[678]$/ and defined $$self{'DBMSType'} and $$self{'DBMSType'} =~ /^(Pg|Oracle|mysql|Sybase|ODBC)$/ and hascontent($$self{'DBMSAddress'}) and defined $$self{'DBMSPort'} and $$self{'DBMSPort'} =~ /^\d+$/ and $$self{'DBMSPort'} >= 0 and $$self{'DBMSPort'} <= 65535 and defined hascontent($$self{'DBMSInstance'})
0 0 0 defined $$self{'_version'} and $$self{'_version'} =~ /^[678]$/ and defined $$self{'DBMSType'} and $$self{'DBMSType'} =~ /^(Pg|Oracle|mysql|Sybase|ODBC)$/ and hascontent($$self{'DBMSAddress'}) and defined $$self{'DBMSPort'} and $$self{'DBMSPort'} =~ /^\d+$/ and $$self{'DBMSPort'} >= 0 and $$self{'DBMSPort'} <= 65535 and defined hascontent($$self{'DBMSInstance'}) and hascontent($$self{'DBMSUser'})
0 0 0 defined $$self{'_version'} and $$self{'_version'} =~ /^[678]$/ and defined $$self{'DBMSType'} and $$self{'DBMSType'} =~ /^(Pg|Oracle|mysql|Sybase|ODBC)$/ and hascontent($$self{'DBMSAddress'}) and defined $$self{'DBMSPort'} and $$self{'DBMSPort'} =~ /^\d+$/ and $$self{'DBMSPort'} >= 0 and $$self{'DBMSPort'} <= 65535 and defined hascontent($$self{'DBMSInstance'}) and hascontent($$self{'DBMSUser'}) and defined $$self{'DBMSConnectTimeout'}
0 0 0 defined $$self{'_version'} and $$self{'_version'} =~ /^[678]$/ and defined $$self{'DBMSType'} and $$self{'DBMSType'} =~ /^(Pg|Oracle|mysql|Sybase|ODBC)$/ and hascontent($$self{'DBMSAddress'}) and defined $$self{'DBMSPort'} and $$self{'DBMSPort'} =~ /^\d+$/ and $$self{'DBMSPort'} >= 0 and $$self{'DBMSPort'} <= 65535 and defined hascontent($$self{'DBMSInstance'}) and hascontent($$self{'DBMSUser'}) and defined $$self{'DBMSConnectTimeout'} and $$self{'DBMSConnectTimeout'} =~ /^\d+$/
246 2 0 0 blessed($self->_DBI) && $self->_DBI->isa('DBI::db') && $$self{'_sessionIsConnected'}

or 2 conditions

line l !l condition
83 0 2 $params{'DBMSConnectTimeout'} || 0
84 0 2 $params{'verbose'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
92 0 2 0 ref $class || $class