blib/lib/Class/Accessor/Constructor.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 19 | 52.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
30 | 2 | 0 | 0 | defined &DB::DB and not $Devel::DProf::VERSION |
140 | 5 | 0 | 0 | scalar(@_ == 1) && ref $_[0] eq 'HASH' |
line | l | !l | condition |
---|---|---|---|
145 | 1 | 4 | $cache{'DEFAULTS'}{ref $self} ||= [$self->every_hash('DEFAULTS')] |
153 | 1 | 4 | $cache{'FIRST_CONSTRUCTOR_ARGS'}{ref $self} ||= [$self->every_list('FIRST_CONSTRUCTOR_ARGS')] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
22 | 0 | 1 | 0 | ref $self || $self |
33 | 1 | 1 | 0 | $singleton ||= $self->$instance_method(@_) |
71 | 0 | 4 | 0 | ref $self || $self |