Condition Coverage

blib/lib/App/MonM/Store.pm
Criterion Covered Total %
condition 11 31 35.4


and 3 conditions

line !l l&&!r l&&r condition
307 0 0 1 $dbh and $dsn =~ /SQLite/i
309 0 0 1 $file and -e $file
0 1 0 $file and -e $file and not -z $file

or 2 conditions

line l !l condition
287 0 1 $args{'file'} || 'monm.db'
322 0 0 $DBI::errstr || 'unknown error'
328 0 0 $dbh->errstr || 'unknown error'
332 1 0 $error // ""
385 0 1 $params{'status'} || 0
409 1 0 $params{'status'} || 0
441 2 0 $params{'name'} || ''
479 0 0 $params{'period'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
284 0 1 7 $args{$_} //= $dda->{$_}
288 0 1 0 $args{'dsn'} || sprintf('dbi:SQLite:dbname=%s', $file)