Skip to content

Code Statistics

Tom Clarke edited this page Jul 15, 2018 · 3 revisions

VisUAL (mainly Java)

--------------------------------------------------------------------------------
 Language             Files        Lines        Blank      Comment         Code
--------------------------------------------------------------------------------
 Java                    90        23021         1715         6697        14609
 Plain Text              10         1477          182            0         1295
 CSS                      9         1003          163            0          840
 XML                     12          936           84          100          752
 Python                   4          222           24           24          174
 Markdown                 1           12            6            0            6
--------------------------------------------------------------------------------
 Total                  126        26671         2174         6821        17676
--------------------------------------------------------------------------------

VisUAL2 v0.12. (mainly F#)

--------------------------------------------------------------------------------
 Language             Files        Lines        Blank      Comment         Code
--------------------------------------------------------------------------------
 Plain Text              13        14512         2322            0        12190
 F#                      25         5732         1028          789         3915
 CSS                      3         2695          473          332         1890
 Assembly                 1         1074            6            0         1068
 JavaScript               2          569           54          124          391
 HTML                     2          265           19           13          233
 Markdown                 3          276          126            0          150
 Batch                    2           57            6            0           51
 JSON                     1           45            0            0           45
 Bourne Shell             1            6            0            0            6
--------------------------------------------------------------------------------
 Total                   53        25231         4034         1258        19939
--------------------------------------------------------------------------------
  • The plain text is files of test data auto-generated by VisualRandomTestGen.
  • The assembly is a large sample!
  • The code lines of F# vs Java are a fair comparison and show nearly 4X more Java than F#. VisUAL has some extra functionality in the form of arrows and animations, whereas Visual2 has better GUI, stepping performance. So probably the F# should be viewed as 3X more compact than Java. This is only true when F# code is well-written!