blib/lib/Bio/JBrowse/Store/NCList/ArrayRepr.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 17 | 52.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
87 | 0 | 2581 | 25881 | defined $fields and defined $$fields{$attr} |
95 | 2568 | 0 | 0 | defined $$cls{'proto'} and defined $$cls{'proto'}{$attr} |
115 | 0 | 13 | 0 | defined $fields and defined $$fields{$attr} |
line | l | !l | condition |
---|---|---|---|
17 | 1 | 1 | $classes ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
67 | 0 | 2 | 0 | $$self{'classes_by_fingerprint'}{$attr_fingerprint} ||= do { my(@attributes) = ('start', 'end', grep((!$skip_field{$_}), @attrs)); my $i = 0; my $class = {'attributes', \@attributes, 'attr_idx', {map({$_, ++$i;} @attributes)}, 'isArrayAttr', {map({$_, 1;} grep((ref $$feature{$_} eq 'ARRAY'), @attrs))}}; push @{$$self{'fields'};}, $$class{'attr_idx'}; push @{$$self{'classes'};}, $class; $$class{'index'} = $#{$$self{'classes'};}; $class } |
93 | 2568 | 0 | 13 | $adhocIndex > $#{$obj;} or not defined $$obj[$adhocIndex]{$attr} |