Branch Coverage

GO/Parsers/go_assoc_parser.pm
Criterion Covered Total %
branch 54 88 61.3


line true false branch
74 0 2 if @_
82 0 2 if @_
149 0 2 if ($ev)
150 0 0 if ($ev =~ /\!(.*)/) { }
178 0 204 if (/^\!/)
181 2 202 unless ($_)
195 3030 404 if (defined $vals[$i])
209 784 2650 if (not defined $vals[$i] or length $vals[$i] == 0)
212 0 784 if (grep {$i == $_;} @mandatory_cols)
239 0 202 unless defined $properties
240 0 202 unless defined $isoform
242 0 202 unless defined $assocdate
243 0 202 unless defined $source_db
249 1 201 if ($self->acc_not_found($termacc))
253 0 201 unless ($ref =~ /:/)
257 0 201 if ($skip_uncurated and $evcode eq 'IEA')
260 0 201 if (%evyes and not $evyes{$evcode})
263 0 201 if (%evno and $evno{$evcode})
271 0 201 unless ($_ =~ /\d+/)
272 0 0 unless ($taxa_warning)
282 0 201 unless ($main_taxon_id)
283 0 0 unless ($taxa_warning)
309 0 201 if (not $new_prodacc and $chopped_taxa ne $chopped_prev_taxa)
317 173 28 if ($new_assoc)
318 171 2 if $last[$TERMACC]
321 33 168 if ($new_prodacc)
322 31 2 if $last[$PRODACC]
325 2 199 if ($new_dbset)
326 0 2 if $last[$PRODDB]
330 2 199 if ($new_dbset)
334 33 168 if ($new_prodacc)
338 33 0 if $prodname
339 33 0 if $prodtype
340 33 0 if ($main_taxon_id)
344 33 0 if ($syn)
348 31 183 if ($ucheck{lc $_}) { }
361 173 28 if ($new_assoc)
364 173 0 if ($assocdate)
365 173 0 if ($assocdate and length $assocdate == 8) { }
372 173 0 if $source_db
381 0 173 if ($isoform)
384 0 173 if ($properties)
386 0 0 unless ($obo_parser)
397 24 177 if ($with)