Condition Coverage

lib/File/Data.pm
Criterion Covered Total %
condition 23 52 44.2


and 3 conditions

line !l l&&!r l&&r condition
539 0 0 5 defined $self->{'_var'}{$call} and ref $self->{'_var'}{$call} eq 'ARRAY'
924 0 4518 0 $debug =~ /^(\d+)$/o and $1 >= 1
0 4518 0 $debug =~ /^(.+)$/o and $state =~ /$debug/
982 21 0 0 ref $c_ref and $c_ref->can($state)
1156 15 536 0 $i_ok and $self->_var('backup')
1177 0 0 552 $file =~ /.+/o && $perm =~ /.+/o

or 2 conditions

line l !l condition
173 0 556 shift() || {}
604 0 0 shift() || '_'
615 0 0 shift() || '_'
1011 554 2 shift() || ''
1020 0 552 $self->_var('filename') || ''
1036 552 0 shift() || ''
1061 552 0 shift() || {}
1221 538 13 'FileHandle'->new("$perm $file") || ''

or 3 conditions

line l !l&&r !l&&!r condition
172 25 0 531 shift() || $File::Data::PERMISSIONS
537 5 0 0 uc shift() || $self->_var('last')
924 0 0 4518 $debug =~ /^(\d+)$/o and $1 >= 1 or $debug =~ /^(.+)$/o and $state =~ /$debug/
958 21 0 0 shift() || $self->_var('state')
960 0 0 21 $self->{'_err'}{$state} || $self->{'_err'}{'default'}
1047 6 546 0 $map{$args} || $args