blib/lib/Class/Sniff.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 25 | 36 | 69.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
136 | 8 | 2 | 0 | exists $arg_for->{'ignore'} and 'Regexp' ne ref $arg_for->{'ignore'} |
252 | 7 | 0 | 0 | defined $ignore and $symbol_name =~ /$ignore/ |
478 | 12 | 1 | 13 | $method_found and $curr_class->can($method) |
920 | 0 | 0 | 10 | $number =~ /^\d+$/ and $number >= 40 |
1115 | 51 | 36 | 0 | $self->universal and not @parents |
line | l | !l | condition |
---|---|---|---|
153 | 1 | 9 | $arg_for->{'method_length'} || 50 |
351 | 37 | 32 | $self->{'duplicates'}{$digest} ||= [] |
356 | 23 | 46 | $self->{'methods'}{$method} ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
135 | 1 | 9 | 0 | ref $proto || $proto |
701 | 17 | 1 | 0 | $class ||= $self->target_class |
1078 | 3 | 1 | 0 | $class ||= $self->target_class |
1102 | 6 | 1 | 0 | $class ||= $self->target_class |
1111 | 0 | 14 | 87 | $class eq 'UNIVERSAL' or not $self->_is_real_package($class) |