java.lang.Object
com.github._1c_syntax.bsl.languageserver.context.MetricStorage

public class MetricStorage extends Object
  • Constructor Details

    • MetricStorage

      @ConstructorProperties({"procedures","functions","lines","ncloc","comments","statements","nclocData","covlocData","cognitiveComplexity","cyclomaticComplexity"}) public MetricStorage(int procedures, int functions, int lines, int ncloc, int comments, int statements, int[] nclocData, int[] covlocData, int cognitiveComplexity, int cyclomaticComplexity)
    • MetricStorage

      public MetricStorage()
  • Method Details

    • getProcedures

      public int getProcedures()
    • getFunctions

      public int getFunctions()
    • getLines

      public int getLines()
    • getNcloc

      public int getNcloc()
    • getComments

      public int getComments()
    • getStatements

      public int getStatements()
    • getNclocData

      public int[] getNclocData()
    • getCovlocData

      @Deprecated public int[] getCovlocData()
      Deprecated.
    • getCognitiveComplexity

      public int getCognitiveComplexity()
    • getCyclomaticComplexity

      public int getCyclomaticComplexity()
    • setProcedures

      public void setProcedures(int procedures)
    • setFunctions

      public void setFunctions(int functions)
    • setLines

      public void setLines(int lines)
    • setNcloc

      public void setNcloc(int ncloc)
    • setComments

      public void setComments(int comments)
    • setStatements

      public void setStatements(int statements)
    • setNclocData

      public void setNclocData(int[] nclocData)
    • setCovlocData

      @Deprecated public void setCovlocData(int[] covlocData)
      Deprecated.
    • setCognitiveComplexity

      public void setCognitiveComplexity(int cognitiveComplexity)
    • setCyclomaticComplexity

      public void setCyclomaticComplexity(int cyclomaticComplexity)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object