| blib/lib/Class/Sniff.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 29 | 39 | 74.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 128 | 13 | 2 | 0 | exists $$arg_for{'ignore'} and 'Regexp' ne ref $$arg_for{'ignore'} |
| 244 | 11 | 0 | 0 | defined $ignore and $symbol_name =~ /$ignore/ |
| 472 | 12 | 1 | 13 | $method_found and $curr_class->can($method) |
| 922 | 0 | 0 | 15 | $number =~ /^\d+$/ and $number >= 40 |
| 1117 | 102 | 36 | 20 | $self->universal and not @parents |
| 1135 | 13 | 0 | 161 | defined $$stash{'ISA'} and defined *{$$stash{'ISA'};}{'ARRAY'} |
| line | l | !l | condition |
|---|---|---|---|
| 131 | 1 | 14 | $$arg_for{'method_length'} || 50 |
| 343 | 73 | 48 | $$self{'duplicates'}{$digest} ||= [] |
| 348 | 37 | 84 | $$self{'methods'}{$method} ||= [] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 127 | 1 | 14 | 0 | ref $proto || $proto |
| 695 | 17 | 1 | 0 | $class ||= $self->target_class |
| 1080 | 3 | 1 | 0 | $class ||= $self->target_class |
| 1104 | 6 | 1 | 0 | $class ||= $self->target_class |
| 1113 | 5 | 5 | 158 | $class eq 'UNIVERSAL' or not $self->_is_real_package($class) |