blib/lib/Class/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 21 | 29 | 72.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
26 | 12 | 14 | 1 | defined $_[0] && UNIVERSAL::isa($_[0], 'HASH') |
114 | 1 | 13 | 2 | ref $self and @_ |
174 | 20 | 2 | 2 | defined($default = $keys->{$key}) and ref $default eq 'CODE' |
206 | 1 | 0 | 15 | ref $self and defined $self->{'_DEBUG'} |
line | l | !l | condition |
---|---|---|---|
34 | 1 | 21 | do { local $^W; ${"${class}::DEBUG";} } || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
37 | 2 | 24 | 0 | $config->{'id'} || $config->{'ID'} || $class |
42 | 25 | 0 | 2 | $self->init($config) || $class->error($self->error) |
119 | 0 | 1 | 0 | ref $self || $self |
13 | 1 | 0 | $id ||= ref $self || $self | |
212 | 0 | 1 | 0 | ref $self || $self |