Condition Coverage

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


and 2 conditions

line l !l condition
220 150 0 $seen{$_}++ and die "Duplicate datapoint name '${_}'"
284 15 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 15 0 0 $sources and !ref($sources) eq 'ARRAY'
111 15 0 0 $sources and $track_all
114 15 0 0 $init_sources and !ref($init_sources) eq 'ARRAY'
116 15 0 0 $init_sources and $init_all
280 15 0 0 $self->schema->auditor_count > 0 and not $self->allow_multiple_auditors
392 95 0 0 $immutable and not $self->track_immutable
596 0 0 126 $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 100 0 $self->_current_change_group || []
596 126 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'}