Condition Coverage

blib/lib/GO/AnnotationProvider/AnnotationParser.pm
Criterion Covered Total %
condition 13 62 20.9


and 3 conditions

line !l l&&!r l&&r condition
398 0 0 0 $kColumnsToCardinality{$column}[1] ne 'n' and $cardinality > $max
745 40244 168 277 exists $$self{$kNameToIdMapInsensitive}{$ucName} and $$self{$kNameToIdMapInsensitive}{$ucName} ne $databaseId
1655 0 0 0 $self->nameIsDatabaseId($name) and @{$self->goIdsByDatabaseId('databaseId', $name, 'aspect', $aspect);}
0 0 0 $self->nameIsStandardName($name) and @{$self->goIdsByStandardName('standardName', $name, 'aspect', $aspect);}
1670 0 0 0 defined $goidsRef and @{$goidsRef;}

or 2 conditions

line l !l condition
306 0 0 'IO::File'->new($file, '<') || die("$GO::AnnotationProvider::AnnotationParser::PACKAGE cannot open $file : $!")
513 0 0 Storable::retrieve($args{'objectFile'}) || die("Could not instantiate $GO::AnnotationProvider::AnnotationParser::PACKAGE object from objectFile : $!")
567 3 0 'IO::File'->new($file, '<') || die("$GO::AnnotationProvider::AnnotationParser::PACKAGE cannot open $file : $!")
1641 0 0 $args{'name'} || die('You must supply a name to nameIsAnnotated')

or 3 conditions

line l !l&&r !l&&!r condition
304 0 0 0 $args{'annotationFile'} || $class->_handleMissingArgument('argument', 'annotationFile')
431 0 0 0 not defined $string or $string eq ''
535 270 40098 15 $$self{$kNameToCount}{$name} > 1 or exists $$self{$kNameToIdMapInsensitive}{uc $name}
1036 19434 0 0 $args{'aspect'} || $self->_handleMissingArgument('argument', 'aspect')
1037 19434 0 0 $args{'databaseId'} || $self->_handleMissingArgument('argument', 'databaseId')
1109 19434 0 0 $args{'aspect'} || $self->_handleMissingArgument('argument', 'aspect')
1110 19434 0 0 $args{'databaseId'} || $self->_handleMissingArgument('argument', 'databaseId')
1153 0 0 0 $args{'aspect'} || $self->_handleMissingArgument('argument', 'aspect')
1154 0 0 0 $args{'standardName'} || $self->_handleMissingArgument('argument', 'standardName')
1246 0 0 0 $args{'aspect'} || $self->_handleMissingArgument('argument', 'aspect')
1247 0 0 0 $args{'name'} || $self->_handleMissingArgument('argument', 'name')
1476 53110 0 19 $$self{$kNameToIdMapInsensitive}{uc $name} || $$self{$kNameToIdMapSensitive}{$name}
1651 0 0 0 exists $$self{$kNameToIdMapInsensitive}{$ucName} || exists $$self{$kAmbiguousNames}{$ucName}