Branch Coverage

blib/lib/Medical/OPCS4.pm
Criterion Covered Total %
branch 12 40 30.0


line true false branch
79 0 1 unless (-e $filename and -r $filename)
102 0 2 unless defined $term
104 1 1 unless $$self{'parser'}->graph->has_vertex($term)
205 1 1 if (ref $term and ref $term eq 'Medical::OPCS4::Term') { }
212 0 2 unless $$self{'parser'}->graph->has_vertex($search_term)
215 0 2 unless $$self{'parser'}->graph->is_predecessorful_vertex($search_term)
254 0 0 unless defined $term
284 0 0 unless defined $term
288 0 0 if (ref $term and ref $term eq 'Medical::OPCS4::Term') { }
295 0 0 unless $$self{'parser'}->graph->has_vertex($search_term)
298 0 0 unless $$self{'parser'}->graph->is_predecessorful_vertex($search_term)
346 0 0 unless defined $term
352 0 0 unless defined $ra_parent_terms and scalar @$ra_parent_terms
386 0 1 unless defined $term
390 0 1 if (ref $term and ref $term eq 'Medical::OPCS4::Term') { }
397 0 1 unless $$self{'parser'}->graph->has_vertex($search_term)
400 0 1 unless $$self{'parser'}->graph->is_successorful_vertex($search_term)
448 0 0 unless defined $term
471 0 0 if ($mode eq 'string') { }
0 0 elsif ($mode eq 'objects') { }