blib/lib/Class/Scaffold/Environment.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 36 | 22.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
35 | 2 | 0 | 0 | defined $ENV{'TEST_MODE'} && $ENV{'TEST_MODE'} == 1 |
49 | 2 | 0 | 0 | ref $newenv and UNIVERSAL::isa($newenv, 'Class::Scaffold::Environment') |
103 | 3 | 0 | 0 | defined &DB::DB and not $Devel::DProf::VERSION |
115 | 0 | 0 | 0 | defined &DB::DB and not $Devel::DProf::VERSION |
125 | 0 | 0 | 0 | defined &DB::DB and not $Devel::DProf::VERSION |
141 | 0 | 0 | 0 | defined $class and length $class |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
107 | 1 | 2 | 0 | $hash ||= $self->every_hash($every_hash_name) |
119 | 0 | 0 | 0 | $hash ||= $self->every_hash($every_hash_name) |
180 | 0 | 0 | 0 | $cache{'delegate'}{$object_type_const} ||= $self->make_obj($object_type_const, @args) |
194 | 0 | 2 | 0 | $$storage_type_for{$key} || $$storage_type_for{'_AUTO'} |
219 | 3 | 2 | 0 | $self->storage_cache->{'core_storage'} ||= $self->make_storage_object($self->core_storage_name, $self->core_storage_args) |
226 | 0 | 0 | 0 | $self->storage_cache->{'memory_storage'} ||= $self->make_storage_object($self->memory_storage_name) |