Condition Coverage

blib/lib/Brackup/Backup.pm
Criterion Covered Total %
condition 28 43 65.1


and 3 conditions

line !l l&&!r l&&r condition
134 80 2 28 $merge_under and $comp_chunk
202 63 18 4 $comp_chunk and $schunk = $comp_chunk->stored_chunk_from_dup_internal_raw($pchunk)
234 61 9 11 $merge_under and $chunk_size < $merge_under
70 0 11 $merge_under and $chunk_size < $merge_under and $pchunk->is_entire_file
235 2 9 0 $comp_chunk and not $comp_chunk->can_fit($chunk_size)
470 0 0 0 defined $message and length $message > 100

or 2 conditions

line l !l condition
345 16 0 $$self{'modecounts'}{$type} || {}
361 16 0 $$self{'idcounts'}{$type} || {}

or 3 conditions

line l !l&&r !l&&!r condition
241 9 2 0 $comp_chunk ||= 'Brackup::CompositeChunk'->new($root, $target)
335 90 8 0 $$self{'_def_file_mode'} ||= $self->_default_mode('f')
340 20 8 0 $$self{'_def_dir_mode'} ||= $self->_default_mode('d')
351 110 8 0 $$self{'_def_uid'} ||= $self->_default_id('u')
356 110 8 0 $$self{'_def_gid'} ||= $self->_default_id('g')
393 8 8 0 $$self{'backup_time'} ||= time
406 0 0 16 not defined $val or $val eq ''