Condition Coverage

Bio/Structure/Entry.pm
Criterion Covered Total %
condition 24 54 44.4


and 3 conditions

line !l l&&!r l&&r condition
195 6 22 1 not defined $model and ref($entry) =~ /^Bio::Structure::Model/
200 0 0 29 defined $entry and ref($entry) =~ /^Bio::Structure::Entry/
630 8 0 32 defined $serial and defined $type
641 0 0 40 exists $self->{'conect'}{$source} and defined $self->{'conect'}{$source}
772 0 0 1 $model =~ /^\d+$/ and not defined $serial
777 0 0 1 defined $model and ref($model) =~ /^Bio::Structure::Model/
780 0 0 1 defined $serial and $serial =~ /^\d+$/
918 0 0 1678 defined $key and ref($key) =~ /^Bio::/
921 852 826 0 defined $value and not ref($value) =~ /^Bio::/
928 826 0 0 defined $self->{'c_p'}{$key} and exists $self->{'c_p'}{$key}
960 0 0 1840 defined $key and ref($key) =~ /^Bio::/
963 1014 826 0 defined $value and not ref($value) =~ /^Bio::/
969 170 0 656 exists do { $$self{'p_c'} }->{$key} and ref(do { $$self{'p_c'} }->{$key}) =~ /^ARRAY/

or 3 conditions

line l !l&&r !l&&!r condition
157 1 3 0 ref $model eq 'ARRAY' or $model->isa('Bio::Structure::Model')
301 0 0 0 ref $chain eq 'ARRAY' or $chain->isa('Bio::Structure::Chain')
422 0 0 0 ref $residue eq 'ARRAY' or $residue->isa('Bio::Structure::Residue')
631 19 0 13 not exists do { $$self{'conect'} }->{$source} or ref !(do { $$self{'conect'} }->{$source} =~ /^ARRAY/)
992 5 0 0 defined $object or ref($object) =~ /^Bio::/