blib/lib/CAM/App.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 60 | 33.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
294 | 0 | 1 | 0 | not exists $$cfg{'fullURL'} and $self->getCGI |
306 | 0 | 0 | 1 | $$cfg{'myURL'} and not exists $$cfg{'cgiurl'} |
330 | 1 | 0 | 0 | $CAM::SQLManager::VERSION and $$self{'config'}{'sqldir'} |
507 | 0 | 0 | 0 | $ENV{'HTTP_ACCEPT_ENCODING'} and $self->loadModule('CGI::Compress::Gzip') |
559 | 1 | 0 | 0 | $$cfg{'dbistr'} || $$cfg{'dbname'} and $$cfg{'dbusername'} |
592 | 0 | 0 | 0 | not $dbistr and $$cfg{'dbname'} |
613 | 0 | 0 | 0 | $name and !$$self{'dbhname'} || $$self{'dbhname'} ne $name |
940 | 0 | 1 | 0 | defined $dir && $dir ne '' |
1149 | 2 | 0 | 0 | not defined $$ver_ref and @$isa_ref == 0 |
1151 | 0 | 1 | 0 | ref $pkg_or_self and $@ |
line | l | !l | condition |
---|---|---|---|
284 | 0 | 1 | $$cfg{'sessionclass'} ||= 'CAM::Session' |
636 | 0 | 0 | $dbuser || '' |
655 | 0 | 0 | $DBI::errstr || $! || '(unknown error)' |
693 | 0 | 0 | $$self{'dbparams'}{$name} ||= {} |
911 | 3 | 0 | shift() || 'CAM::Template' |
935 | 0 | 1 | $$self{'config'}{'templatedir'} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
559 | 0 | 0 | 1 | $$cfg{'dbistr'} || $$cfg{'dbname'} |
613 | 0 | 0 | 0 | !$$self{'dbhname'} || $$self{'dbhname'} ne $name |
1 | 0 | 0 | not exists $$self{'dbh'} or $name and !$$self{'dbhname'} || $$self{'dbhname'} ne $name | |
1144 | 3 | 1 | 3 | defined $$ver_ref or @$isa_ref > 0 |
1149 | 1 | 0 | 2 | $@ or not defined $$ver_ref and @$isa_ref == 0 |
1157 | 5 | 1 | 1 | $$ver_ref || @$isa_ref |