Condition Coverage

blib/lib/MyLibrary/Librarian.pm
Criterion Covered Total %
condition 1 39 2.5


and 3 conditions

line !l l&&!r l&&r condition
333 0 0 0 not $opts{'strict'} =~ /^\d$/ and $opts{'strict'} == 1 || $opts{'strict'} == 0
401 0 0 1 ref $$self{'term_ids'} eq 'ARRAY' and scalar @{$$self{'term_ids'};} >= 1
452 0 0 0 scalar @term_ids > 0 and @term_ids
513 0 0 0 scalar @term_ids > 0 and @term_ids

or 3 conditions

line l !l&&r !l&&!r condition
333 0 0 0 $opts{'strict'} == 1 || $opts{'strict'} == 0
0 0 0 not $opts{'strict'} =~ /^\d$/ and $opts{'strict'} == 1 || $opts{'strict'} == 0 or $opts{'strict'} ne 'off'
0 0 0 not $opts{'strict'} =~ /^\d$/ and $opts{'strict'} == 1 || $opts{'strict'} == 0 or $opts{'strict'} ne 'off' or $opts{'strict'} ne 'on'
448 0 0 0 $return > 1 or not $return
452 0 0 0 scalar @term_ids <= 0 or not @term_ids
469 0 0 0 $return > 1 or not $return
494 0 0 0 $return > 1 or not $return
507 0 0 0 $return > 1 or not $return
516 0 0 0 $return > 1 or not $return