Condition Coverage

blib/lib/Search/ContextGraph.pm
Criterion Covered Total %
condition 25 66 37.8


and 3 conditions

line !l l&&!r l&&r condition
255 0 0 0 defined $code and ref $code
0 0 0 defined $code and ref $code and ref $code eq 'CODE'
323 0 0 0 defined $old and defined $new
508 0 419 1 ref $words and ref $words eq 'HASH'
594 0 0 0 defined $path and -f $path
612 0 0 0 ref $ref and ref $ref =~ /(HASH|ARRAY)/
960 0 0 1 defined $words and ref $words
0 1 0 defined $words and ref $words and ref $words eq 'HASH' || ref $words eq 'ARRAY'
1056 4 0 0 defined $term and not $term =~ /T:/
1408 0 0 0 defined $incoming and ref $incoming
0 0 0 defined $incoming and ref $incoming and ref $incoming eq 'HASH'
1733 50 1 30 $degree == 1 and $energy < $$self{'START_ENERGY'}
1761 0 0 5630 defined $arr and ref $arr
0 0 5630 defined $arr and ref $arr and ref $arr eq 'ARRAY'

or 2 conditions

line l !l condition
419 1 1 $newval ||= 0
424 1 1 $newval || 0
472 1 1 $_[1] || 100000000
728 2 2 exists $$self{'neighbors'}{$node} || undef
741 2 2 exists $$self{'neighbors'}{$node} || undef
1413 0 0 $$incoming{'terms'} || []
1414 0 0 $$incoming{'docs'} || []
1589 17194 0 $outbound{$node} ||= 0
1701 0 81 $$self{'energy'}{$node} || 0

or 3 conditions

line l !l&&r !l&&!r condition
508 1 419 0 ref $words and ref $words eq 'HASH' or ref $words eq 'ARRAY'
960 0 1 0 ref $words eq 'HASH' || ref $words eq 'ARRAY'