Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakarta.ee-spec.committee] Estimate on Size of Java EE 8 TCKs

Ed did a more sophisticated count and got a different number:

$ cloc-1.74_x86 javaeects-prod    
   32532 text files.
   29806 unique files.           
   10650 files ignored.

github.com/AlDanial/cloc v 1.74  T=793.00 s (34.7 files/s, 5020.8 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Java                         13080         290379         619197        1232257
XML                           7994          69636         102320         904453
HTML                           243          18075           3574         340892
Ant                           4252          43827          53490          88386
XSD                            142          15068           2634          67032
JSP                           1412          12668          20085          27923
SQL                             76           7641             41          16725
XHTML                          213           2204           2823           6016
DTD                             58           5845          19485           4998
XSLT                             9             76            112            890
Markdown                         2            130              0            732
Bourne Shell                    19             89            380            632
JSON                            11              0              0            361
CSS                             10             23            157             70
IDL                              2              5              0             68
Standard ML                      1              1              0             18
DOS Batch                        2              5             15             16
_javascript_                       3              5             48              3
-------------------------------------------------------------------------------
SUM:                         27529         465677         824361        2691472
-------------------------------------------------------------------------------

That's more like 4 million lines total.  Possibly my brute force method double counted somehow?

In both cases, this doesn't include the few TCKs that are in a separate repository from the CTS.  In any event, this gives you an idea of the size.


Bill Shannon wrote on 06/28/2018 02:51 PM:

The source code repository is over 250MB.

If I counted correctly, there are almost 9 million lines of Java code, including comments.  And of course there's lots of other kinds of files so I suspect 10 million is a fair estimate.  (10 million lines at ~25 characters per line is 250MB - sure, that sounds plausible.)


Richard Monson-Haefel wrote on 06/27/2018 04:50 PM:
Is there an estimate on the lines of code for the TCKs that I can share at a User Group meeting?  I want to accurately represent the size of the entire TCKs while encouraging people to contribute.  I suspect is hundreds of thousands.   If possible I need feedback on this for tomorrow night.


_______________________________________________
jakarta.ee-spec.committee mailing list
jakarta.ee-spec.committee@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jakarta.ee-spec.committee



_______________________________________________
jakarta.ee-spec.committee mailing list
jakarta.ee-spec.committee@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jakarta.ee-spec.committee


Back to the top