Branch Coverage

Bio/Restriction/IO/base.pm
Criterion Covered Total %
branch 11 32 34.3


line true false branch
92 0 11 ref $class ? :
118 11 0 unless $verbose
120 0 11 if ($current and $format)
121 0 0 if $url or $file or $fh
122 0 0 unless exists $FILE_FORMAT{$format}
129 0 11 unless $self->SUPER::_initialize(@args)
151 0 2660 if /^\s*$/
193 0 0 if $_->isa('Bio::Restriction::EnzymeCollection')
195 0 0 if $_->isa('Bio::Restriction::Enzyme')
223 0 0 unless $enz and ref $enz and $enz->isa('Bio::Restriction::EnzymeI')
225 0 0 unless (defined $protodb)
230 0 0 if ($protodb->get_enzyme($enz->name)) { }
284 286 542 if $pos eq '?'
285 140 688 if $pos and not $re->palindromic
288 0 0 if $self->verbose > 0
371 22 4 if ($meths and @$meths)