Apr 10 2019

This blog post is not published yet.

For fun, I computed the lines of code in XWiki Standard as of 2019-04-10 (using cloc after cleaning all the target/ directories). Note: This is to be compared with the data provided by OpenHub for XWiki.

In term of total Java code, XWiki Standard has:

-----------------------------------------------------------------------------
Language     files          blank        comment           code     TOTAL LOC
-----------------------------------------------------------------------------
Java          6973         115237         306420         521728        943985

Details:

  • xwiki-commons:
    ----------------------------------------------------------------------------------------
    Language                              files          blank        comment           code
    ----------------------------------------------------------------------------------------
    Java                                   1476          20803          62191          90381
    XML                                     349            319           1159          11043
    Maven                                   123            334           3020           7990
    HTML                                     44              0              0           5069
    DTD                                       2            434            468           1277
    JSON                                     53              0              0           1108
    Gradle                                   64             89            259            533
    Velocity Template Language                2             96              4            435
    XSD                                       1             37             20            280
    CSS                                       3             49              0            217
    JavaScript                                2             45              1            149
    AspectJ                                   3             21             75            102
    Markdown                                  1              8              0             22
    diff                                      2              0             23             12
    ----------------------------------------------------------------------------------------
    SUM:                                   2125          22235          67220         118618
    ----------------------------------------------------------------------------------------
  • xwiki-rendering:
    -------------------------------------------------------------------------------
    Language                     files          blank        comment           code
    -------------------------------------------------------------------------------
    Java                           706           9490          29729          45626
    XML                            191             80            820           5141
    Maven                           49            107           1093           2816
    AspectJ                          2             12             55             42
    Markdown                         1              7              0             21
    HTML                             1              3             19              9
    -------------------------------------------------------------------------------
    SUM:                           950           9699          31716          53655
    -------------------------------------------------------------------------------
  • xwiki-platform:
    ----------------------------------------------------------------------------------------
    Language                              files          blank        comment           code
    ----------------------------------------------------------------------------------------
    Java                                   4781          84793         214151         384971
    XML                                    1569          14025          24975         253019
    Maven                                  1578          11463          33318         233736
    JavaScript                              206          11176          31018          55923
    Velocity Template Language              257            977            350          25657
    HTML                                    117            370         300524          10368
    LESS                                    113           1574           1868           7962
    DTD                                       8           1753           2658           4960
    CSS                                     109            477            257           4456
    AspectJ                                  31            518           2361           2841
    XSLT                                      5            236            285           1931
    Bourne Shell                             27            269            549           1226
    XSD                                       3             88             54            742
    Clean                                     3             45              0            531
    JSON                                      2              0              0            356
    DOS Batch                                 6            115            244            315
    Dockerfile                                3             36            144             62
    Python                                    2             13             42             53
    Bourne Again Shell                        2             14              4             30
    Markdown                                  1              7              0             24
    SQL                                       1              0              0             13
    Groovy                                    1              1              1             13
    ----------------------------------------------------------------------------------------
    SUM:                                   8825         127950         612803         989189
    ----------------------------------------------------------------------------------------
  • application-ckeditor:
    -------------------------------------------------------------------------------
    Language                     files          blank        comment           code
    -------------------------------------------------------------------------------
    XML                            415            212            456          10396
    JavaScript                      36            404           1352           4900
    Maven                            8             16            243            797
    CSS                              2             23             19            184
    Java                             3             26            140            167
    Markdown                         1             13              0             32
    -------------------------------------------------------------------------------
    SUM:                           465            694           2210          16476
    -------------------------------------------------------------------------------
  • application-templates-ui:
    -------------------------------------------------------------------------------
    Language                     files          blank        comment           code
    -------------------------------------------------------------------------------
    XML                             17            113            323           7367
    Maven                            2              4             44             65
    Markdown                         1              2              0             12
    -------------------------------------------------------------------------------
    SUM:                            20            119            367           7444
    -------------------------------------------------------------------------------
  • editor-tool-highlighting-ui:
    -------------------------------------------------------------------------------
    Language                     files          blank        comment           code
    -------------------------------------------------------------------------------
    XML                             11            129            209           2354
    Maven                            3              6             68             81
    -------------------------------------------------------------------------------
    SUM:                            14            135            277           2435
    -------------------------------------------------------------------------------
  • application-tour-ui:
    -------------------------------------------------------------------------------
    Language                     files          blank        comment           code
    -------------------------------------------------------------------------------
    XML                            385            103            399           8499
    Java                             7            125            209            583
    Maven                            5              3            128            272
    Bourne Shell                     2              7              5             36
    Markdown                         1             10              0             32
    -------------------------------------------------------------------------------
    SUM:                           400            248            741           9422
    -------------------------------------------------------------------------------
  • application-help-center:
    -------------------------------------------------------------------------------
    Language                     files          blank        comment           code
    -------------------------------------------------------------------------------
    XML                            389            304            817          10277
    Maven                            1              2             40            229
    Markdown                         1              2              0             12
    -------------------------------------------------------------------------------
    SUM:                           391            308            857          10518
    -------------------------------------------------------------------------------
Tags:
Created by Vincent Massol on 2019/04/10
    

Get Connected