Branch Coverage

blib/lib/Bio/Chado/Schema/Util.pm
Criterion Covered Total %
branch 15 32 46.8


line true false branch
23 0 1 if %args
27 1 0 unless ref $_ eq 'HASH'
32 0 1 unless defined $opts->{'cv_name'}
34 1 0 unless defined $opts->{'db_name'}
36 1 0 unless defined $opts->{'dbxref_accession_prefix'}
42 1 0 $opts->{'autocreate'} ? :
44 0 1 unless $cvrs->$find_or_create({'name', $opts->{'cv_name'}}, {'key', 'cv_c1'})
65 1 0 unless ($existing_cvterm)
67 0 1 unless $opts->{'autocreate'}
95 0 1 $def ? :
109 1 0 ref $propval ? :
123 0 1 $opts->{'allow_duplicate_values'} ? :
126 1 0 unless ($skip_creation)
128 1 0 if ($opts->{'rank'} and defined $opts->{'rank'}) { }
133 0 1 if defined $existing_prop
141 0 0 defined $max_rank ? :