| blib/lib/Data/Censor.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 8 | 16 | 50.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 144 | 0 | 6 | 6 | $self->{'is_sensitive_field'} and $self->{'is_sensitive_field'}{lc $key} |
| 6 | 0 | 0 | $self->{'censor_regex'} and $key =~ /$self->{'censor_regex'}/ | |
| 196 | 0 | 0 | 0 | ref $class && $class->isa('Data::Censor') |
| line | l | !l | condition |
|---|---|---|---|
| 113 | 0 | 2 | $args{'recurse_limit'} || 100 |
| 129 | 2 | 2 | $recurse_count ||= 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 144 | 6 | 0 | 6 | $self->{'is_sensitive_field'} and $self->{'is_sensitive_field'}{lc $key} or $self->{'censor_regex'} and $key =~ /$self->{'censor_regex'}/ |