blib/lib/Class/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 21 | 29 | 72.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
43 | 12 | 13 | 1 | defined $_[0] && UNIVERSAL::isa($_[0], 'HASH') |
135 | 1 | 13 | 2 | ref $self and @_ |
194 | 20 | 2 | 2 | defined($default = $$keys{$key}) and ref $default eq 'CODE' |
226 | 1 | 0 | 15 | ref $self and defined $$self{'_DEBUG'} |
line | l | !l | condition |
---|---|---|---|
51 | 1 | 20 | do { local $^W; ${"${class}::DEBUG";} } || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
54 | 3 | 23 | 0 | $$config{'id'} || $$config{'ID'} || $class |
59 | 24 | 0 | 2 | $self->init($config) || $class->error($self->error) |
139 | 0 | 1 | 0 | ref $self || $self |
13 | 1 | 0 | $id ||= ref $self || $self | |
232 | 0 | 1 | 0 | ref $self || $self |