Condition Coverage

blib/lib/Brackup/Target.pm
Criterion Covered Total %
condition 9 22 40.9


and 3 conditions

line !l l&&!r l&&r condition
126 1 0 0 $opt{'source'} and $source ne $opt{'source'}
167 0 2 0 @orphaned_chunks and $opt{'verbose'}
2 0 0 @orphaned_chunks and $opt{'verbose'} and $opt{'verbose'} >= 2
173 0 0 2 @orphaned_chunks and not $opt{'dryrun'}

or 2 conditions

line l !l condition
122 1 1 $backups{$1} ||= []
160 24 0 $$it{'Chunks'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
21 7 0 0 $confsec->value('inventorydb_file') || $confsec->value('inventory_db') || "$ENV{'HOME'}/.brackup-target-$$self{'name'}.invdb"
113 1 0 0 $opt{'keep_backups'} || $$self{'keep_backups'}