Class SLOCCount


  • public class SLOCCount
    extends java.lang.Object
    Counts source lines of code as logical lines of code, differentiating between blank lines, comments, and code Jimple is counted manually, assuming comments do no exist, and a non blank line is code All other language delagate line counting to the cloc tool: https://github.com/AlDanial/cloc
    Author:
    Ben Holland
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  SLOCCount.LinesOfCode  
    • Constructor Summary

      Constructors 
      Constructor Description
      SLOCCount()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static SLOCCount.LinesOfCode count​(com.ensoftcorp.atlas.core.db.graph.Node function)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SLOCCount

        public SLOCCount()
    • Method Detail

      • count

        public static SLOCCount.LinesOfCode count​(com.ensoftcorp.atlas.core.db.graph.Node function)
                                           throws java.io.IOException,
                                                  org.json.simple.parser.ParseException
        Throws:
        java.io.IOException
        org.json.simple.parser.ParseException