Condition Coverage

blib/lib/Data/Censor.pm
Criterion Covered Total %
condition 12 18 66.6


and 3 conditions

line !l l&&!r l&&r condition
156 0 15 14 $self->{'is_sensitive_field'} and $self->{'is_sensitive_field'}{lc $key}
15 0 0 $self->{'censor_regex'} and $key =~ /$self->{'censor_regex'}/
203 1 0 1 ref $class && $class->isa('Data::Censor')

or 2 conditions

line l !l condition
115 0 4 $args{'recurse_limit'} || 100
131 6 6 $recurse_count ||= 0
132 6 6 $visited ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
156 14 0 15 $self->{'is_sensitive_field'} and $self->{'is_sensitive_field'}{lc $key} or $self->{'censor_regex'} and $key =~ /$self->{'censor_regex'}/