Condition Coverage

blib/lib/DBIx/Class/AuditAny.pm
Criterion Covered Total %
condition 13 49 26.5


and 2 conditions

line l !l condition
220 139 0 $seen{$_}++ and die "Duplicate datapoint name '${_}'"
284 14 0 $_ == $self and return
412 0 0 $_ == $AuditObj and $found = 1
445 0 0 $_ == $AuditObj and $found = 1

and 3 conditions

line !l l&&!r l&&r condition
109 14 0 0 $sources and !ref($sources) eq 'ARRAY'
111 14 0 0 $sources and $track_all
114 14 0 0 $init_sources and !ref($init_sources) eq 'ARRAY'
116 14 0 0 $init_sources and $init_all
280 14 0 0 $self->schema->auditor_count > 0 and not $self->allow_multiple_auditors
392 92 0 0 $immutable and not $self->track_immutable
596 0 0 122 $allowed_keys{$_} and ref $data->{$_} eq 'HASH'

or 2 conditions

line l !l condition
410 0 0 $Row->result_source->schema->auditors || []
443 0 0 $Row->result_source->schema->auditors || []
559 96 0 $self->_current_change_group || []
596 122 0 $allowed_keys{$_} and ref $data->{$_} eq 'HASH' or die "Bad data in change hash:\n" . Data::Dumper::Concise::Dumper($data)

or 3 conditions

line l !l&&r !l&&!r condition
121 0 0 2 $opts{'collector_params'} or $opts{'collector_class'}
0 0 2 $opts{'collector_params'} or $opts{'collector_class'} or $opts{'collector'}
129 0 0 0 $opts{'collector_params'} or $opts{'collector_class'}
0 0 0 $opts{'collector_params'} or $opts{'collector_class'} or $opts{'collect'}