For fun, I computed the lines of code in XWiki Standard as of 2019-04-10:
- 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
- editor-tool-highlighting-ui
- application-tour-ui
- application-help-center