Clover icon

Coverage Report

  1. Project Clover database Thu Jun 4 2026 14:16:38 BST
  2. Package jalview.datamodel.rna

File NucStructureI.java

 

Coverage histogram

../../../img/srcFileCovDistChart4.png
49% of files have more coverage

Code metrics

2
7
8
1
47
32
9
1.29
0.88
8
1.12

Classes

Class Line # Actions
NucStructureI 12 7 9
0.352941235.3%
 

Contributing tests

This file is covered by 274 tests. .

Source view

1    package jalview.datamodel.rna;
2   
3    import jalview.analysis.Rna;
4    import jalview.analysis.WUSSParseException;
5    import jalview.datamodel.AlignmentAnnotation;
6    import jalview.datamodel.SequenceFeature;
7   
8    /**
9    * container and associated methods for working with a set of nucleic acid
10    * interactions on a shared coordinate system
11    */
 
12    public interface NucStructureI
13    {
14   
 
15  0 toggle public default SequenceFeature[] getRnaSecondaryStructure()
16    {
17  0 return null;
18    }
19   
 
20  0 toggle public default String getRNAStruc(AlignmentAnnotation rnaStruc)
21    {
22  0 return "";
23    };
24   
 
25  0 toggle public default long getStructureHashcode()
26    {
27  0 return -1;
28    };
29   
 
30  0 toggle public default boolean rnaSecondaryStructureEquivalent(
31    AlignmentAnnotation alignmentAnnotation, AlignmentAnnotation that,
32    boolean compareType)
33    {
34  0 return alignmentAnnotation.getRnaStructure() == that.getRnaStructure()
35    ? true
36    : false;
37    }
38   
 
39  0 toggle public default void update(AlignmentAnnotation alignmentAnnotation) {};
40   
 
41  22 toggle public default boolean isValidStruc() {return false;};
42   
 
43  1596508 toggle public default long getInvalidStrucPos() { return -2; };
44   
 
45  6453 toggle public default boolean hasNaStruc() { return false; }
46   
47    }