For fun, I computed the lines of code in XWiki Standard as of 2019-04-10 (using cloc after cloning to get a clean state). 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 6704 109252 303124 481648 894024
Language files blank comment code TOTAL LOC
-----------------------------------------------------------------------------
Java 6704 109252 303124 481648 894024
Some analysis:
- This counts the Java LOC but XWiki has a substantial lines in wiki pages (materialized as XML files on the file system). However the XML count also counts other types of XML files such as pom.xml files, so it's hard to get more precise information.
- We also have other type of sizeable code in addition to Java, especially for the client UI part: HTML & JavaScript.
Details:
- xwiki-commons:----------------------------------------------------------------------------------------
Language files blank comment code
----------------------------------------------------------------------------------------
Java 1422 20129 60791 86302
Maven 123 334 3020 7990
XML 107 319 1134 5324
DTD 2 434 468 1277
Velocity Template Language 2 96 4 435
XSD 1 37 20 280
Gradle 12 34 241 112
AspectJ 3 21 75 102
JSON 1 0 0 52
Markdown 1 8 0 22
diff 2 0 23 12
CSS 1 0 0 3
JavaScript 1 0 0 1
----------------------------------------------------------------------------------------
SUM: 1678 21412 65776 101912
---------------------------------------------------------------------------------------- - xwiki-rendering:-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
Java 706 9490 29729 45626
Maven 47 101 1053 2703
XML 43 73 808 1556
AspectJ 2 12 55 42
Markdown 1 7 0 21
HTML 1 3 19 9
-------------------------------------------------------------------------------
SUM: 800 9686 31664 49957
------------------------------------------------------------------------------- - xwiki-platform:----------------------------------------------------------------------------------------
Language files blank comment code
----------------------------------------------------------------------------------------
Java 4566 79482 212255 348970
XML 1178 13647 23303 216186
JavaScript 111 11150 30845 55610
Maven 582 1527 13326 33777
Velocity Template Language 245 879 326 21834
DTD 8 1753 2658 4960
CSS 54 477 247 4397
AspectJ 31 518 2361 2841
HTML 8 334 171 2635
LESS 42 399 326 2372
XSLT 5 236 285 1931
XSD 3 88 54 742
Bourne Shell 22 162 285 652
Clean 3 45 0 531
DOS Batch 3 45 136 102
Python 2 13 42 53
JSON 1 0 0 52
Markdown 1 7 0 24
SQL 1 0 0 13
Groovy 1 1 1 13
----------------------------------------------------------------------------------------
SUM: 6867 110763 286621 697695
---------------------------------------------------------------------------------------- - application-ckeditor:-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
JavaScript 36 404 1352 4900
XML 24 212 456 4758
Maven 8 16 243 797
CSS 2 23 19 184
Java 3 26 140 167
Markdown 1 13 0 32
-------------------------------------------------------------------------------
SUM: 74 694 2210 10838
------------------------------------------------------------------------------- - 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 128 209 2403
Maven 3 6 68 81
-------------------------------------------------------------------------------
SUM: 14 134 277 2484
------------------------------------------------------------------------------- - application-tour-ui:-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
XML 22 103 399 3131
Java 7 125 209 583
Maven 5 3 128 272
Bourne Shell 2 7 5 36
Markdown 1 10 0 32
-------------------------------------------------------------------------------
SUM: 37 248 741 4054
------------------------------------------------------------------------------- - application-help-center:-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
XML 39 227 741 5065
Maven 1 2 40 229
Markdown 1 2 0 12
-------------------------------------------------------------------------------
SUM: 41 231 781 5306
-------------------------------------------------------------------------------