Class SLOCCount
- java.lang.Object
-
- com.ensoftcorp.open.commons.utilities.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)
-
-
-
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
-
-